Specifications

CHAPTER 5 Preserving the State of a Virtual Machine
151
Note that any applications you were running at the time you suspended the
virtual machine are running and the content is the same as it was when you
suspended the virtual machine.
You can suspend and resume a virtual machine with the management interface. See
Changing a Virtual Machine’s Power State from the Management Interface on
page 120.
You can also set the configuration of each virtual machine so the file that stores
information on the suspended state is saved in a location of your choice.
Setting the Suspended State File Directory
Recall that when a virtual machine is suspended, its state is written to a file with a
.vmss extension. By default, the .vmss file is stored in the directory in which the
virtual machine’s configuration file (.vmx) resides. Similarly, when a virtual machine is
being resumed, GSX Server looks for the .vmss file in the same directory.
To change the directory where the suspended state file for a virtual machine is stored,
you must power off the virtual machine. You can specify this directory from the
console’s virtual machine settings editor or the VMware Management Interface.
Note: Changing the working directory also changes where you store the virtual
machines snapshot and redo log files.
Setting the Suspended State File Directory from the Console
1. Connect to the virtual machine with a console, make sure the virtual machine is
powered off, then choose Edit virtual machine settings.
2. On the Options tab, click General.
3. Under Working Directory, enter the name of a directory to use, or click Browse
to select a directory.
4. Click OK.