What about the REST API to do a graceful shutdown of your VM’s and the vCenter 
appliance: https://code.vmware.com/web/sdk/6.7/vsphere-automation-rest

Bart…

From: Lee Damon <[email protected]>
Sent: 14 May 2020 20:29
To: Bart J. Smit <[email protected]>
Cc: [email protected]
Subject: Re: [Nut-upsuser] NUT control of vCenter & vServer?

Thanks Bart. Unfortunately "The VIB module does not comply with the security 
recommendations imposed by VMWare. You lose VMWare support by installing this 
package." This pretty much rules out this option. :(

We need vCenter support, as well.

nomad

On Thu, May 14, 2020 at 10:06 AM Bart J. Smit 
<[email protected]<mailto:[email protected]>> wrote:
This shuts down the hosts directly (by-passing vCenter)

http://rene.margar.fr/2012/05/client-nut-pour-esxi-5-0/

in spite of the title, it works for ESXi 6 and 7 as well

Bart…

From: Nut-upsuser 
<[email protected]<mailto:[email protected]>>
 On Behalf Of Lee Damon
Sent: 14 May 2020 16:53
To: nut-upsuser Mailing List 
<[email protected]<mailto:[email protected]>>
Subject: [Nut-upsuser] NUT control of vCenter & vServer?

Is anyone using NUT to signal/control vCenter and vServer (6.x) for shutdown 
when batteries are getting low? Any recommendations?

We've found 
https://4sysops.com/archives/startup-and-shutdown-a-vmware-cluster-with-powercli-and-powershell/
 but I'd prefer to do this from the master (which is running CentOS 8) and not 
pollute it by installing PS on it.

thanks,
nomad
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to