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
JaviZ
Messages: 1
Registered: March 2014
Location: Argentina
Junior Member
Hi,

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
vzctl-core-4.6.1-1
ovzkernel-2.6.18-348.16.1.el5.028stab108.1
vzctl-4.6.1-1
vzstats-0.5.3-1
vzquota-3.1-1
vzdump-1.2-4
06:28:36 root@s1[ovz] ~> uname -a
Linux s1.xxxx.com 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.
TIA!
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:
https://openvz.org/028_to_042_kernel_upgrade

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:
http://www.webhostingtalk.com/showthread.php?t=1344652

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 Apr 27 23:43:16 GMT 2024

Total time taken to generate the page: 0.03139 seconds