Hello,<br>          i migrated the vm to the dsetination but when i remigrate to its original host is gives me.<br><br>[root@node0 ~]# virsh migrate try3 --live  qemu+ssh://<a href="http://100.100.102.106/system">100.100.102.106/system</a>  --unsafe<br>
<a href="mailto:root@100.100.102.106">root@100.100.102.106</a>'s password: <br>error: internal error hostname on destination resolved to localhost, but migration requires an FQDN.<br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 1:10 AM, Cole Robinson <span dir="ltr"><<a href="mailto:crobinso@redhat.com" target="_blank">crobinso@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 03/14/2013 03:17 AM, Digvijay wrote:<br>
> [root@node0 ~]# virsh migrate --live try1 qemu+ssh://<a href="http://root@100.100.102.106/system" target="_blank">root@100.100.102.106/system</a><br>
> --unsafe<br>
> <a href="mailto:root@100.100.102.106">root@100.100.102.106</a>'s password:<br>
> error: operation failed: migration job: unexpectedly failed<br>
> error: Reconnected to the hypervisor<br>
><br>
<br>
CC-ing libvirt-users<br>
<br>
I think that virsh command should work. Look at<br>
/var/log/libvirt/qemu/$vmname.log on both the source host and the destination<br>
host.<br>
<br>
><br>
> I tried to run the migration but it is not doing profitably.I also used virtual<br>
> machine manager but it is giving me " unsafe operation"<br>
><br>
> Unable to migrate guest: Unsafe migration: Migration may lead to data corruption<br>
> if disks use cache != none<br>
><br>
> Traceback (most recent call last):<br>
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper<br>
>     callback(asyncjob, *args, **kwargs)<br>
>   File "/usr/share/virt-manager/virtManager/migrate.py", line 553, in _async_migrate<br>
>     vm.migrate(dstconn, migrate_uri, rate, live, secure, meter=meter)<br>
>   File "/usr/share/virt-manager/virtManager/domain.py", line 1163, in migrate<br>
>     self._backend.migrate(destconn.vmm, flags, newname, interface, rate)<br>
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 822, in migrate<br>
>     if ret is None:raise libvirtError('virDomainMigrate() failed', dom=self)<br>
> libvirtError: Unsafe migration: Migration may lead to data corruption if disks<br>
> use cache != none<br>
<br>
Like the error says, your disks need to have cache=None or libvirt won't allow<br>
the migration. You can change that setting per disk in the VM details UI in<br>
virt-manager.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Cole<br>
</font></span></blockquote></div><br>