[one-users] problem with getting Live Migration working
Shantanu Pavgi
pavgi at uab.edu
Mon Aug 20 09:59:22 PDT 2012
I had encountered a similar issue few days ago. It seems like CentOS 6.3 based libvirt prevents VM migration if disk cache is not none. So disk cache=none option may need to be added in domain definition/template for VM migration without unsafe mode.
--
Shantanu
On Aug 20, 2012, at 3:39 AM, C S Shyam Sundar wrote:
Hi Jamie,
The libvirt version is: libvirt-0.9.10-21.0.1.el6_3.3.x86_64.
The OS is: CentOS 6.3. Issue is reproducible in other EL variants like Oracle Linux 6.3.
ONe version is: 3.6.
Note: adding -l migrate=migrate_local fails with the same error quoted in this thread. Attached the working oned.conf.
Regards, Shyam.
On Fri, Aug 17, 2012 at 12:19 PM, Jaime Melis <jmelis at opennebula.org<mailto:jmelis at opennebula.org>> wrote:
Hello Shyam,
thanks a lot for the feedback and for letting us know it's working again. I think this must be an issue of the libvirt version, and that the default configuration supplied with OpenNebula is not working out of the box for this OS version.
We will make some tests and probably update the documentation.
By the way, would you mind sending us the libvirt version you're running.
Thanks again!
cheers,
Jaime
On Thu, Aug 16, 2012 at 9:41 PM, C S Shyam Sundar <csshyamsundar at gmail.com<mailto:csshyamsundar at gmail.com>> wrote:
Finally, got the live migration working.
The changes made:
>> Removed "-l migrate" from the parameters inside KVM's VM_MAD section of oned.conf.
>> Added the "--unsafe" parameter inside the migrate script inside ONE_HOME/remotes.
Tested and found working in EL variants like CentOS and Oracle Linux.
Regards, Shyam
On Sat, Aug 11, 2012 at 5:32 PM, C S Shyam Sundar <csshyamsundar at gmail.com<mailto:csshyamsundar at gmail.com>> wrote:
Hello,
I have a problem with getting Live Migration working. Cold Migration works.
The Hypervisor is KVM on CentOS 6.3. I have one master node and two VMHosts: oned, one1 and one2. The oned machine runs OpenNebula 3.6 on SQLite backend and sunstone. The same machine exposes /var/lib/one under NFS. one1 and one2 are hosts configured under oned and mounts /var/lib/one from NFS. The VMHosts, dummy network, filesystem are under the same cluster.
I have attached the oned.conf, log snippets from oned.log when a cold migration occurs and when live migration occurs. The error is - " MIGRATE FAILURE 5 Network action pre needs a ssh stream."
What was tried:
1) changed the options in kvm driver to -l migrate=migrate_local
2) changed LIBVIRT_URI=qemu+ssh:///system in kvmrc ( on both /var/tmp/one on vmhosts and /var/lib/one in the master node ).
I'm stuck here and any help is appreciated.
Regards, Shyam
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org<http://www.OpenNebula.org/> | jmelis at opennebula.org<mailto:jmelis at opennebula.org>
<oned.conf>_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120820/cf43d4a5/attachment-0002.htm>
More information about the Users
mailing list