OpenVZ Forum

Home » General » Support » Kernel update and downtime?
Kernel update and downtime? [message #39232] Wed, 31 March 2010 13:14 Go to next message
jantman is currently offline  jantman
Messages: 3
Registered: March 2010
Location: NJ, USA
Junior Member

I'm in the process of evaluating OpenVZ vs Xen. I must say that I'm leaning towards Xen at this point, but I want to give OpenVZ a fair chance.

One thing I'm a bit unclear on... I know that (obviously) the CTs run the same kernel as CT0. Can I migrate a CT to a node with a different kernel?

How are kernel upgrades done on OpenVZ (without downtime)?

Re: Kernel update and downtime? [message #39233 is a reply to message #39232] Wed, 31 March 2010 13:27 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

You can live migrate the containers from a machine with the older kernel to a machine with the newer kernel, we maintain backward compatibility. In most cases you can also migrate from newer to older, but this is not guaranteed since sometimes (say few times a year) we change the dump file format and can not maintain forward compatibility. I haven't heard about a single case when this was an issue though.

So yes you can do kernel updates w/o stopping containers that way -- migrate all CTs to another box, update the kernel and migrate all CTs back. Another way is to use ksplice.

As for Xen vs OpenVZ, check out HP labs paper from 2007 comparing Xen and OpenVZ --

Kir Kolyshkin
Previous Topic: Help config VPSs in server i7
Next Topic: server restarting after syslod restart
Goto Forum:

Current Time: Thu Apr 25 02:19:44 GMT 2024

Total time taken to generate the page: 0.01465 seconds