From mboxrd@z Thu Jan 1 00:00:00 1970 From: wei ma Subject: Re: [libvirt]issues with Migrating a domain??? Date: Tue, 23 Mar 2010 16:21:32 +0800 Message-ID: <25ac55991003230121j6469ea33v55f1e72b0487234a@mail.gmail.com> References: <25ac55991003222331ib9cebf4n36db678d850c97b1@mail.gmail.com> <20100323071930.GA1878@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1782190794==" Return-path: In-Reply-To: <20100323071930.GA1878@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1782190794== Content-Type: multipart/alternative; boundary=0016e649c3564d8bd60482738091 --0016e649c3564d8bd60482738091 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2010/3/23 Pasi K=E4rkk=E4inen > 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 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 libvi= rt > 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.:( > --0016e649c3564d8bd60482738091 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

2010/3/23 Pasi K=E4rkk=E4inen <pasik@iki.fi>
On Tue, Mar 23, 2010 at 02:31:41PM +0800, wei ma wrote:
> =A0 =A0Hi everyone.
> =A0 =A0i've been trying to migrate a domain from hostA to hostB.Wh= en i did it
> =A0 =A0with "xm" command,the domain could be migrated succes= sfully,But everytime
> =A0 =A0i did it with
> =A0 =A0"virsh --live migrate <Domain> xen+ssh://root@Destin= ation",
> =A0 =A0it failed and told me something like
> =A0 =A0"Error:Domain not found:xenUnifiedDomainLookupByName"= .

Did you try using an IP as the destination?

> =A0 =A0The same thing happened when i tried to do the same thing with = libvirt API
> =A0 =A0like virDomainMigrate & virDomainMigrateToURI.
> =A0 =A0i am confused about this.
> =A0 =A0So can anybody can tell me why?Thanks a lot.
> =A0 =A0BTW ,my OS is CentOS 5.4 and my hypervisor is xen3.1.2 which is= installed
> =A0 =A0with the OS.And the libvirt version is 0.7.7.
> =A0 =A0THANKS 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 issu= e before,so i guess maybe something is wrong with my configuretion.I've= reported that to redhat,but no one answers.:(

--0016e649c3564d8bd60482738091-- --===============1782190794== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1782190794==--