Luengffy XUE
2011-Oct-26 14:22 UTC
[libvirt-users] live migration without shared storage problems.
Hi, all I migrate a vm from source host to the destination host. I am sure every part is ok for migration. 1 Create the image in the destination and change the user and group. 2 Open TCP socket in the destination host. and I migrate in the source host command line. $ virsh migrate --live --copy-storage-all vmubuntu qemu+ssh://destinationHost/system --verbose But I get the error "error: operation failed : failed to retrieve chardev info inqemu with 'info chardev'" In the destination I find in the vmubuntu.log The error is "Migration failed. Exit code tcp:0.0.0.0:49170(-98),exiting." What can I do to solve it ? I do not understand how the error comes. Anyone can help me ? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111026/c5c5819d/attachment.htm>
vmnode guy
2011-Oct-26 15:29 UTC
[libvirt-users] live migration without shared storage problems.
Try this, i am not sure it will works.. $ virsh -c qemu+ssh://destinationHost/system migrate --live --copy-storage-all vmubuntu But it works for me for below option:- $ virsh -c qemu+ssh://destinationHost/system migrate list Regards, Peter On Wed, Oct 26, 2011 at 10:22 PM, Luengffy XUE <feiliangxue at gmail.com>wrote:> > Hi, all > > I migrate a vm from source host to the destination host. > > I am sure every part is ok for migration. > > > 1 Create the image in the destination and change the user and group. > > 2 Open TCP socket in the destination host. > > > and I migrate in the source host command line. > > But I get the error > > $ virsh migrate --live --copy-storage-all vmubuntu qemu+ssh://destinationHost/system --verbose > > "error: operation failed : failed to retrieve chardev info inqemu with 'info chardev'" > > In the destination I find in the vmubuntu.log > > The error is > > "Migration failed. Exit code tcp:0.0.0.0:49170(-98),exiting." > > > What can I do to solve it ? > > I do not understand how the error comes. > > Anyone can help me ? > > Thanks in advance. > > > > _______________________________________________ > libvirt-users mailing list > libvirt-users at redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111026/f32a3390/attachment.htm>
Osier Yang
2011-Oct-27 02:43 UTC
[libvirt-users] live migration without shared storage problems.
? 2011?10?26? 22:22, Luengffy XUE ??:> Hi, all > I migrate a vm from source host to the destination host. > I am sure every part is ok for migration. > 1 Create the image in the destination and change the user and group. > 2 Open TCP socket in the destination host. > and I migrate in the source host command line. > $ virsh migrate --live --copy-storage-all vmubuntu qemu+ssh://destinationHost/system --verbose > But I get the error > "error: operation failed : failed to retrieve chardev info inqemu with 'info chardev'"Looks like you even failed on starting the domain. Could you confirm if you guest is actually running well?> In the destination I find in the vmubuntu.log > The error is > "Migration failed. Exit code tcp:0.0.0.0:49170(-98),exiting." > > What can I do to solve it ? > I do not understand how the error comes. > Anyone can help me ? > Thanks in advance. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111027/138fa186/attachment.htm>