----- Original Message ----- From: "Patrick Hsieh" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, November 14, 2002 6:40 PM Subject: how to upgrade dozens of debian servers
> Hello list, > > I have some debian servers and hav a pain when these is security upgrade > package available, for I have to check and upgrade them one by one, making > sure they are in safe status. > > I wonder how the administrator manage dozens or even hundreds of debian > servers in this case? Any tool or administration tips? In a cron job I use the following to alert me when new packages are available for my systems: # update Debian package list 0 2 * * * /usr/bin/apt-get -q update # This produces a report of updated Debian packages 30 10 * * * /usr/bin/apt-get -s dist-upgrade | /bin/grep Inst This sends me an email for each system, so I know what needs an upgrade. When updates are available, I test them on a development system then deploy the upgrade on my systems one by one. I only have a dozen systems, so this works fairly well. You could write possibly write a script that ssh's to each system in turn and runs apt-get dist-upgrade on each one, but you might have to use expect or something to respond appropriately to apt's dialogs. Sincerely, -- Kirk Ismay System Administrator

