Re: integrate yum with bittorrent.
Les Mikesell <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On 7/2/11 12:32 PM, Spacelee wrote:
> My situation:
> 1. more than 100 servers
> 2. just 1 repo server.
> 3. we need to update 100 server's software, and the network is just 1000mbps.
>
> Download the software from the repo server is really slow for 100 nodes, and
> with this limitation, we couldn't update softwares parallel, someone suggests me
> using bittorrent, but my question is how to integrate bittorrent with yum? so
> that I don't need to use a bittorrent client to download files first and then
> use yum localinstall? And just with the original command : yum install software
Why make them all download in parallel? That seems like one of those 'if it
hurts, don't do it' things. If you want the updates to all happen at the same
time you can install the yum-downloadonly plugin, and first cycle through them
running 'yum --downloadonly update' one or a few at at time. Then the 'yum
update' step can run concurrently on as many as you want and it won't have to
wait for the download operation to happen.
--
Les Mikesell
[email protected]