Ross S. W. Walker schrieb: > Manuel Wolfshant wrote: >> Götz Reinicke wrote: >>> Hi, >>> >>> what would be the shortest and fastest way to clone a e.g. basic >>> Centos 5 guest for further use? For example I'd like to set up a >>> master Mysql-server as a guest an than "clone" two additional slaves. >> I have a lvm "template", i.e. a simple volume with the OS >> skeleton ( a >> minimal install). When I need a new VM I do >> - lvcreate newvolume >> - mkfs newvolume >> - mount template /mnt/source >> - mount newvolume /mnt/destination >> - cp -a /mnt/source /mnt/destination >> >> wash, rinse, repeat as needed. >> >>> Which xen configfiles may be edited? >> cp /etc/xen/template /etc/xen/newVM >> vim /etc/xen/newVM >> >> >>> Can the config and the filesystem simply be copied? >> yes. > > There is another approach too. You can set up your guests > as virtual diskless servers which can net boot their > configuration from dom0. Maybe iSCSI or blktap their > root drives and overlay a configuration over / or /etc > from NFS on dom0, or their whole configuration. > > You can definitely mash-up some good ideas with LTSP > and Xen. > > I wish Xen had a virtual 10Gbe interface, then you can > really do some nifty stuff! > > I personnally setup KDM or GDM in each domU to do XDMCP > broadcast then I can pick which virtual guest to log into > once it is up and running and with KDM/GDM user switching > I open another session, pick a guest and get a full > graphical login. That sounds realy cool; do you have any wiki or how to set this things up. (I know that there are a lot of how tos, but they seem to handle mostly special aspects ... ) regards Götz -- Götz Reinicke IT Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-Württemberg GmbH Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Dr. Christoph Palmer, MdL, Minister a.D. Geschäftsführer: Prof. Thomas Schadt