We help IT Professionals succeed at work.

Power on a VM from within the console on ESXi

Stevef100
Stevef100 asked
on
Medium Priority
2,504 Views
Last Modified: 2012-05-06
I have a single ESXi server in a remote data center which following a reboot is not reachable. The remote hand say that the console screen is displaying. The config is such that external access is via a locally hosted VM. I suspect this has not started up for some reason.

Is there any way of getting a VM to start from within the local unsupported console session?


Comment
Watch Question

Commented:
Although I have not tried starting a guest from the service console on ESXi. If I were in the ESX service soncole I would run this command
vmware-cmd /vmfs/volumes/vm path/vmname.vmx start
IT Manager
Commented:
There is no service console for ESXi ... you will need to install RCLI on a PC, and use that to run a similar command to what MarkZZ has said. If I understand you correctly, it could be that the VM on your ESXi server is not configured to AutoStart.
There are two ways you could solve your problem ...
1) Get the remote tech to use a VI Client to connect to your ESXi Server and do the necessary i.e start up VM and then configure AutoStart options.
Or
2) Use the RCLI command to resolve your problem
So in the RCLI session, you would run this command to start the VM
 vmware-cmd.pl /vmfs/volumes/vm path/vmname.vmx start
You can't programmatically configure Autostart options via the RCLI, but the file that controls the AutoStart options are in this location:
/etc/vmware/hostd/vmAutoStart.xml
Help and Guidance articles for RCLI here:
http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_rcli.pdf
http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1306901,00.html  
http://pubs.vmware.com/vi3i_e35/wwhelp/wwhimpl/js/html/wwhelp.htm
 
 

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.