Along with power itself, there is a configuration file power.conf, that should be found in /usr/testbed/etc/, which lists the machine names and the IP addresses for thier power controllers and their outlet numbers. (power itself is currently located in /usr/testbed/bin/, and requires snmpit in /usr/testbed/bin/ also)
Syntax: power on <machine> <machine> ... power off <machine> <machine> ... power cycle <machine> <machine> ...
power on <machine> <machine> ...
power off <machine> <machine> ...
power cycle <machine> <machine> ...
# #power.conf # # format: # machine<tab>PowerControlIP<tab>Outlet#<\n> #Machine PowerControlIP Outlet# tbpc01 155.99.214.100 1 tbpc02 155.99.214.100 2 tbpc03 155.99.214.100 3 tbpc04 155.99.214.100 4 tbpc05 155.99.214.100 5 tbpc06 155.99.214.100 6 tbpc07 155.99.214.100 7 tbpc08 155.99.214.100 8 tbpc09 155.99.214.99 6 tbpc10 155.99.214.99 5 alpha 155.99.214.99 7 beta 155.99.214.99 8 # #end of power.conf #As might be guessed, lines starting with "#" are comments, and the format is simply a machine name, an IP address for its power controller, and the outlet that it is using, all separated by tabs (any spaces could cause incorrect results).
Power was written by Mac Newbold, of the Flux Research Group, University of Utah Computer Science Dept., in April 2000.
Power © 2000, Mac Newbold, Flux Research Group, Computer Science Department, University of Utah