VMware

VMware ESX Server 2.0

Features | Documentation | Knowledge Base | Discussion Forums

previous Prev   Contents   Last   Next next

Special Power Options for Virtual Machines

Special Power Options for Virtual Machines

When VMware Tools is running, you can run scripts when you change the power state of a virtual machine; that is, when you power on, power off, suspend or resume the virtual machine. For more information, see Executing Scripts When the Virtual Machine's Power State Changes.

When you reset a virtual machine, you can choose to restart the guest operating system, which gracefully closes applications and restarts the guest operating system, or reset the virtual machine, which is the same as pressing the reset button on a physical computer.

Similarly, when you power off the virtual machine, you can choose to shut down the guest operating system, which gracefully closes applications and shuts the guest operating system down, or turn off the virtual machine, which is the same as pressing the power button on a physical computer.

All the power options are available on the Power menu. Each menu item corresponds to a button on the toolbar, and opens a submenu containing the associated options. The menu items may not be available, depending upon the current power state of the virtual machine. For example, if the virtual machine is powered off, you cannot select any power off, suspend, resume or reset options.

From a remote console, you can choose from the following options when powering on a virtual machine:

  • Power On Virtual Machine — powers on the virtual machine in the remote console. This is the same as clicking the Power On button on the toolbar.
  • Power On Then Run Script — powers on the virtual machine in a remote console, then executes the associated script.
Options for Powering Off a Virtual Machine

Options for Powering Off a Virtual Machine

You can choose from the following options when powering off a virtual machine:

  • Power Off Virtual Machine — powers off the virtual machine. This is similar to turning off a physical computer by pressing its power button, so any programs running in the virtual machine may be adversely affected. Clicking the Power Off button on the toolbar powers off the virtual machine.
  • Shut Down Guest Operating System — gracefully shuts the guest operating system down and, if the guest operating system supports Advanced Power Management, powers off the virtual machine. If there is a script associated with this power operation, it executes after the shut down begins. This is the same as choosing Start > Shut Down > Shut Down in a Windows operating system or issuing a shutdown command in a Linux operating system.
Options for Suspending a Virtual Machine

Options for Suspending a Virtual Machine

You can choose from the following options when suspending a virtual machine:

  • Run Script Then Suspend — executes the associated script, then suspends the virtual machine. This is the same as clicking Suspend on the toolbar, unless a script is not associated with suspending a virtual machine.
  • Suspend Virtual Machine — suspends the virtual machine.
Option for Resuming a Virtual Machine

Option for Resuming a Virtual Machine

You can choose the following option when resuming a virtual machine:

  • Resume Then Run Script — resumes the suspended virtual machine, then executes the associated script. This is the same as clicking Resume on the toolbar, unless a script is not associated with resuming a virtual machine.
  • Resume Virtual Machine — resumes the suspended virtual machine.
Options for Resetting a Virtual Machine

Options for Resetting a Virtual Machine

You can choose from the following options when resetting a virtual machine:

  • Reset Virtual Machine — resets the virtual machine. This is similar to resetting a physical computer by pressing its reset button, so any programs running in the virtual machine may be adversely affected. Clicking the Reset button on the toolbar resets the virtual machine.
  • Restart Guest Operating System — gracefully restarts the virtual machine. If there is a script associated with shutting down the guest operating system, it executes after the guest operating system restarts. This is the same as choosing Start > Shut Down > Restart in a Windows operating system or issuing a reboot command in a Linux operating system.

previous Prev   Contents   Last   Next next