Host-local swap allows you to specify a datastore stored locally on the host as the swap file location. You can enable host-local swap for a DRS cluster.

Before you begin

Launch the vSphere Client and log in to a vCenter Server system.

Procedure

  1. In the vSphere Client, right-click the cluster in the inventory and select Edit Settings.
  2. In the left pane of the cluster Settings dialog box, click Swapfile Location.
  3. Select the Store the swapfile in the datastore specified by the host option and click OK.
  4. In the vSphere Client inventory, select one of the hosts in the cluster and click the Configuration tab.
  5. Under Software, select Virtual Machine Swapfile Location.
  6. Select the local datastore to use and click OK.
  7. Repeat 4 through 7 for each host in the cluster.

Results

Host-local swap is now enabled for the DRS cluster.