To add your stateless ESXi hosts to a cluster that you manage by an image, you must first convert the hosts to stateful hosts by installing a standard ESXi 7.0 image.

For information on stateless caching and stateful installs, see Using 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.

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. Select Enable stateful installs on the host from the drop-down menu, enter local in the Arguments for first disk text box, and select the Check to overwrite any VMFS volumes on the selected disk check box.
  5. If you duplicated an existing host profile and the host profile was attached to a cluster, attach the new host profile to the cluster.
  6. From the home menu, click Auto Deploy.
  7. Deactivate the Auto Deploy rule that contains an Image Profile, and click Edit.
    The Edit Deploy Rule dialog box appears.
  8. On the Select image profile page of the wizard, select an ESXi 7.0 image profile.
  9. On the Select host profile page of the wizard, select the new host profile.
  10. Activate the rule and move the rule to the rule's initial position in the ordered list.
  11. On the Deployed Hosts tab, select a single or multiple ESXi hosts.
  12. Click Remediate Host Associations for the ESXi host.
    You can monitor the progress of the remediation process in the Recent Tasks pane.
  13. Restart the ESXi hosts.
    If an ESXi host has a legacy BIOS, you can change the boot order in the BIOS setup to first to boot from the local storage. For UEFI-based ESXi hosts the boot order changes automatically during the reboot.
    Each ESXi host boots from the network and installs the ESXi 7.0 image that you specified earlier on the storage used previously for caching. After the installation, each ESXi host reboots again and boots from the local storage.

Results

The ESXi hosts boot by default from the new storage and operate as if the ESXi 7.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.