Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 193198

Graceful shutdown with PowerChute or Script?

$
0
0

In the event of an extended power outage, I used to be able to gracefully shutdown the VMs and ESXi in version 5.0 (I thought the free version too).  It doesn't look like I can do this the same way in 5.1?

 

I had an APC UPS and PowerChute installed on a Windows VM.  When PowerChute detected the power loss, it was setup to run this script via the vSphere CLI:

 

@START "" "C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vicfg-hostops.pl" --username=root --password=********* --server=192.168.39.20 --operation shutdown --force

 

Vsphere was set to "shutdown guest" and automatic startup.  This would gracefully shutdown the VMs and then ESXi before the power was lost.

 

Now, with 5.1 - I am getting this error:  "Current license or ESXi version prohibits execution of the requested operation.  Fault detail: RestricedVersionFault"

 

Is there a way to have PowerChute run a script to gracefully shut down ESXi 5.1 free?


Viewing all articles
Browse latest Browse all 193198

Trending Articles