You can use a VM template from a content library to deploy a virtual machine to a host or a cluster in your vSphere inventory. You can also apply a customization specification to the virtual machine.

Procedure

  1. In the vSphere Client, select Home > Content Libraries.
  2. Select a content library and click the Templates tab.
  3. Right-click a VM Template and select New VM from This Template.

    The New Virtual Machine from Content Library wizard opens.

  4. On the Select name and location page, enter a name and select a location for the virtual machine.
  5. (Optional) : To apply a customization specification to your virtual machine, select the Customize the operating system check-box and click Next.
  6. On the Customize Guest OS page, select a customization specification or create a new one, and click Next.
  7. On the Select a resource page, select a host, a cluster, a resource pool, or a vApp where to run the deployed VM template, and click Next.
  8. On the Review details page, verify the template details and click Next.
  9. On the Select storage page, define where and how to store the files for the deployed OVF template.
    1. Select the disk format to store the virtual machine virtual disks.

      Format

      Description

      Thick Provisioned Lazy Zeroed

      Creates a virtual disk in a default thick format. Space required for the virtual disk is allocated when the virtual disk is created. Data remaining on the physical device is not erased during creation, but is zeroed out later, on demand, on first write from the virtual machine.

      Thick Provision Eager Zeroed

      A type of thick virtual disk that supports clustering features such as Fault tolerance. Space required for the virtual disk is allocated at creation time. In contrast to the flat format, the data remaining on the physical device is zeroed out when the virtual disk is created. It might take much longer to create disks in this format than to create other types o disks.

      Thin Provision

      Use this format to save storage space. For the thin disk, you provision as much datastore space as the disk requires based on the value that you enter for the disk size. However, the thin disk starts small and at first, uses only as much datastore space as the disk needs for its initial operations.

    2. Select a VM Storage Policy.

      This option is available only if storage policies are enabled on the destination resource.

    3. Enable the Show datastores from Storage DRS clusters check box to choose individual datastores from Storage DRS clusters for the initial placement of the virtual machine.
    4. Select a datastore to store the deployed OVF or OVA template.

      The configuration file and virtual disk files are stored on the datastore. Select a datastore large enough to accommodate the virtual machine or vApp and all associated virtual disk files.

  10. On the Select networks page, select a network for each network adapter in the template and click Next.
  11. On the Ready to complete page, review the page and click Finish.

Results

A new task for creating the virtual machine appears in the Recent Tasks pane. After the task is complete, the new virtual machine is created on the selected resource.