[Nut-upsuser] NUT control of vCenter & vServer?

Bart J. Smit bart at smits.co.uk
Thu May 14 21:12:34 BST 2020


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 <nomad at ee.washington.edu>
Sent: 14 May 2020 20:29
To: Bart J. Smit <bart at smits.co.uk>
Cc: nut-upsuser at lists.alioth.debian.org
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 <bart at smits.co.uk<mailto:bart at smits.co.uk>> 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 <nut-upsuser-bounces+bart=smits.co.uk at alioth-lists.debian.net<mailto:smits.co.uk at alioth-lists.debian.net>> On Behalf Of Lee Damon
Sent: 14 May 2020 16:53
To: nut-upsuser Mailing List <nut-upsuser at lists.alioth.debian.org<mailto:nut-upsuser at lists.alioth.debian.org>>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20200514/1322abe3/attachment-0001.html>


More information about the Nut-upsuser mailing list