|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
Re: [Xen-users] cloning domains 
| 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 | 
 |  | 
  
    |  |  |