Xen Virtualization Real-Combat Series (iii) Xen virtual machine replication

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.