I was able to manually set the PDU ip by adding an entry to arp and using
telnet to log into the PDU. So possibly a fix would be to manually add
entrys to the Rocks MySQL database, but I had trouble finding what exactly I
would need to put in the database, and how to do this.
-Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20080626/decca270/attachment.html
my recommendation would be to power down all your compute nodes, then
remove all the compute nodes from the database. assuming you are
running rocks 5.0, for each compute node, execute:
# rocks remove host compute-0-0
# rocks remove host compute-0-1
etc.
after you remove the last compute node, execute:
# rocks sync config
then, start insert-ethers and select the 'Power Units' appliance.
then, power cycle your PDU (assuming that your frontend is not plugged
into the PDU). otherwise, telnet into your PDU (you said it got the
name compute-0-0, so you will need to execute 'telnet 10.255.255.254')
and run the command to reset the PDU.
then wait for PDU to be discovered by insert-ethers.
after it is discovered, stop insert-ethers, then restart it, but this
time select 'Compute' as the appliance.
- gb
The only question I still have, is do I need to wait for the isnert-ethers
list to display the (*) on the PDU or can I just force quit it?
-Steven
-------------- next part --------------
An HTML attachment was scrubbed...
-a
Just a note on these APC PDU's. They have a variety of options for setting
the DHCP address. You really need to get into the OS of the beast and tell
it to just do DHCP. Also if you have more than a few of these and plan to
do any SNMP queries, you are going to want to make sure they are all
running the same firmware. We have identical units that report quite
different SNMP information based on the firmware rev running on the PDU.
Good luck!!
-------------------------------------------
Tim Carlson, PhD
Senior Research Scientist
Environmental Molecular Sciences Laboratory
-Steven
What APC unit do you have? The ones that we have are basic PDUs and you
can't control the individual outlets on the PDU.
I get power usage information by doing something like this
snmpget -v1 -c public power-0-2 -m "powernet388.mib" PowerNet-MIB::rPDULoadStatusLoad.1
snmpget -v1 -c public power-0-2 -m "powernet388.mib" PowerNet-MIB::rPDULoadStatusLoad.2
snmpget -v1 -c public power-0-2 -m "powernet388.mib" PowerNet-MIB::rPDULoadStatusLoad.3
Where depending on your version of firmware, 1 is the total, 2 is the
top bank, and 3 bottom bank. For example
snmpget -v1 -c public power-0-2 -m powernet388.mib PowerNet-MIB::rPDULoadStatusLoad.1
PowerNet-MIB::rPDULoadStatusLoad.1 = Gauge32: 138
Now you have to divide the answer by 10 to get the number of AMPs being
used.
Is there some description of what ROCKS can do with the APC stuff? We
have some networked APC fan doors and a stack of networked power
strips. When we used xCAT, it provided some expect scripts for outlet
control, but I haven't figured out what features ROCKS has for these.
(Actually I was surprised at the original message in this thread, I
never even thought to do an insert ethers on the APC stuff.)
Thanks,
Tom Rockwell
Michigan State University