To add diskless ESXi hosts to a cluster managed by an image, add physical storage, convert them to stateful hosts and install an ESXi 8.0 image.

For information on stateless caching and stateful installs, see Use vSphere Auto Deploy for Stateless Caching and Stateful Installs.

Prerequisites

  • Prepare your system and install the Auto Deploy Server. For more information, see Prepare Your System for vSphere Auto Deploy in the VMware ESXi Installation and Setup documentation.
  • The ESXi host is booting from an Auto Deploy rule that contains an Image Profile.
  • The Auto Deploy service is running.
  • You have an empty USB stick or other supported storage.

Procedure

  1. From the home menu, click Policies and Profiles, and select Host Profiles.
  2. Extract a host profile from a running ESXi host or duplicate an existing host profile with a specified configuration and a host location.
    The existing host profile can be attached either to a host or to a cluster.
  3. Right-click the new host profile, select Edit Host Profile, and browse to Advanced Configuration Settings > System Image Cache Configuration > System Image Cache Configuration.
  4. In the System Image Cache Profile Settings drop-down menu, choose a policy option.
    Option Description
    Enable stateless caching on the host Caches the image to disk.
    Enable stateless caching to a USB disk on the host Caches the image to a USB disk attached to the host.
  5. Depending on the policy option you select, you must do the following:
    1. If you select Enable stateless caching on the host:
      1. Enter arguments for the first disk, and select the check boxes if needed.
      2. In the System Disk Configuration drop-down menu, select User must explicitly choose the policy option.
    2. If you select Enable stateless caching to a USB disk on the host:
      1. In the System Disk Configuration drop-down menu, select System disk specified by user in host customization
      2. Under Hosts and Clusters, right-click the host and select Host Profiles > Edit Host Customizations. Define a disk with persistent storage in the Value field for the System disk property.
  6. Click Save to complete the host profile configuration.
  7. If you duplicated an existing host profile and the host profile was attached to a cluster, attach the new host profile to the cluster.
  8. From the home menu, click Auto Deploy.
  9. Deactivate the Auto Deploy rule that contains an Image Profile, and click Edit.
    The Edit Deploy Rule dialog box appears.
  10. On the Select image profile page of the wizard, select an ESXi 8.0 image profile.
  11. On the Select host profile page of the wizard, select the new host profile.
  12. Activate the rule and move the rule to the rule's initial position in the ordered list.
  13. On the Deployed Hosts tab, select a single or multiple ESXi hosts.
  14. Click Remediate Host Associations for the ESXi host.
    You can monitor the progress of the remediation process in the Recent Tasks pane.
  15. Shut down the remediated ESXi hosts.
  16. After the ESXi hosts are powered off, install the selected storage as local boot disks.
  17. Power on each ESXi host, enter the BIOS/UEFI setup, and change the boot order to boot first from the newly added storage and then from the network.
    Since the newly added storage is empty, each ESXi host boots from the network and installs the ESXi 8.0 image that you specified earlier on the storage. After the installation, each ESXi host reboots and boots from the newly added storage.

Results

The ESXi hosts boot by default from the new storage and operate as if the ESXi 8.0 image is installed from a standard DVD.

What to do next

Add the ESXi hosts to a cluster that you manage by a single image. For more information, see Add a Host from the vCenter Server and Host Management documentation.