[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] cloning domains


  • To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
  • From: "Arie Goldfeld" <arik.goldfeld@xxxxxxxxx>
  • Date: Thu, 14 Jun 2007 11:58:37 +0300
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 14 Jun 2007 01:56:45 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=T/ghLxhN4MkjcZ/cOTdSuBTU6FJG7qoalnCOwp//BR2Rl76A6gZ+6j3aEyS4IcL5x7sAXvn90zBc/0X7BDxo2S/k6de+M3NxmvUeAmdd/08yDv+Akrgk6vNkgjjtpfMKdeLgtF4DQFqFr4Cm0c3pfkjq5hdqMXqo/tIfrzIyVy0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

The guest domains I've created by the cloning process described by Daniel have a problem with network connection.
Does anybody have an idea what might be the problem? Please see the exerpt from xend.log:
 

[2007-06-14 09:25:00 10796] DEBUG (DevController:570) hotplugStatusCallback 1.

[2007-06-14 09:25:00 10796] DEBUG (DevController:148) Waiting for devices console.

[2007-06-14 09:25:00 10796] DEBUG (DevController:148) Waiting for devices pci.

[2007-06-14 09:25:00 10796] DEBUG (DevController:148) Waiting for devices ioports.

[2007-06-14 09:25:00 10796] DEBUG (DevController:148) Waiting for devices tap.

[2007-06-14 09:25:00 10796] DEBUG (DevController:153) Waiting for 51712.

[2007-06-14 09:25:00 10796] DEBUG (DevController:556) hotplugStatusCallback /local/domain/0/backend/tap/23/51712/hotplug-status.

[2007-06-14 09:25:00 10796] DEBUG (DevController:570) hotplugStatusCallback 1.

[2007-06-14 09:25:00 10796] DEBUG (DevController:148) Waiting for devices vtpm.



 
On 6/13/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
On Wed, Jun 13, 2007 at 10:17:24AM +0300, Arie Goldfeld wrote:
> Hello,
>
> I use FC7 with its built-in Xen 3.1.
> I am looking for a method of guest domain cloning. Specifically, my problem
> is with the domain UUID. With Xen 3.0 one could simply copy the domain
> config file and then edit it for the new domain settings, then copy the
> image file. But with Xen 3.1 a domain's config file is stored in
> /var/lib/xend/domains/<UUID>/config.sxp, and I am not sure how the UUID is
> generated...

Best bet at this time is to extract the guest config

  virsh dumpxml [guest name]  >  guest.xml

Edit the guest.xml to change the name, UUID, MAC address & point to a
copy of the filesystems, then load the config back into XenD

  virsh define guest.xml

In the next update of  python-virtinst in Fedora we are also adding a
command explicitly for cloning existing guests called 'virt-clone'
which will make this task much much easier :-)

Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=|

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.