How to do it...

  1. Log in to vCenter Server.
  2. Navigate to Home | Host Profiles.
  3. Select the host profile and click on Edit host profile.
  1. Expand Advanced Configuration Settings and navigate to System Image Cache Configuration as shown here:
  1. Select on Enable stateless caching on the host or Enable stateless caching to a USB disk on the host.
  2. 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, if the user indicates the specific disk make, model or driver used, the specific disk matching the preference is chosen for caching:
  1. For the option Check to overwrite any VMFS volumes on the selected disk, leave it unchecked. This would ensure that if there were any VMs on the local VMFS volume, they are retained.
  2. For the option Check to ignore any SSD devices connected to the host, leave it unchecked. You may need to enable this setting only if you have SSD for specific use cases for the local SSD, such as using vFlash Read Cache (vFRC).