Home / 1.0.2.128
Name Modified Size InfoDownloads / Week
Parent folder
thuBatteryTool-1.0.2.128.exe 2021-11-02 1.4 MB
README.txt 2021-09-28 2.2 kB
CHANGELOG.txt 2021-09-28 493 Bytes
Totals: 3 Items   1.4 MB 0
******************
***   README   ***
******************

Description

  thuBatteryTools allows controlled shut downs of UPS connected servers in your network in case of power loss.

Requirements

  - Windows with .NET Framework 4.5.2 or newer
  - Direct attached (USB) UPS battery on the server running thuBatteryTool

Installation

  1. Extract the self-extracting archive to a location of your choice (default is c:\ - a subfolder will be created).

How it works

  1. All protected servers are connected through the same UPS.
  2. In case of power loss thuBatteryTool connects to all configured servers and shut those down.

Configuration

  - Configure at what level of charge the shutdown script should be executed.
  - Configure how often thuBatteryTool should query the level of charge.
  - Configure the script that should be executed in case a critical level of charge is reached (thuShutdfown.bat)
  - Install Windows service via settings.
  - Modify the built-in script (thuShutdown.bat) to shut down Windows, Linux and ESXi hosts.

Hints

  - In case the server running thuBatteryTool is a virtual server instance on a ESXi host, then
    .. you do not have to power off the virtual server itself. Instead shutdown the ESXi host and configure the behavior of the ESXi host regarding it's virutal servers,
       the ESXi host itself should shutdown the virtual server by itself.
    .. then make sure the USB port is attached to the virtual server that thuBatteryTool can communicate with the UPC directly.
  - In case you run thuBatteryTool as Windows services and SYSTEM user, make sure your SYSTEM user has stored all required SSH keys.
    - To store the SSH keys on SYSTEM user: Install psexec.exe* and run plink.exe as system user (psexec -i -s cmd.exe), then connect to your linux server and accept the certificate.
    - Alternatively configure plink.exe to accept any certificate**.

* https://docs.microsoft.com/en-us/sysinternals/downloads/pstools
** echo yes | "%~dp0plink.exe" root@esx.domain.local -pw mypwd "/vmfs/volumes/LocalLUN/scripts/powerdown_esx.sh -a hostonly>> /vmfs/volumes/LocalLUN/scripts/powerdown_esx.log"

Support

  office@thuinformatik.ch
Source: README.txt, updated 2021-09-28