When a host is set up to use stateless caching, the host uses a cached image if the Auto Deploy Server is not available. To use stateless caching, you must configure a host profile. You can apply that host profile to other hosts that you want to set up for stateless caching.
About this task
You can configure the host profile on a single host that you want to set up to use caching. You can also create a host profile that uses caching on a reference host and apply that host profile to other hosts.
Prepare your host for stateless caching. See Prepare for Auto Deploy with Stateless Caching.
- In the vSphere Web Client, create a host profile.
See the Host Profiles documentation.
- Select the host profile and click Edit Host Profile.
- Leave the name and description and click Next.
- Click Advanced Configuration Settings and click the System Image Cache Configuration folder.
- Click the System Image Cache Configuration icon.
- In the System Image Cache Profile Settings drop-down menu, make your selection.
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.
- If you selected Enable stateless caching on the host, specify information about the disk to use.
Arguments for first disk
By default, the system attempts to replace an existing ESXi installation, and then attempts to write to the local disk.
You can use the Arguments for first disk field to specify a comma-separated list of disks to use, in order of preference. You can specify more than one disk. Use esx for the first disk with ESX installed on it, use model and vendor information, or specify the name of the vmkernel device driver. For example, to have the system first look for a disk with the model name ST3120814A, second for any disk that uses the mptsas driver, and third for the local disk, specify ST3120814A,mptsas,local as the value of this field.
The first disk setting in the host profile specifies the search order for determining which disk to use for the cache. The search order is specified as a comma delimited list of values. The default setting esx,local specifies that Auto Deploy should first look for an existing cache disk. The cache disk is identified as a disk with an existing ESXi software image. If Auto Deploy cannot find an existing cache disk, it searches for an available local disk device. When searching for an available disk Auto Deploy uses the first empty disk that does not have an existing VMFS partition.
You can use the first disk argument only to specify the search order. You cannot explicitly specify a disk. For example, you cannot specify a specific LUN on a SAN.
Check to overwrite any VMFS volumes on the selected disk
If you click this check box, the system overwrites existing VMFS volumes if not enough space is available to store the image, image profile, and host profile.
- Click Finish to complete the host profile configuration.
- Apply the host profile with the vSphere Web Client or the vSphere PowerCLI.
vSphere Web Client
Use the host profiles interface of the vSphere Web Client. See the Host Profiles documentation.