
Configuring and Running Virtual Machines
191
www.vmware.com
When you change the directory where the suspended state file for a virtual machine is
stored, the virtual machine must be powered off. Then follow these steps:
1. Log in to the VMware Management Interface, point to the terminal icon for the
virtual machine you want to change, then click Edit Configuration. Scroll to the
bottom of the page to the Misc. section and select the desired suspend location.
For fastest suspend and restore operations, select VMFS Volume and choose the
appropriate VMFS volume from the drop-down list. ESX Server automatically
adds a suffix to the name of the suspended state file to ensure that one virtual
machine does not overwrite the suspended state file of another.
If you want to save the suspend file in a different directory, specify the path in
the Other location entry field.
2. Click Save Changes.
Enabling Repeatable Resumes
When you suspend a virtual machine in the usual way, by clicking the suspend button
on the remote console or in the management interface, ESX Server writes a file with a
.vmss extension. This file contains the entire state of the virtual machine. When the
virtual machine is resumed, its state is restored from the .vmss file. The .vmss file is
then modified while the virtual machine is running. This means that, in normal
operation, the .vmss file cannot be used to resume a virtual machine again from the
original suspended state.
If you do want to be able to resume a virtual machine in the same state repeatedly —
for example, to have a hot-standby virtual machine in a particular state so it is ready to
take over for a failed server — take the following steps:
1. Shut down and power off the virtual machine.
2. Be sure all virtual disks used by the virtual machine are set to nonpersistent
mode.
On the main page of the VMware Management Interface, move the mouse
pointer above the terminal icon for the virtual machine you want to set for
repeatable resume mode. A context menu appears. Choose Edit Configuration
to go to the Configure VM page, where you can set the disk mode. You have
access to this page only when the virtual machine is powered off.
After making your changes, click Save Changes. ESX Server saves your changes
and takes you to the details page for the virtual machine.
Comentários a estes Manuais