[AusNOG] UPS Compatibility with ESXI 6.5 Communication
Bill Walker
bill at wjw.nz
Tue Feb 27 16:48:38 EST 2018
Hi Daniel,
As it looks like I've already posted most of what you want, I'll share
it with the list:
http://www.wjw.co.nz/2016/09/cleanly-shutdown-esxi-60-and-synology.html
http://www.wjw.co.nz/2016/09/installing-vmware-cli-tools-on-linux.html
http://www.wjw.co.nz/2017/08/perl-script-to-shutdown-vms-on-esxi-65.html
http://www.wjw.co.nz/2017/03/esx-vm-and-host-shutdown-script.html
http://www.wjw.co.nz/2017/03/autostart-vms-from-cli.html
May not be 100% up to date, but its mostly there.
Start here as it contains my thought process
http://www.wjw.co.nz/2016/09/cleanly-shutdown-esxi-60-and-synology.html
Cheers,
Bill
PS: that site is just my notebook so its quite higgldy piggldy...
On 2018-02-27 18:06, Bill wrote:
> Sounds like small scale with a UPS that size At home I have a
> smart-UPS 1500. I pass serial comms from the APC UPS to a Linux VM
> that runs APCUPSD, there are scripts that are triggered by ups events
> that nicely shutdown my vm’s and NAS devices in the correct order to
> avoid data corruption.
>
> When power comes back, the auto start feature in ESX starts the VMs in
> the correct order and allows enough time for the nas’ to come back
> online.
>
> Let me know if you want any more info.
>
> Cheers,
>
> Bill
>
> Sent from my iPhone
>
> On 27/02/2018, at 5:22 PM, Robert Hudson <hudrob at gmail.com> wrote:
>
>> Most UPSs can send a signal around their power state via serial or
>> USB.
>>
>> ESXi has, if I recall correctly, the ability to recognise this. Some
>> vendors have additional software to make it work better.
>>
>> The trick becomes being able to shut the VMs down (and then the
>> host) before power is lost. I am not sure that free ESXi can do this
>> natively - but you may be able to script it via the vCLI/etc.
>>
>> The Internet seems to have a little bit of info that may prove
>> useful: http://bfy.tw/Gp3C
>>
>> Regards,
>>
>> Robert
>>
>> On 27 Feb. 2018 11:31 am, "Daniel Watson" <daniel.watson at zax.com.au>
>> wrote:
>>
>>> Hi Members,
>>>
>>> Just seeking some input on/off list for recommendations for any
>>> entry level’ish UPS’s that would be compatible with
>>> communication through USB to shutdown an ESXI environment upon
>>> loss of power.
>>>
>>> I have taken a decent look around at some of the available models
>>> on the current market and most of them do not talk about
>>> virtualized environments which makes this a bit hard,
>>>
>>> Any tips or pointers on/off list would be appreciated.
>>>
>>> Looking around 900 – 1500 VA
>>>
>>> DW
>>> _______________________________________________
>>> AusNOG mailing list
>>> AusNOG at lists.ausnog.net
>>> http://lists.ausnog.net/mailman/listinfo/ausnog [1]
>
>> _______________________________________________
>> AusNOG mailing list
>> AusNOG at lists.ausnog.net
>> http://lists.ausnog.net/mailman/listinfo/ausnog
>
>
> Links:
> ------
> [1] http://lists.ausnog.net/mailman/listinfo/ausnog
> _______________________________________________
> AusNOG mailing list
> AusNOG at lists.ausnog.net
> http://lists.ausnog.net/mailman/listinfo/ausnog
More information about the AusNOG
mailing list