Minimize Downtime for Linux Updates

Submitted by jroos on Fri, 04/23/2010 - 17:33

Anyone who's ever run a production server knows that our users appear to never sleep. Just when you think it's late enough at night that no one will be working, you get a call asking why the server is down. One way to minimize downtime is to have all of the update packages downloaded prior to taking the server offline to run the update. Each family of Linux has its own package manager and method to download, but not install, updates. RedHat/CentOS family: # up2date -u -d Note: if you use yum it takes a little more work because you'll have to install a plugin first. Debian/Ubuntu family: # sudo apt-get update # sudo apt-get -d upgrade When it's time to actually install the packages you can just come back and run the normal update command and not waste half an hour just waiting for packages to download.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Use the special tag [adsense:format:slot] or [adsense:format:[group]:[channel][:slot]] or [adsense:block:location] to display Google AdSense ads.

More information about formatting options

Due to abuse by spam bots, you need to fill in the captcha below to proceed.
Drupal theme by Kiwi Themes.