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

[Xen-devel] Cloning(making copies) of VMs


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: sowmya dayanand <sowmyad@xxxxxxxxx>
  • Date: Mon, 7 Nov 2005 23:25:41 -0700
  • Delivery-date: Tue, 08 Nov 2005 06:26:30 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Efj/gjxrkdVK8lGKWCnx/nJN381LoP3YOCyZIRUrAox17DyygInMtQshffshYY/zEFufMhqo8lx0hLKv9zVltEKRxL98vc74R9Gsnt8/6DC5ZKWYgs8k5h6l4LKhpNN3eF07WbJr6M2iRPPNOufiQc6wHZIokwE600cvAZOid8o=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,
 
We are trying to clone VMs as follows:
 
(VM1 is a virtual machine, with ip addr 10.10.10.1, and we want to clone it as VM2, with ip addr 10.10.10.2) both running on the same physical machine.
 
1) Save VM1 as VM1_save (using xm save)
2) copy VM1_save to VM2_save
3) Change the vmid and the IP address info in the saved file to that of VM2  (Any other information to be changed ?)
4) Restore VM1_save and VM2_save (using xm restore)
 
This whole approach may be totally wrong.
 
Would appreciate if you could tell me if we can do cloning with this approach of saving and restoring files. We do realise that such an approach will involve a lot of overhead with respect to time but currently we just want an easy  way to clone VMs  without playing around the kernel code.
 
Thanks,
Sowmya.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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