Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2494
  • Last Modified:

Power on a VM from within the console on ESXi

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?


0
Stevef100
Asked:
Stevef100
1 Solution
 
markzzCommented:
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
0
 
za_mkhCommented:
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
 
 
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now