Cloning a virtual machine creates a replica of the original virtual machine. The virtual hardware, installed software, and other attributes of the new virtual machine are equivalent to those of the original virtual machine.
Clone an Existing Virtual Machine – The virtual machine quiescence procedure may fail if significantly loaded applications, such as load generators, are running in the guest operating system during a clone operation, and VMware Tools may be denied CPU resources and time out. It is advised that virtual machines with low I/O disk operations be turned off.
Prerequisites of Clone an Existing Virtual Machine
Stop any load generators that are active in the virtual machine before performing the clone procedure.
To clone a virtual computer, you must have the following access permission:
Virtual machine. Provisioning – On the virtual computer you’re cloning, clone the virtual machine.
Virtual machine. Inventory – Create from a datacenter or virtual machine folder that already exists.
Virtual machine. Configuration – In the datacenter or virtual machine folder, add a new drive.
Resource – On the destination host, cluster, or resource pool, assign virtual machines to resource pools.
Datastore – Allocate space on the datastore or datastore folder that will be used as the destination.
Network – On the network to which the virtual machine will be assigned, assign a network.
Virtual machine. Provisioning – If you’re configuring the guest operating system, do so on the virtual machine or virtual machine folder.
Virtual machine. Provisioning – If you’re customizing the guest operating system, read the customization specifications on the root vCenter Server.
Procedure to Clone an Existing Virtual Machine
- Start the Clone Existing Virtual Machine wizard from the vCenter.
From a valid parent object of a virtual machine:
- Right-click any inventory object that is a valid parent object of a virtual machine, such as a data center, folder, cluster, resource pool, or host, and select New Virtual Machine.
- On the Select a creation type page, select Clone an existing virtual machine and click Next.
- On the Select a virtual machine page, select the virtual machine that you want to clone.
From a virtual machine: Right-click a virtual machine and select Clone > Clone to Virtual Machine.
- Enter a unique name for the new virtual machine and a deployment location on the Select a name and folder page.
The name of the files and folders on the disk is determined by the template name. The template files are named win8tmp.vmdk, win8tmp.nvram, and so on if the template is entitled win8tmp. The names of the files in the datastore do not change when you update the template name.
Folders are used to hold virtual machines and templates for various groups within an organization, and they can be assigned rights. You can place all virtual machines and templates in a datacenter and organize them differently if you desire a flatter hierarchy.
- Select the host, cluster, resource pool, or vApp where the virtual machine will operate on the Select a compute resource page, then click Next.
The results of the compatibility checks are displayed in the Compatibility pane.
- Select the datastore or datastore cluster where the template configuration files and all virtual disks will be stored on the Select storage page. Next should be selected.
- Select further customization choices for the new virtual machine on the Select deploy options page.
You can tweak the virtual machine hardware or the guest operating system. You have the option of turning on the virtual machine after it has been created.
- (Optional) Apply a customisation specification to the virtual machine on the Customize guest OS page.
Customizing the guest OS avoids conflicts that can arise when virtual machines are deployed with identical parameters, such as duplicate computer names.
Select an existing specification > Select a customization specification from the list.
Create a specification > Click the Create a new specification icon, and complete the steps in the wizard.
Create a specification from an existing specification >
a) Select a customization specification from the list.
b) Click the Create a spec from an existing spec icon, and complete the steps in the wizard.
7. (Optional) Configure the virtual machine hardware and options on the Customize hardware screen, then click Next.
You can leave the settings in place and later adjust the virtual machine’s hardware and options.
8. Review the virtual machine settings on the Ready to complete screen before clicking Finish.
The new virtual machine will appears in the inventory.
Read more about – Virtualizations