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.

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.

1

In the vSphere Web Client, create a host profile.

See the Host Profiles documentation.

2

Select the host profile and click Edit Host Profile.

3

Leave the name and description and click Next.

4

Click Advanced Configuration Settings and click the System Image Cache Configuration folder.

5

Click the System Image Cache Configuration icon.

6

In the System Image Cache Profile Settings drop-down menu, make your selection.

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.

7

If you selected Enable stateless caching on the host, specify information about the disk to use.

Option

Description

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.

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.

8

Click Finish to complete the host profile configuration.

9

Apply the host profile with the vSphere Client, the vSphere Web Client, or the vSphere PowerCLI.

Option

Description

vSphere Client or vSphere Web Client

Use the host profiles interface of the vSphere Client or the vSphere Web Client. See the Host Profiles documentation.

vSphere PowerCLI

See Assign a Host Profile to Hosts.