OpenVZ Forum


Home » General » Support » can't migrate openvz container live (live migration )
can't migrate openvz container live [message #51865] Sat, 31 January 2015 19:20 Go to next message
monasalah
Messages: 2
Registered: January 2015
Junior Member
i tried to do live migration for openvz container with debian 6.0.10 operating system hosted on ubuntu machine to another machine with the similar configuration .
tried to migrate container with running process (chat program client and server )but the migration failed due to the following error

do live migration with zero down time using this command :

vzmigrate --online <destination machine ip > <container id >

this error happened

Starting live migration of CT 102 to 192.168.1.110
Error: foreign process 701/3934(vzctl) inside CT (e.g. vzctl enter or vzctl exec).
Error: foreign process 702/3935(bash) inside CT (e.g. vzctl enter or vzctl exec).
Error: foreign process 707/3943(thread) inside CT (e.g. vzctl enter or vzctl exec).
Insufficient CPU capabilities: can't migrate
Error: Error: CPU capabilities check failed!
Error: Destination node CPU is not compatible
Error: Can't continue live migration


note :
1- i want to migrate container with process running,
2- live migration successfully when i terminated the running processes
Re: can't migrate openvz container live [message #51869 is a reply to message #51865] Mon, 02 February 2015 21:02 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
You are right that live migration is not supported if proccess have required CPU capabilities which is not supported on destination node.

And it can be not only vzctl enter or exec.
Re: can't migrate openvz container live [message #51878 is a reply to message #51869] Fri, 06 February 2015 22:48 Go to previous messageGo to next message
monasalah
Messages: 2
Registered: January 2015
Junior Member
thank you for your answer,
but the source and destination machines are identical. they have the same configuration and the same hardware Specifications.
Re: can't migrate openvz container live [message #51886 is a reply to message #51865] Thu, 12 February 2015 19:39 Go to previous message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
check if flags are the same in /proc/cpuinfo
Previous Topic: Kernel Panic in OpenVZ Booting Stage - CentOS boots fine
Next Topic: OpenVZ Web Panel + Multiple Servers
Goto Forum:
  


Current Time: Thu Apr 25 02:00:48 GMT 2024

Total time taken to generate the page: 0.01468 seconds