1 person found this helpful
I use this script from lamw:ghettoUPSHostShutdown.pl
In case of power down, the script is triggered on the vMA. All VMs except the vMA will be shut down gracefully or suspended and the hosts will shut down after.
Greetings from Germany
APC/Schneider do provide (since 12.2013) a special vApp (downloadable from APC download page) with all necessary pieces of software. This is IMHO the best way to do this. This Appliance supports different architectures (single, redundant and multiple) and provides all from configutation until operations.
Apart from PowerChute, there are a few other "non-APC" options, i.e. NUT (network ups tool). It has one advantage: there is a native NUT-client for ESXi (no login/password or ssh-keyfile for ESXi saved on VMa is necessary)...
thanks for your suggestion. I already used a ghetto script in the past for backup. They are usually great ones.
Unfortunately I didn't find yet any compatibilaty regarding ESXi / vMA 5.5 but I already posted this in the corresponding forum.
good to know about that tool. But at the moment it'll be not my first choice because I'm not happy to install a third party client on a production ESXi server.
Thanks for your support !
yes I know (see my first posting) but my problem is how to setup it correctly.
One vMA Appliance for each host ?
Am I able to connect one UPS to two vMA Appliances ?
I guess single mode is the correct one ?
In the vMA just connect via addserver the only one ESXi on which the vMA is running ?
If you say 4 times yes I guess this will be my preffered solution
For PCNS 3.1:
If you have VMware SSO/Active Directory you can configure an Active Directory user account on vCenter Server and both ESXi hosts. If VMware SSO/Active Diretory is not an option you can create a Local user account on the vCenter Server and also create a local user account on each ESXi host (using same username/password). If PowerChute cannot connect to vCenter Server it will connect directly to each ESXi host to perform the shutdown actions.
So, if you configure a shared user account as above, you can deploy the PCNS virtual appliance on one of the ESXi hosts and choose the Managed by vCenter Server option. If PCNS cannot connect to vCenter Server during the shutdown sequence it will connect to each ESXi host directly using the shared account.
For PCNS 3.0.1:
You can install PCNS on one instance of the vMA and then add both ESXi hosts as vi-fastpass targets using the command:
When PCNS is running its shutdown script it will connect to both of the ESXi hosts and shut them down. With this option you need to ensure that the ESXi host that has PCNS vMA on it is added to the vi-fastpass target host list last.
Hope this helps.