title | excerpt | updated |
---|---|---|
Cloning a VM |
Learn how to clone an existing virtual machine in vSphere |
2020-11-18 |
Cloning a VM creates a copy of the source VM.
This guide explains how to clone a VM.
- a Managed Bare Metal infrastructure
- a user account with access to vSphere (created in the OVHcloud Control Panel)
- a VM in your cluster
In your vSphere interface, navigate to the Hosts and Clusters
tab of your Managed Bare Metal.
Right-click on the VM to be cloned and click on Clone
{.action}, then Clone to virtual machine...
{.action}.
Name this new VM and set its location in your tree.
Specify the cluster, host, vApp, or resource pool for this VM.
Set the storage location (disk space) for this VM.
The virtual disk type is on "Thin Provision", which means that a virtual disk will be created but will only use the actual disk space used on the storage, regardless of the disk space previously used on the source VM.
More information about disk types can be found in this guide{.external-link}.
You will be able to choose, via the VM Storage Policy
row, the default storage policy if you have datastores, or the VM encryption{.external-link} option.
This step allows you to set the network configuration to apply to this VM.
-
If you do not check anything, this will not change the network configuration of the new VM compared to the source.
-
Customize the virtual machine's hardware
{.action}: This option allows you to specify the new configurations you want to implement on this new VM.
Warning
If you did not customise the virtual machine, it is necessary to change the clone configuration before starting it, in order to avoid an IP/MAC conflict.
In this case, you simply need to uncheck the network adapter in the virtual machine settings once it has been cloned, just before starting it.
Join our community of users on https://community.ovh.com/en/.