OpenVZ Forum


Home » General » Support » Upgrading OpenVZ Kernel - Possible ?
Re: Upgrading OpenVZ Kernel - Possible ? [message #5783 is a reply to message #5683] Wed, 30 August 2006 16:24 Go to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
You don't really have to "upgrade" the kernel... as you can have multiple OpenVZ kernels installed. Just install the kernel(s) you want and then edit your grub.conf to set the default kernel.

If you install the testing kernel, and want to install a newer stable kernel, you'll have to issue (if memory serves) the --force flag to rpm... as it gripes that you are trying to install an older version of the kernel than is already installed.

I usually keep the distro stock kernel, the latest stable openvz kernel, and the latest testing openvz kernel on my machines... and running openvz testing. I have noticed that if you want to use the migration features (and maybe other features only available in the testing kernels), you need to have the same kernels running on both ends... or at least that has been my experience.

As long as you don't remove the previous kernel... if you have a problem with a newer one, you can always revert back.

Since I also keep up with the latest stock kernel as released by the distro running on the physical host (CentOS), I do have to edit the grub.conf after every kernel install to make sure the desired OpenVZ kernel is default. If you forget, you might not be too happy upon next power recycle.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: virt_osrelease
Next Topic: CentOS 4.4: host and VPS upgrade [no problems]
Goto Forum:
  


Current Time: Mon Sep 16 20:48:53 GMT 2024

Total time taken to generate the page: 0.04792 seconds