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.
About this task
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.
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 Web Client that can connect to the vCenter Server system.
- In the vSphere Web Client navigator, browse to the host that you want to use as a reference host.
- Select the Manage tab and select Settings.
- Under System, select Advanced System Settings and click Edit.
- Scroll to VMkernel.Boot.autoPartition and select the Enabled check box.
- (Optional) If you want the local SSDs to remain unpartitioned, scroll to VMkernel.Boot.skipPartitioningSsds and select the Enabled check box.
- Click OK.
- If no host profile exists for your reference host, create a host profile.
Auto-partitioning is performed when the hosts boot.
What to do next
Use vSphere Auto Deploy to create a rule that applies the host profile of your reference host to all hosts immediately when they boot. To create a rule with the vSphere Web Client, see Create a Deploy Rule. For writing a rule in a PowerCLI session, see Write a Rule and Assign a Host Profile to Hosts.