Skip to content

johnnypesola/docker-eaton-ipp-esxi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eaton IPP (USB) Docker container

Goal/Purpose

To configure Eaton IPP to automatically shut down ESXi host(s) on low power.

(Only tested with USB use).

Status

Not working at the moment. Eaton IPP won't execute the script file shutdown_esxi.sh no matter what.

Description

This is the Git repo for a Docker container installing Eatons Intelligent-Power-Protector software which allows you to control and setup actions for your Eaton UPS throught a web interface.

Setup the provided configuration files properly to allow your ESXi host to gracefully shut down VM:s and finally power off the hypervisor.

After configuration and build, find out which USB port you UPS is using with the lsusb command. Pass the USB device to the container with the following run command example.

run -it --device=/dev/bus/usb/001/007 -p 4680:4680 eaton-ppi-esxi

After building and running this container you should login to the web-interface and auto detect your Eaton UPS in the web interface.

https://:4680
username: admin password: dockeradmin

Prerequisites

  • ESXi host has ssh enabled.
  • ESXi host is configured to allow connections from the provided id_rsa key.

How to configure ESXi is outside the scope of this readme. But this could help you out.

Provided configuration files

  • shutdown_esxi.sh

This is the default script file which is executed when the UPS battery reaches it's low power level.

  • id_rsa & id_rsa.pub

The private and public keypair which is used by the container to connect to your ESXi host(s). You are strongly adviced to generate your own keypair with open-ssh.

  • config.js

The default configuration file for Eaton IPP. Change values as you please.

Other info

Based on Ubuntu 14.04.
Will probably only work with USB-connected UPS:es.
Tested with Eaton 3S 550 UPS

About

Installs Eaton IPP and configures it to shut down ESXi hosts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published