WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] newbie questions: copying and cloning xen vm

On Fri, Aug 12, 2011 at 3:04 PM, Andrea Monti <ilsuonogiallo@xxxxxxxxx> wrote:
> Hi Diedo,
>
> thank you for your input.
> Unfortunatly xen-create-image is part of xen tools, so it is only available
> on Debian.
> I am using Xen 3.4 on Oracle VM, so I don't have xen-tools available :
> that's why I am looking for "native" xen tools to copy / clone / backup my
> vms.

"native" is somewhat tricky. The only common part in XenServer/XCP and
xen (the hypervisor used by linux distros) is basically just the
hypervisor. Even the userland tools can be different (xe vs xm/xl).

The hypervisor by itself doesn't really have anything to do with
"hot-clone" or "hot-backup". That functionality is implemented in:
- OS driver/additions (if any) id domU, that would ensure all data is
flushed to disk before the snapshot
- domU backing storage that is capable of doing snapshot/clone (e.g.
LVM, VHD image)

So the short version to your question, the closest thing to what you
want is to probably do a LVM-snapshot on dom0, use the snapshot data
to create a clone, then delete the snapshot afterwards. If your
backing storage is capable of creating "good" clones (e.g. zfs,
netapp) then you could use that directly.

-- 
Fajar

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