Link to home
Start Free TrialLog in
Avatar of Maksim  Avrukin
Maksim AvrukinFlag for United States of America

asked on

VM host start up after power outage

Hi
We have couple of ESXI hosts running multiple Windows guest OS on them. We installed APC network shutdown software on windows guests. When power goes off all servers shut down correctly. When power is restored VM hosts come back, but we have to manually start Windows Guest OSs. Inside VM is already configured to automatically turn guests on, but this does not work. Any idea?
Avatar of coolsport00
coolsport00
Flag of United States of America image

On the ESXi Host, go to Config tab > VM Startup/Shutdown, then check the box to enable VMs to startup & shutdown with the Host. You will then need to use the 'up arrow' button on the right side of the window to move VMs up to Automatic section, then place the VMs in order you want them to be started.

~coolsport00
If you're saying you did this already, please provide a bit more detail what has been configured (maybe provide screenshots) & I will try to further assist.

~coolsport00
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
But don't do this if you have VMware HA!

Auto Start and Shutdown Virtual Machines

Just log into your ESX server using the vSphere GUI Client, click on the host, then click the Configuration tab. In the 'Software' box, click the Virtual Machine Startup/Shutdown link. In the upper right click Properties.

http://www.vmadmin.co.uk/vmware/35-esxserver/111-esxautostartstop
Avatar of Maksim  Avrukin

ASKER

Hi Everyone.
We have done the tweaks within the vSphere. It has something to do with APC shutting down the guest VMs first and then VM host powring off. My guess is VM remembers that the guests were down before VM was shut off.
Im not sure this is correct, how the APC software prevents vSphere or the host turning on a PC.

try a scheduled PC power on via Tasks
Not sure I'm understanding your responce. APC executed shut down due to no power issues, not a scheduled event. We are trying to condigure VM environment to shut down and come up during power outages automatically.
The APC software cannot interfere with Host Startup events.

test this by creating a scheduled eventbin vCenter to turn on PCs at a particular time.

so test a shutdown, and create an event in vCenter to turn them on on the hour.

VM should turn on, so must be some misconfiguration, because VMs should turn on with Host startup.

You do not use VMware HA Cluster?
no Cluster. I guess what my question really is, does VM remember if the hosts were off before it went down and it will not turn them back on? or it does not and should always turn them back on. Is it OK to install APC nework managment agent on the hosts and shut down the hosts in it, or do we need to somehow have APC talk to VM host itself and initiate the shut down there.
If you have configured start VM with host this is the only time VMs can autostart.

If a host is powered off or fails with no HA, when host starts with no configuration in auto start VMs will not startup.

Usually APC software on vMA instructs hosts to shutdown, VMs on Host will be instructed to shutdown, followed by host.

you will need to create auto start rules to auto start with host.

please upload screenshots of configuration.
yes, however we are using free VM and I don't thing APC agents work with free VM on vMA. Can we execute Telnet command from a host APC agent that will shut down the VM host instead?
Your are using ESXi FREE edition. This is YOUR issue.

vMA is not an option, and your have no management control, changes are not written.

I would recommend upgrading to a licensed edition for approx $500 vSphere Essentials, which will give you 2cpu host licenses, x 3, vCenter Server license. A bargain. Greater than 32Gb per server currently, 1 cpu, access to storage api for backup, vCenter Server management.
You are right. Can we just upgrade without reinstalling? We already have bunch of VMS on it.
and when you are refferint to "Changes are not written", is this why hosts do not come up automatically when power comes back even thought they are told?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial