Skip to contentSkip to conversation

issues with Migrating a domain‏

libvirt wei ma 2 participants 4 messages Mar 23, 2010

lore
Share & tools
lore

wei ma

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Re: [libvirt]issues with Migrating a domain???

Quoted 7 lines · wei ma

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?

Quoted 7 lines

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

author
#2 lore raw

Re: [libvirt]issues with Migrating a domain???

2010/3/23 Pasi Kärkkäinen <[email protected]>

Quoted 22 lines · wei ma
Quoted 3 lines

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

Quoted 4 lines

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?

Quoted 1 line

The same thing happened when i tried to do the same thing with libvirt

API

Quoted 4 lines

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

Quoted 2 lines

with the OS.And the libvirt version is 0.7.7.
THANKS A LOT AGAIN.

Quoted 8 lines

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
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Re: [libvirt]issues with Migrating a domain???

Quoted 25 lines · wei ma

2010/3/23 Pasi Kärkkäinen <[1][email protected]>

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.

Quoted 7 lines

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