Esxi:vmware vSphere Client cloning virtual machines

Source: Internet
Author: User
Tags scp command

The free VMware ESXi5.5 is very powerful, often encountering such problems using ESXi, I need to build multiple virtual machines, all windows2008 operating systems, one installation of the system is very troublesome.

VMware ESXi, VMware vCenter Server, and vsphere Client, respectively, are the Vsphere virtualization layer, management layer, and interface layer. The vsphere client client as the interface layer does not provide the ability to clone virtual machines, which is required to install Vcenter management ESXi. Nevertheless, we can do it manually.

Here is the procedure for cloning the virtual machine "windows2008":

1. Go to vsphere client and close the virtual machine that needs to be cloned windows2008

2. Select the ESXi server host, click on the "Configuration" tab on the right, select the memory, right-click on the memory name, and select "Browse Data Store"

650) this.width=650; "class=" Alignnone size-full wp-image-691 "alt=" vmvsphere01 "src=" http://www.zhixing123.cn/ Uploads/allimg/140626/1103112505-0.png "width=" "height=" 315 "style=" padding:0px;margin:0px;border:none; height:118px;width:757px; "/>

3, the new folder BSCRM118 (the name itself casually named), into the BSCMR117 (cloned System folder) folder, Copy the BSCRM-117.VMX and bscrm-117.vmdk two files to the folder BSCRM118, the copy process is also relatively fast, 50GB of disk, about less than 5 minutes.

650) this.width=650; "class=" Alignnone size-full wp-image-693 "alt=" VMvsphere02 "src=" http://www.zhixing123.cn/ Uploads/allimg/140626/1103114044-1.png "width=" 1132 "height=" 461 "style=" padding:0px;margin:0px;border:none; height:137px;width:678px; "/>

4, after the copy is complete, right-click on the bscrm-117.vmx file, select "Add to Manifest", pop-up prompt.

650) this.width=650; "class=" Alignnone size-full wp-image-695 "alt=" VMvsphere03 "src=" http://www.zhixing123.cn/ Uploads/allimg/140626/1103113x5-2.png "width=" 897 "height=" 362 "style=" padding:0px;margin:0px;border:none;height : 216px;width:674px; "/>

5. Enter the name of the virtual machine, such as bscrm118.

6. Back to vsphere client, right click on virtual machine selection-power-"power on, click Summary,

Ask if this virtual machine is mobile or copy, select "I coyied it", OK.

650) this.width=650; "class=" Alignnone size-full wp-image-696 "alt=" VMvsphere04 "src=" http://www.zhixing123.cn/ Uploads/allimg/140626/11031133l-3.png "width=" "height=" 401 "style=" Padding:0px;margin:0px;border:none;height : 217px;width:625px; "/>

7. Manual cloning is complete. The cloned virtual machine is identically configured with the source virtual machine environment, including the IP address, username password, etc., which need to be changed manually.

This is a clone operation under the same ESXi server, what if cloning is done between different ESXi servers? Then you need to copy the files to a different ESXi server. Search on the Internet, copy of the method has said to use mobile storage devices, there is said to use FTP, but I think the SCP command most convenient. Here's my migration process:

1, SSH to the ESXi server, the first need to find the source virtual machine files, the path is very strange, you can use Df-h to see the file system and space occupancy situation.

Locate the mount path with the file system named VMFS3, or use the space usage to determine if the path to the virtual machine file should be/VMFS/VOLUMES/4F4F4F94-9C9152CA-C226-842B2B1419F1

2. In this path to find BSCRM-117.VMX and bscrm-117.vmdk these two files, execute the SCP command to copy the file to the target server's corresponding directory, this process is long, I spent about 2 hours, of course, if it is a snapshot of the virtual machine also need to copy snapshot files,

3. Then execute "Add to Manifest" in vsphere client.


Esxi:vmware vSphere Client cloning virtual machines

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.