Enabling stateless caching
In continuation of the previous recipe, an administrator can control if the ESXi hosts boots from the auto deploy on every instance of reboot, or perform an installation through auto deploy and have subsequent reboots to load image from disks. The option to toggle between stateless and stateful is performed by amending the host profile setting. In this recipe, we shall walk through the steps to enable stateless caching.
How to do it...
- Log in to vCenter Server.
- Navigate to
Home
|Host Profiles
. - Select the host profile and click on
Edit host profile
.
- Expand
Advanced Configuration Settings
and navigate toSystem Image Cache Configuration
as shown here:

- Select on
Enable stateless caching on the host
orEnable stateless caching to a USB disk on the host
. - Provide inputs for
Arguments for first disk
or leave at default: this is the order of preference of disk on which the host would be used for caching. By default, it will detect and overwrite an existing ESXi installation...