To add your stateless ESXi hosts to a cluster that you manage by an image, first you must convert the hosts to stateful hosts by repartitioning their remote VMFS partitions and installing a standard ESXi 7.0 image. For example, your ESXi host can boot from Fibre Channel SAN or from iSCSI SAN.

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

For more information on booting from a remote disk, see the Booting from iSCSI SAN in the vSphere Storage documentation.

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 remoteesx,remote or sortedremoteesx,sortedremote in the Arguments for first disk text 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.
    Each ESXi host boots from the network, repartitions the VMFS partition to a standard ESXi installation partition, and installs the ESXi 7.0 image that you specified earlier on the partition. After the installation, each ESXi host reboots again and boots from the remote standard ESXi partition.

Results

The ESXi hosts boot by default from the new partition 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.