Xen Project Q&A Forum: First Line Help for Simple Questions

This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.

Duplicate VMs with xen-create-image

posted in New Users
Monday, October 21 2013, 10:23 PM
Pablo
Pablo
Offline
0
Hi. I am really sorry for asking this, and I know this info is in the man page. However, I haven't been able to do it....

I have a VM running with its nice configuration file, its networking config, running on LVM with no swap. I want to create 200 machines like this one.

So my first though, was cloning 200 times the existing VM and automatize in some way this procedure. However, I haven't been able to do nothing. Not copying even one!!!!! :(

I know that xen-create-image comes with this option:

xen−create−image −−size=2Gb −−swap=128Mb −−dhcp \
−−lvm=myvolumegroup −−hostname=vm01.my.flat \
−−copy=/path/to/copy/from


So, if I have a current VM called client, and its lvm is within /vgpool/client how do I copy it??


Thank you. Help is really appreciated. I am really sorry for asking this.
Responses (0)
  • There are no replies here yet.
Your Reply