You can create a reference host to auto-partition all host you provision with vSphere Auto Deploy.

Caution: If you change the default auto-partitioning behavior, vSphere Auto Deploy overwrites existing partitions regardless of their content. If you turn on this option, ensure that no unintended data loss results.

To ensure that local SSDs remain unpartitioned during auto-partitioning, you must set the parameter skipPartitioningSsds=TRUE on the reference host.

For more information about preventing SSD formatting during auto-partitioning, see the vSphere Storage documentation.

Prerequisites

By default, vSphere Auto Deploy provisions hosts only if a partition is available on the host. The auto-partitioning option creates a VMFS datastore on your host's local storage. You can set up a reference host to auto-partition all hosts that you provision with vSphere Auto Deploy.
  • Provision the host that you want to use as your reference host with an ESXi image by using vSphere Auto Deploy.
  • Verify that you have access to avSphere Client that can connect to the vCenter Server system.

Procedure

  1. Navigate to Home > Hosts and Clusters, and select an ESXi host that you want to use as a reference host.
  2. Select the Configure tab.
  3. Under System, select Advanced System Settings and click Edit.
  4. Search for the VMkernel.Boot.autoPartition key and set the value to true.
  5. (Optional) If you want the local SSDs to remain unpartitioned, search for the VMkernel.Boot.skipPartitioningSsds key and set the value to true.
  6. Click OK.
  7. If no host profile exists for your reference host, create a host profile.

Results

Auto-partitioning is performed when the hosts boot.

What to do next