Hi everyone. i''ve been trying to migrate a domain from hostA to hostB.When i did it with "xm" command,the domain could be migrated successfully,But everytime i did it with "virsh --live migrate <Domain> xen+ssh://root@Destination", it failed and told me something like "Error:Domain not found:xenUnifiedDomainLookupByName". The same thing happened when i tried to do the same thing with libvirt API like virDomainMigrate & virDomainMigrateToURI. i am confused about this. So can anybody can tell me why?Thanks a lot. BTW ,my OS is CentOS 5.4 and my hypervisor is xen3.1.2 which is installed with the OS.And the libvirt version is 0.7.7. THANKS A LOT AGAIN. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Mar-23 07:19 UTC
Re: [Xen-devel] [libvirt]issues with Migrating a domain???
On Tue, Mar 23, 2010 at 02:31:41PM +0800, wei ma wrote:> Hi everyone. > i''ve been trying to migrate a domain from hostA to hostB.When i did it > with "xm" command,the domain could be migrated successfully,But everytime > i did it with > "virsh --live migrate <Domain> xen+ssh://root@Destination", > it failed and told me something like > "Error:Domain not found:xenUnifiedDomainLookupByName".Did you try using an IP as the destination?> The same thing happened when i tried to do the same thing with libvirt API > like virDomainMigrate & virDomainMigrateToURI. > i am confused about this. > So can anybody can tell me why?Thanks a lot. > BTW ,my OS is CentOS 5.4 and my hypervisor is xen3.1.2 which is installed > with the OS.And the libvirt version is 0.7.7. > THANKS A LOT AGAIN.I think you should report this to redhat bugzilla, if using an IP doesn''t fix it. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2010/3/23 Pasi Kärkkäinen <pasik@iki.fi>> On Tue, Mar 23, 2010 at 02:31:41PM +0800, wei ma wrote: > > Hi everyone. > > i''ve been trying to migrate a domain from hostA to hostB.When i did it > > with "xm" command,the domain could be migrated successfully,But > everytime > > i did it with > > "virsh --live migrate <Domain> xen+ssh://root@Destination", > > it failed and told me something like > > "Error:Domain not found:xenUnifiedDomainLookupByName". > > Did you try using an IP as the destination? > > > The same thing happened when i tried to do the same thing with libvirt > API > > like virDomainMigrate & virDomainMigrateToURI. > > i am confused about this. > > So can anybody can tell me why?Thanks a lot. > > BTW ,my OS is CentOS 5.4 and my hypervisor is xen3.1.2 which is > installed > > with the OS.And the libvirt version is 0.7.7. > > THANKS A LOT AGAIN. > > I think you should report this to redhat bugzilla, if using an IP doesn''t > fix it. > > -- Pasi > It doesn''t work with only IP address.It seems that nobody met this issue > before,so i guess maybe something is wrong with my configuretion.I''ve > reported that to redhat,but no one answers.:( >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Mar-23 09:12 UTC
Re: [Xen-devel] [libvirt]issues with Migrating a domain???
On Tue, Mar 23, 2010 at 04:21:32PM +0800, wei ma wrote:> 2010/3/23 Pasi Kärkkäinen <[1]pasik@iki.fi> > > On Tue, Mar 23, 2010 at 02:31:41PM +0800, wei ma wrote: > > Hi everyone. > > i''ve been trying to migrate a domain from hostA to hostB.When i did > it > > with "xm" command,the domain could be migrated successfully,But > everytime > > i did it with > > "virsh --live migrate <Domain> xen+ssh://root@Destination", > > it failed and told me something like > > "Error:Domain not found:xenUnifiedDomainLookupByName". > > Did you try using an IP as the destination? > > > The same thing happened when i tried to do the same thing with > libvirt API > > like virDomainMigrate & virDomainMigrateToURI. > > i am confused about this. > > So can anybody can tell me why?Thanks a lot. > > BTW ,my OS is CentOS 5.4 and my hypervisor is xen3.1.2 which is > installed > > with the OS.And the libvirt version is 0.7.7. > > THANKS A LOT AGAIN. > > I think you should report this to redhat bugzilla, if using an IP > doesn''t fix it. > -- Pasi > It doesn''t work with only IP address.It seems that nobody met this issue > before,so i guess maybe something is wrong with my configuretion.I''ve > reported that to redhat,but no one answers.:( >Did you check "xm log" from both dom0s? How about "xm dmesg"? Anything in them? Have you searched libvirt mailinglist archives? -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel