Running same VM several times at different guests

posted in General
Tuesday, December 10 2013, 10:35 PM
Pablo
Pablo
Offline
0
Hi. I want to have 250 guests running the same VM. Those are kind of clients. Then I have one server. So clients, as they do all the same, is just executing the same VM on different guests.

I have tried creating one VM, then creating snapshots of its disk, and creating more guest with the lvm snapshots. However, doesn't actually work ( I think it does work but really slowly performance).

Is there a nice way or -best-practice- for doing this??

Thanks!

Accepted Answer

Wednesday, December 11 2013, 03:07 PM - #permalink
1
More info:

If you happen to be using the libvirt toolkit, virt-clone looks like an option:

http://manpages.ubuntu.com/manpages/hardy/man1/virt-clone.1.html

And someone wrote up a basic HowTo for cloning Xen VMs here:

http://www.fclose.com/605/how-to-duplicate-xen-domu-virtual-machines/

Russ
The reply is currently minimized Show
Responses (2)
  • Accepted Answer

    Wednesday, December 11 2013, 02:53 PM - #permalink
    1
    Well, I see this post about a cloning script:

    https://www.suse.com/communities/conversations/cloning-xen-virtual-machines/

    That could be very useful. Let me see if there is a best practice for that situation.

    Russ
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 11 2013, 02:55 PM - #permalink
    1
    BTW, the xmclone.sh source is here:

    https://build.opensuse.org/package/view_file?file=xmclone.sh&package=xen&project=security%3AOpenTC%3A10.3
    The reply is currently minimized Show
Your Reply