OpenVZ Forum

Home » General » Support » Migration: HN CentOS 5.8 to CentOS 6.5
Migration: HN CentOS 5.8 to CentOS 6.5 [message #51201] Thu, 06 March 2014 22:12 Go to next message
Messages: 1
Registered: March 2014
Location: Argentina
Junior Member

I love OpenVZ! I've been using it for about 2 years (rock solid!). My HN is running CentOS 5.8 and I'd like to migrate it to a vswap kernel on CentOS 6.5. Is it possible? Should be safer to backup every container and start from a brand new install? (I know I can move containers (5.8 -> 6.5) without problems, I'm asking to update HN). I did a search on the forum but didn't find anything.

My host node details:
06:28:11 root@s1[ovz] ~> rpm -qa | grep vz
06:28:36 root@s1[ovz] ~> uname -a
Linux 2.6.18-348.16.1.el5.028stab108.1 #1 SMP Tue Aug 27 13:02:53 MSD 2013 x86_64 x86_64 x86_64 GNU/Linux

I would really appreciate any help.
Re: Migration: HN CentOS 5.8 to CentOS 6.5 [message #51210 is a reply to message #51201] Sun, 09 March 2014 12:53 Go to previous message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
It's possible and AFAIK, openvz devels are recommending the usage of RHEL 6 kernel on RHEL 5 systems (same goes for all RHEL 5 clones, CentOS, Scientific Linux, etc.).

Here is a wiki article about the switch:

Lack of forum threads about this can mean either (or both):
1) it's completely straightforward
2) not many forum users are doing it.

Some additional info can be found on WHT:

This WHT thread gives reasonable advice, although I find it a bit cautious. Well, depends on your sysadmin experience...

What I would recommend is to at least set up a simple test case and give it a quick try. A KVM / virtualbox / vmware VM will do, if you don't have free hardware.

If you can, please post back with any questions or advice you might have as you go along, so others can find it here.

Good luck!
Previous Topic: Commercial paid support required
Next Topic: Error 151
Goto Forum:

Current Time: Sat May 18 03:55:15 GMT 2024

Total time taken to generate the page: 0.01419 seconds