Projects/powermanagement

From 757Labs

Contents

[edit] Arcade Power Management System

A management system to monitor various managed power strips.

[edit] Features

  • Database table of managed strips (power strips)
    • Strip unique name
    • Strip serial or ethernet
      • Ethernet address and tcp port
      • Serial port
  • Database table of managed machines
    • Machine name
    • Machine owner
    • Allows single and multiple machines per port on each power strip
  • Cyclades Alterpath, Baytech, and APC capability
  • End user display of machines disabled, amp load of each strip
  • Management system to turn on/off various ports
  • Ethernet (tcp port) or serial connectivity

[edit] Design

(From Ethan)

  • User input sends data to lower level script
  • Script writes changes out to device, tries to verify it was received
    • Expect type functionality, string parsing
  • User display is updated
  • Utility functions
    • Dump 8 character names for each port into each strip
    • Remove all names from all strips for end of magfest

[edit] Cyclades PM10 example session

  • "Username:"
  • "Password:"
  • Prompt = "pm>"
  • Current reading command = "current"
    • will display IPDU #X for each cyclades in the chain
  • Turn on and off ports = "on 1" "on 1-10" "on 1,2,3,7"
    • multiple units chained makes port numbers increase
      • Unit #1 is ports 1-10, unit 2 is 11 to 20, 21 to 30, etc
  • name 1 abcdefgh
    • Names outlet 1 (8 characters max)
  • status 1-100
    • Reads status of 1 to 100 outlets, including names

AlterPath PM/KVM Boot Loader Version 1.1
-----------------------------
Boot Menu
1. Upgrade Firmware.
2. Boot Firmware.
-----------------------------
Enter choice (1 or 2): Timeout...
Booting...

V_1.2.0/1 compatible
1: Outlet turned on.
2: Outlet turned on.
3: Outlet turned on.
4: Outlet turned on.
5: Outlet turned on.
6: Outlet turned on.
7: Outlet turned on.
8: Outlet turned on.    
9: Outlet turned on.                         
10: Outlet turned on.                        
                                             
AlterPath PM
                                 
Copyright (c) 2002-2003 Cyclades Corporation 
V 1.5.0 Oct 25, 2004                         
[PM]: IPDU: 1                                
[PM]: OUT: 10                                
Username: admin
Password: pm8

pm>on 1-10 
1: Outlet turned on.         
2: Outlet turned on.        
3: Outlet turned on.       
4: Outlet turned on.        
5: Outlet turned on.        
6: Outlet turned on.        
7: Outlet turned on.        
8: Outlet turned on.         
9: Outlet turned on.      
10: Outlet turned on. 
pm>current                                   
IPDU #1: True RMS current: 0.4A. Maximum current: 0.4A
pm>
pm>name 1 pinbot              
1: Outlet now named pinbot 
pm>status 1-10      
 Outlet         Name            Status          Users           Interval (s)                                                 
 1              pinbot          Unlocked ON                     0.50
 2                              Unlocked ON                     0.50
       
pm>