vCenter 5.5: Autostart VM after power on

Hi All,

I need to power off everything at work while an electrical test is performed.

We have two ESX 5.5 servers that are managed by vCenter,

I'd like to do the power off and back on remotely (there is someone onsite to switch the power back on, but they cant do anything else).

Is there a way to get the server to take itself out of maintenance mode and auto start a VM?  As the VPN relies on one of the VMs.


Many thanks
LVL 2
detox1978Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you DO NOT use VMware HA, you can configure Auto-Start of VMs.

Auto Start is not compatible with VMware HA

https://kb.vmware.com/s/article/850

As for maintenance mode, do not put it in maintenance mode, when shutting down!

(there is no method, other than scripting - SSH access)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
detox1978Author Commented:
How can i check to see if VMware HA is configured?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
do you have a Cluster ? with only two, you may or may not?

do you have shared storage ?
0
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

detox1978Author Commented:
Yes we have two SANs.  Last time I put one of the ESX servers into maintenance mode it automatically moved all the servers onto the other ESX server
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes we have two SANs.  Last time I put one of the ESX servers into maintenance mode it automatically moved all the servers onto the other ESX server

Okay, that's fine.

Do you have a Cluster, Edit Cluster Settings, and check if HA is enabled ?
0
detox1978Author Commented:
HA is enabled.
0
detox1978Author Commented:
Thanks.  Looks like Autopower on is not compatible with HA
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I'm afraid not.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.