1. View a configuration file for an existing virtual machine
1 The location of the virtual machine configuration file/etc/xen/test01
2 Virtual machine configuration file
# cat/etc/xen/test01
2. Copy Xen virtual machine disk files
# cp/data/test01.img/data/test02.img
3. Copy and modify the new virtual machine configuration file
# cd/etc/xen/
# CP test01 test02
# VI test02
# Modification Instructions:
(1) Name modified to new virtual machine names
(2) UUID changes the last few data
(3) Change disk to actual path.
(4) Vif modify the MAC address of the NIC to change the last few data
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/virtualization/
4. Start a new virtual machine and modify the host name, IP address
(1) Start the virtual machine
You can see that the test02 virtual machine has started.