Red Hat NETSCAPE MANAGEMENT SYSTEM 4.5 User Manual Page 146

  • Download
  • Add to my manuals
  • Print
  • Page
    / 286
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 145
Running VMware ESX Server
146
www.vmware.com
If you receive an event log message saying, “You will need to power off or reset the
virtual machine at this point,” you must connect to the virtual machine with a remote
console and click Power Off or Reset to complete the operation.
The power off and reset commands are not available while these operations are in
progress.
You can also force power off or force reset from the menu. These commands bypass
the guest service and perform the virtual equivalent of shutting off the power to a
physical machine or pressing a physical reset button.
Shutting down or Restarting a Virtual Machine from the Command Line
You can shut down and restart a virtual machine from the console operating system
command line using the vmware-control program.
The following commands return you to the command prompt immediately, before
they finish executing, although the shut down or restart process may take some time
to complete:
vmware-control /<path_to_config_file>/<configfile>.cfg \
request_stop
vmware-control /<path_to_config_file>/<configfile>.cfg \
request_reset
Note: Enter the vmware-control command you want to use on a single line. Do
not type the backslash.
Executing Commands When ESX Server Requests the Guest
Service to Halt or Reboot a Virtual Machine
In a Linux guest, you can have the guest service execute specific commands when
ESX Server asks it to halt or reboot the virtual machine’s guest operating system. If you
use nonstandard utilities or want to do additional things before shutting down or
rebooting the guest operating system, you can override the default commands the
guest service executes by modifying the /etc/vmware/dualconf.vm startup
script in the guest to start the guest service with the following command line options:
/etc/vmware/vmware-guestd --halt-command <command>
where <command> is the command to execute when ESX Server asks the guest
service to halt the guest operating system
/etc/vmware/vmware-guestd --reboot-command <command>
where <command> is the command to execute when ESX Server asks the guest
service to reboot the guest operating system
Page view 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 285 286

Comments to this Manuals

No comments