OpenVZ Forum


Home » General » Support » *SOLVED* Live Migartion + kerenl Version
*SOLVED* Live Migartion + kerenl Version [message #6788] Fri, 22 September 2006 13:01 Go to next message
will_u_tellmemore is currently offline  will_u_tellmemore
Messages: 9
Registered: September 2006
Junior Member
Hi All,
Can anybody tell me which is the oldest and newest linux kernel version that OpenVZ supports for LIVE MIGRATION .
I ahve been trying few of them but there seems to be some problem with them .
Is thr any stable OpenVZ linux kernel version relased so far ?? Is that live migration stuff done completed and can be tested ??
Please dont take in the wrong way .. i just could not find stable release supporting this LM featue .. so before trying anything i wud like to make sure that feature is complete ...

Regards.
TellMeMore

[Updated on: Fri, 29 September 2006 07:13] by Moderator

Report message to a moderator

Re: Live Migartion + kerenl Version [message #6868 is a reply to message #6788] Tue, 26 September 2006 08:29 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
2.6.16 OpenVZ series supports migration since 2.6.16-026test009.1 version. However in later versions a lot of fixes for checkpointing (hence migration) exist. Thus it's always recommended to use the latest kernel.
2.6.8 OpenVZ series doesn't support migration.

Quote:

I have been trying few of them but there seems to be some problem with them.

What were exact problems? Smile If you have something like that on the screen:
Setup checkpoint...
Error: No checkpointing support, unable to open /proc/cpt: No such file or directory
Failed to suspend VPS

then read the answer on this post, please: http://forum.openvz.org/index.php?t=tree&goto=6786&# msg_6786

Quote:

Is that live migration stuff done completed and can be tested?


YES, It is completed and can bve tested! Smile

HTH,
vass.
Re: Live Migartion + kerenl Version [message #11497 is a reply to message #6868] Mon, 26 March 2007 03:55 Go to previous messageGo to next message
jonwatson is currently offline  jonwatson
Messages: 21
Registered: March 2007
Junior Member
This looks excellent, thanks so much for making this.

The man page is great.

I tried to back up a running VE with suspend and got this error:

vzdump --suspend --mailto my_munged@email.com 101

ERRORS during backup - backup FAILED!

starting backup for VPS 101 (/vz/private/101) Sun Mar 25 21:42:08 2007
starting first sync /vz/private/101 to /vz/dump/tmp622
suspend vps
Setting up checkpoint...
Error: No checkpointing support, unable to open /proc/cpt: No such file or directory
creating backup for  VPS 101 failed (2.13 minutes): command '/usr/sbin/vzctl chkpnt 101 --suspend' failed with exit code 16 at /usr/bin/vzdump line 107.


uname -a

2.6.15-025stab014.1


I saw the link to this post:

http://forum.openvz.org/index.php?t=tree&goto=6786&# msg_6786

But OpenVZ is definitely running properly right now as I have two VEs running.

Are there some prerequisites that I need?

Thanks!

Re: Live Migartion + kerenl Version [message #11513 is a reply to message #11497] Mon, 26 March 2007 09:12 Go to previous messageGo to next message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
Please check that modules vzcpt and vzrst are loaded.
You can check if modules are loaded with help of command "lsmod".

If they are not present, then load them:
modprobe vzcpt
modprobe vzrst


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Live Migartion + kerenl Version [message #11531 is a reply to message #11513] Mon, 26 March 2007 14:26 Go to previous messageGo to next message
jonwatson is currently offline  jonwatson
Messages: 21
Registered: March 2007
Junior Member
Andrey Mirkin wrote on Mon, 26 March 2007 04:12

Please check that modules vzcpt and vzrst are loaded.
You can check if modules are loaded with help of command "lsmod".

If they are not present, then load them:
modprobe vzcpt
modprobe vzrst



Aha...I missed that part in that link.

No, those modules are not loaded. Further, I don't appear to have them on my system:

Quote:

[root@doghouse1]# /sbin/modprobe vzctp
FATAL: Module vzctp not found.
[root@doghouse1]# /sbin/modprobe vzrst
FATAL: Module vzrst not found.
[root@doghouse1]#


Do you know where I would get these modules?

Thanks for your help!


[Updated on: Mon, 26 March 2007 14:27]

Report message to a moderator

Re: Live Migartion + kerenl Version [message #11533 is a reply to message #11531] Mon, 26 March 2007 14:50 Go to previous messageGo to next message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
Where did you get 2.6.15-025stab014.1 kernel???
We do not support 2.6.15 kernel series.
Please install latest 2.6.18 ovz kernel.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Live Migartion + kerenl Version [message #11534 is a reply to message #11533] Mon, 26 March 2007 14:57 Go to previous messageGo to next message
jonwatson is currently offline  jonwatson
Messages: 21
Registered: March 2007
Junior Member
Andrey Mirkin wrote on Mon, 26 March 2007 09:50

Where did you get 2.6.15-025stab014.1 kernel???
We do not support 2.6.15 kernel series.
Please install latest 2.6.18 ovz kernel.


Not really sure, but it was definitely off the OpenVZ site somewhere. This was my first attempt at playing with OpenVZ and I followed the installation instructions to the letter.

This is now a production box and I hesitate to upgrade. Will upgrading my kernel provide me with the modules I need for the suspend to work?

Edit: Actually, I don't see a 2.6.18 in stable (2.6.9) or testing (2.6.16). Where do you want me to get it from?

Edit Edit: Ah, I see a 2.6.18 in the RH releases. I am running FC5.

[Updated on: Mon, 26 March 2007 15:02]

Report message to a moderator

Re: Live Migartion + kerenl Version [message #11535 is a reply to message #11534] Mon, 26 March 2007 15:12 Go to previous messageGo to next message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
jonwatson wrote on Mon, 26 March 2007 09:57

This is now a production box and I hesitate to upgrade. Will upgrading my kernel provide me with the modules I need for the suspend to work?

2.6.18 rhel5 based kernel contains all needed modules for checkointing.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Live Migartion + kerenl Version [message #11537 is a reply to message #11535] Mon, 26 March 2007 15:17 Go to previous messageGo to next message
jonwatson is currently offline  jonwatson
Messages: 21
Registered: March 2007
Junior Member
Andrey Mirkin wrote on Mon, 26 March 2007 10:12

jonwatson wrote on Mon, 26 March 2007 09:57

This is now a production box and I hesitate to upgrade. Will upgrading my kernel provide me with the modules I need for the suspend to work?

2.6.18 rhel5 based kernel contains all needed modules for checkointing.


I edited my last post, you probably didn't see the part where I said I am running FC5. Is there any value in upgrading to the 2.6.16 FC5 kernel do you think? Will it contain the checkpointing modules?

Thanks for the help!
Re: Live Migartion + kerenl Version [message #11565 is a reply to message #11537] Tue, 27 March 2007 08:41 Go to previous messageGo to next message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
jonwatson wrote on Mon, 26 March 2007 10:17

I edited my last post, you probably didn't see the part where I said I am running FC5. Is there any value in upgrading to the 2.6.16 FC5 kernel do you think? Will it contain the checkpointing modules?

2.6.16 ovz kernel is no longer suported. It contains checkpointing modules, but this kernel is not stable as it was not updated for a long time.
So, I would suggest you to use more recent and stable 2.6.18 kernel.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Live Migartion + kerenl Version [message #11576 is a reply to message #11565] Tue, 27 March 2007 14:10 Go to previous messageGo to next message
jonwatson is currently offline  jonwatson
Messages: 21
Registered: March 2007
Junior Member
Andrey Mirkin wrote on Tue, 27 March 2007 03:41

jonwatson wrote on Mon, 26 March 2007 10:17

I edited my last post, you probably didn't see the part where I said I am running FC5. Is there any value in upgrading to the 2.6.16 FC5 kernel do you think? Will it contain the checkpointing modules?

2.6.16 ovz kernel is no longer suported. It contains checkpointing modules, but this kernel is not stable as it was not updated for a long time.
So, I would suggest you to use more recent and stable 2.6.18 kernel.


Hi,

OK,I uderstand that my kernel is no longer supported, however I don't see anything newer than 2.16 for FC. Are you suggesting I change distros entirely or do you know of a 2.18 FC kernel somewhere?

Thanks!
Re: Live Migartion + kerenl Version [message #11577 is a reply to message #11576] Tue, 27 March 2007 15:57 Go to previous messageGo to next message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
There are no 2.6.18 FC kernel.
We have only 2.6.18 rhel5 based and vanilla based kernels.
I would suggest you to try rhel5 based kernel first. It works good on my RHEL4 distro, so it should work well on your FC5 too.


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Live Migartion + kerenl Version [message #11578 is a reply to message #11577] Tue, 27 March 2007 16:04 Go to previous message
jonwatson is currently offline  jonwatson
Messages: 21
Registered: March 2007
Junior Member
Andrey Mirkin wrote on Tue, 27 March 2007 10:57

There are no 2.6.18 FC kernel.
We have only 2.6.18 rhel5 based and vanilla based kernels.
I would suggest you to try rhel5 based kernel first. It works good on my RHEL4 distro, so it should work well on your FC5 too.



Ok, thanks for the help. I appreciate it.

Jon
Previous Topic: Out of socket memory then crash
Next Topic: *SOLVED* Can't stop the VE
Goto Forum:
  


Current Time: Sun Aug 11 07:30:35 GMT 2024

Total time taken to generate the page: 0.02918 seconds