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.
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
- From the home menu, click Policies and Profiles, and select Host Profiles.
- 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.
- Right-click the new host profile, select Edit Host Profile, and browse to .
- 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. |
- Depending on the policy option you select, you must do the following:
- If you select Enable stateless caching on the host:
- Enter arguments for the first disk, and select the check boxes if needed.
- In the System Disk Configuration drop-down menu, select User must explicitly choose the policy option.
- If you select Enable stateless caching to a USB disk on the host:
- In the System Disk Configuration drop-down menu, select System disk specified by user in host customization
- Under Hosts and Clusters, right-click the host and select . Define a disk with persistent storage in the Value field for the System disk property.
- Click Save to complete the host profile configuration.
- If you duplicated an existing host profile and the host profile was attached to a cluster, attach the new host profile to the cluster.
- From the home menu, click Auto Deploy.
- Deactivate the Auto Deploy rule that contains an Image Profile, and click Edit.
The Edit Deploy Rule dialog box appears.
- On the Select image profile page of the wizard, select an ESXi 8.0 image profile.
- On the Select host profile page of the wizard, select the new host profile.
- Activate the rule and move the rule to the rule's initial position in the ordered list.
- On the Deployed Hosts tab, select a single or multiple ESXi hosts.
- Click Remediate Host Associations for the ESXi host.
You can monitor the progress of the remediation process in the Recent Tasks pane.
- Shut down the remediated ESXi hosts.
- After the ESXi hosts are powered off, install the selected storage as local boot disks.
- 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.