Hi folks, I have a production server that's currently running 5.0 with all updates. What's the easiest, or perhaps best way to upgrade it to 5.1, with minimal down time? The downtime is critical, so I need to have it be a short as possible. I can live with an hour or two, but larger is going to be a pain. Suggestions? -- W | It's not a bug - it's an undocumented feature. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / Websmith . 800.441.3873 x130 Photo Craft Imaging . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
On Wed, Mar 5, 2008 at 11:58 AM, Ashley M. Kirchner <ashley at pcraft.com> wrote:> I have a production server that's currently running 5.0 with all > updates. What's the easiest, or perhaps best way to upgrade it to 5.1, > with minimal down time? The downtime is critical, so I need to have it > be a short as possible. I can live with an hour or two, but larger is > going to be a pain.If you've been running yum update, you're already at 5.1. You may just need to reboot to load the new kernel. If you're unsure if you actually are running centos 5.1, run 'rpm -q centos-release' and you should see 5.1.0- in the release string. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
On Wed, Mar 05, 2008 at 09:58:27AM -0700, Ashley M. Kirchner enlightened us:> Hi folks, > > I have a production server that's currently running 5.0 with all > updates. What's the easiest, or perhaps best way to upgrade it to 5.1, > with minimal down time? The downtime is critical, so I need to have it > be a short as possible. I can live with an hour or two, but larger is > going to be a pain. > > Suggestions?5.0 with all updates is equal to 5.1 with all updates. So probably all you have to do is reboot to the latest kernel. Unless you've changed the default yum repo files to stay at 5.0 for some reason, you should already be at 5.1. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
Yum upgrade.... john Ashley M. Kirchner wrote:> > Hi folks, > > I have a production server that's currently running 5.0 with all > updates. What's the easiest, or perhaps best way to upgrade it to > 5.1, with minimal down time? The downtime is critical, so I need to > have it be a short as possible. I can live with an hour or two, but > larger is going to be a pain. > > Suggestions? >
Ashley M. Kirchner wrote:> > Hi folks, > > I have a production server that's currently running 5.0 with all > updates. What's the easiest, or perhaps best way to upgrade it to 5.1, > with minimal down time? The downtime is critical, so I need to have it > be a short as possible. I can live with an hour or two, but larger is > going to be a pain. > > Suggestions?As others have mentioned, you are probably already there, but I'd do: yum install yum-downloadonly yum -y --downloadonly update to pull in anything new but not install it. You can repeat the 2nd command if it doesn't complete or if some time passes before you get around to doing the yum install which will go quickly with all the packages already downloaded. You really only have downtime if you need to reboot and you only need to reboot if you pick up a new kernel in the update. -- Les Mikesell lesmikesell at gmail.com