schopenhauer / ipmi-power

Power on/off your server using IPMI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipmi-power

This app lets you power cycle your machine remotely using the Intelligent Platform Management Interface (IPMI) protocol. You may also configure a schedule to automatically power on/off your system.

The app has been successfully tested with the Supermicro A2SDi-4C-HLN4F motherboard.

Requirements

  • Please make sure you have freeipmi or ipmitool installed on your system.

Configure

Set the following environment variables:

Environment variable Description
IPMI_NAME Server name
IPMI_HOST Hostname or IP address
IPMI_USERNAME Username
IPMI_PASSWORD Password

You can specify your custom power on/off schedule in the schedule.yml file and enable/disable the feature using the auto_power flag. This feature is disabled by default.

Usage

Install the gems, then run the app.

bundle install
foreman start

Contribute

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

The app is available as open source under the terms of the MIT License.

About

Power on/off your server using IPMI


Languages

Language:Ruby 60.9%Language:HTML 32.0%Language:CSS 6.0%Language:Procfile 1.0%