Virtual machine copy (clone) in ESXi 6.0 _vmware

Source: Internet
Author: User

Situation One:
With a configured virtual machine, you want to clone multiple virtual machines for fuzzy testing by cloning, but Vsphere Client 6.0 does not provide a clone virtual machine feature (it may be available to the toll edition).

Workaround: (deploy via OVF template) Select the virtual machine "file" that needs to be cloned in VMware vsphere client--"export"--"export OVF template", create a new virtual machine by making a template "file"--"Deploying OVF Templates"--for virtual machines that need to be cloned.

I also saw the command line mode from the Internet and didn't try.

Case two: 500G hard drive to replicate a few virtual machines will prompt space shortage

* * Reason: **vmware csphere (ESXi) virtual hard disk has three formats, select the thick provisioning delay set 0 (Tinck provision lazy), each zeroed a basic is full. Thick Provisioning Delay 0 (Tinck provision lazy zeroed)
Create a virtual disk in the default thick format. Allocate the required space for the virtual disk during the creation process. Any data that remains on the physical device is not erased at creation time, but will be set to zero as needed in the future when the write operation is first performed from the virtual machine. Thick provisioning 0 (tick provision eager zeroed)
Create a thick disk that supports clustering functions, such as Fault tolerance. Allocate the required space for the virtual disk when you create it. In contrast to the thick provisioning delay of setting the 0 format, the data retained on the physical device is set to zero during the creation process. The amount of time it takes to create a disk in this format may be longer than creating other types of disks. Thin provision uses a streamlined provisioning format. Initially, a thin provisioning disk uses only the data storage space that the disk initially requires. If you later need more space for a thin disk, it can grow to the maximum capacity allocated to it.

Example:
The vmdk relationship between thin disk and thick disk is illustrated by a comparatively simple example.

Suppose you add a virtual machine that is set to 400G on the virtual hard drive. Where 100G is already in use, and the remaining 300G is unused space.

Thin provision format VMDK size is 100G, leaving unused 300G and so on when necessary only to make the first use.

Thick provision Lazy zeroed format vmdk size 400G, the remaining unused 300G, and so on when necessary to make use of the first.

The thick provision Eager zeroed format VMDK size is 400G and the remaining unused 300G is initialized for direct use.

Reference links: Cloning of VMware ESXi 5 virtual machines (command-line replication) cloning VMware ESXi Virtual machine 25 practical VMware ESXi command VMware vsphere (ESXi) virtual hard disk three format introduction

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.