6.5.1

Table Of Contents
Seing an alternative swaple location might cause migrations with vMotion to complete more slowly. For
best vMotion performance, store the virtual machine on a local datastore rather than in the same directory as
the virtual machine swaples. If the virtual machine is stored on a local datastore, storing the swaple with
the other virtual machine les will not improve vMotion.
Prerequisites
Required privilege: Host machine..Storage partition 
Procedure
1 Browse to the host in the vSphere Web Client navigator.
2 Click .
3 Under Virtual Machines, click Swap  location.
The selected swaple location is displayed. If conguration of the swaple location is not supported on
the selected host, the tab indicates that the feature is not supported.
If the host is part of a cluster, and the cluster seings specify that swaples are to be stored in the same
directory as the virtual machine, you cannot edit the swaple location from the host under .
To change the swaple location for such a host, edit the cluster seings.
4 Click Edit.
5 Select where to store the swaple.
Option Description
Virtual machine directory
Stores the swaple in the same directory as the virtual machine
conguration le.
Use a specific datastore
Stores the swaple in the location you specify.
If the swaple cannot be stored on the datastore that the host species, the
swaple is stored in the same folder as the virtual machine.
6 (Optional) If you select Use a  datastore, select a datastore from the list.
7 Click OK.
The virtual machine swaple is stored in the location you selected.
Configure a Virtual Machine Swap File Location for a Cluster
By default, swap les for a virtual machine are on a datastore in the folder that contains the other virtual
machine les. However, you can instead congure the hosts in your cluster to place virtual machine swap
les on an alternative datastore of your choice.
You can congure an alternative swap le location to place virtual machine swap les on either lower-cost
or higher-performance storage, depending on your needs.
Prerequisites
Before you congure a virtual machine swap le location for a cluster, you must congure the virtual
machine swap le locations for the hosts in the cluster as described in “Congure Virtual Machine Swaple
Properties for the Host,” on page 38.
Procedure
1 Browse to the cluster in the vSphere Web Client.
2 Click .
3 Select  > General.
Chapter 6 Administering Memory Resources
VMware, Inc. 39