.
ctys-cloning-vms - Cloning of VMs
This document describes the automated change and configuration mainly provided by
ctys-createConfVM(1).
ctys-cloneVM(1)
is used for the creation of cloned VMs.
The first step is the creation of a source VM. Which could be automated by
ctys-createConfVM(1).
This tool is used for
ctys-cloneVM(1)
too in order to set new unique values for a cloned VM.
Once this step is completed, any VM could be used as a template for the creation of additinal VMs. Therefore the virtual disk and the machine configuration data are seperated, thus the majority of the number of the machine parameters could be altered by either using configuration utilities or by an ordinary ASC-II editor.
The configuration could be proceeded in two basic variants:
Therefore the following call could be executed.
ctys-cloneVM \ -t xen \ --label=tst02clone \ --label-old=tst02 \ --directory=/mntn/vmpool/vmpool05/xen/test/tst-ctys-call \ --ip=14.14.14.14 \ --mac=44:44:44:44:44:44 \ --tcp=abc \ --uuid=123412341234 \ --vm-state=DISABLED \ -f
This creates a complete clone, which just requires additional native configuration within the GuestOS.
MAC=00:11:22:33:44:55 \ IP=12.12.12.12 \ TCP=gecko \ HDDBOOTIMAGE_INST_SIZE=128M \ HDDBOOTIMAGE_INST_BLOCKSIZE=32M \ HDDBOOTIMAGE_INST_BLOCKCOUNT=4 \ ctys-createConfVM \ -t XEN \ --label=tst02 \ --auto-all \ --create-image
MAC=00:11:22:33:44:55 \ ctys-createConfVM \ -t XEN \ --label=tst02 \ --defaults-file-create \ --auto-all \ --no-create-image \ --no-save-para-kernel
ctys-cloneVM \ -t xen \ --label=tst02clone \ --label-old=tst02 \ --directory=/mntn/vmpool/vmpool05/xen/test/tst-ctys-call \ --ip=14.14.14.14 \ --mac=44:44:44:44:44:44 \ --tcp=abc \ --uuid=123412341234 \ --vm-state=DISABLED \ -f
ctys-attribute --list tst02clone.conf
ctys-attribute --list tst02clone.ctys
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=ALL \ --attribute-value-new="'/nboot1'" \ tst02clone.conf
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=ALL \ --attribute-value-new="'/nboot1'" \ --attribute-value-old="'/boot'" \ tst02clone.conf
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=FIRST \ --attribute-value-new="'/nboot1'" \ --attribute-value-old="'/boot'" \ tst02clone.conf
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=FIRST \ --attribute-value-new="'/nboot1'" \ --attribute-value-old="'/boot'" \ tst02clone.conf
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=FIRST \ --attribute-value-new="'/nboot1'" \ --attribute-value-old="'/boot'" \ tst02clone.conf
ctys-attribute \ --attribute-name='WRAPPERCALL' \ --attribute-replace=ALL \ --attribute-value-new="'123'" \ tst02clone.ctys
ctys-attribute \ --attribute-create=TOP \ --attribute-name='NEWATTR' \ --attribute-value-new="'123'" \ tst02clone.ctys
ctys-attribute \ --attribute-create=BOTTOM \ --attribute-name='NEWATTR' \ --attribute-value-new="'123'" \ tst02clone.ctys
ctys-attribute \ --attribute-create=15 \ --attribute-name='NEWATTR' \ --attribute-value-new="'123'" \ tst02clone.ctys
ctys-attribute \ --attribute-delete \ --attribute-name='NEWATTR' \ tst02clone.ctysor
ctys-attribute \ --attribute-delete=1 \ --attribute-name='NEWATTR' \ tst02clone.ctys
ctys-attribute \ --attribute-delete=ALL \ --attribute-name='NEWATTR' \ tst02clone.ctys
ffs.
ffs.
ffs.
UserManual
,
CommandReference
,
HowTo
ctys-attribute(1) , ctys-cloneVM(1) , ctys-createConfVM(1) , ctys-convertVM(1)
Written and maintained by Arno-Can Uestuensoez:
Maintenance: | <<acue_sf1 (a) users sourceforge net>> |
Homepage: | <https://arnocan.wordpress.com> |
Sourceforge.net: | <http://sourceforge.net/projects/ctys> |
Project moved from Berlios.de to OSDN.net: | <https://osdn.net/projects/ctys> |
Commercial: | <https://arnocan.wordpress.com> |
Copyright (C) 2008, 2009, 2010, 2011 Ingenieurbuero Arno-Can Uestuensoez
For BASE package following licenses apply,
This document is part of the DOC package,
For additional information refer to enclosed Releasenotes and License files.