When a virtual machine is powered on, the system creates a VMkernel swap file to serve as a backing store for the virtual machine's RAM contents. You can accept the default swap file location or save the file to a different location. By default, the swap file is stored in the same location as the virtual machine's configuration file.

1

Select a virtual machine.

In the virtual machines and templates inventory tree, select a group of virtual machines and select a virtual machine from the list on the right.

Search for a virtual machine and select it from the search results list.

2

In the VM Hardware panel, click Edit Settings.

3

Click VM Options.

4

Click the Advanced triangle to expand the advanced options.

5

Select an option.

Option

Description

Default

Stores the virtual machine swap file at the default location defined by the host or cluster swap file settings.

Always store with the virtual machine

Stores the virtual machine swap file in the same folder as the virtual machine configuration file.

Store in the host's swapfile datastore

If the host or cluster settings define a location for the swap file, this location is used. Otherwise, the swap file is stored with the virtual machine.

6

Click OK.