RTFM Education – Virtualization, VMware, Citrix

Sep 21 2005   1:17AM GMT

Manually edit the VM’s VMX configuration file

MikeLaverick MikeLaverick Profile: MikeLaverick

An error appears when using the “Virtual Machine Start-Up and Shutdown” feature with W2K3 – which automatically starts and shuts down VM’s when ESX Server is shutdown and restarted .

  • This was a problem under ESX 2.1, but appears to have been fixed under new Virtual Machine in ESX 2.5.x
  • This does not happen if an operator manually shutdowns the W2K3 through the Remote Console or via the MUI After login on with the Remote Console or with RDP the operator receives a dialog box.
  • To correct this problem you need to manually edit the VM’s VMX configuration file
  1. Logon to the MUI using VM Admin account, in my case lavericm
  2. Power down the VM gracefully
  3. Select the properties of the VM
  4. Click the Options Tab, and underneath Verbose Options, select the click here link
  5. Click the Add… link
  6. In the 1st dialog box create an option name called autostop
  7. Choose OK
  8. In the 2nd dialog box set a value of softpoweroff
  9. Choose OK 
    Choose OK in the Options page 
    Choose Close in the Properties page

Note:
If you have a large number of W2K3 VM’s and would prefer to do this via the command-line at the Service Console. You can do this while the VM is powered up – but I found I had to do two boots of ESX to remove stop the “Shutdown Event Tracker” dialog box appearing.

Use this command

echo autostop = softpoweroff >> /lavericm/vmware/instructor1/instructor1.vmx

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: