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.
About this task
For more information about host swap file settings, see the vCenter Server and Host Management documentation. For more information about cluster settings, see the Resource Management documentation.
- In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
- Click the Option tab and under Advanced, select Swapfile Location.
- Select an option.
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
Stores the virtual machine swap file in the swap file datastore defined by the host or cluster swap file settings.
- Click OK to save your changes.