Power Measurements in Nancy

From Grid5000

Jump to: navigation, search

Contents

Introduction

This page describe how to access the power monitoring hardware installed on the graphene cluster in Nancy. This cluster has 144 Carri System CS-5393B nodes. Only 40 nodes (graphene-[105-144]) of graphene cluster are powered by 03 ePDU model PW107MA0UB61.

System Information

Node hostname:

graphene-Node_ID.nancy.grid5000.fr

PDU hostname:

graphene-pduPDU_ID.nancy.grid5000.fr

Mapping of nodes to PDUs:

PDU IDs Outlet IDs Node IDs
7 B9, B10, B11, B12
B13, B14, B15, B16
B17, B18, B19, B20
128, 127, 126, 125
120, 119, 118, 117
112, 111, 110, 109
8 A5, A6, A7, A8
B9, B10, B11, B12
B13, B14, B15, B16
B17, B18, B19, B20
132, 131, 130, 129
124, 123, 122, 121
116, 115, 114, 113
108, 107, 106, 105
9 B9, B10, B11, B12
B13, B14, B15, B16
B17, B18, B19, B20
144, 143, 142, 141
140, 139, 138, 137
136, 135, 134, 133


Mapping of network equipments to PDUs:

PDU IDs Outlet IDs Network equipment
7 A5
A6
sgraphene4
sgraphene4-ipmi

Accessing information using SNMP MIB

  • SNMP protocol version 1, 2c and 3 are enabled on each ePDU.

Management Information Base (MIB)

$  wget http://git.grid5000.fr/MIB-files/MIB.txt

OAR reservation and image deployment

  • Make an OAR reservation
Image:Terminal.png frontend:
oarsub -I -t deploy -l nodes=1,walltime=2
  • Deploy a reference image (eg : squeeze-x64-nfs)
Image:Terminal.png frontend:
kadeploy3 -e squeeze-x64-nfs -f $OAR_NODE_FILE -k

SNMP packages installation and configuration

  • Login to the deployed node as root
$ ssh root@node.nancy.grid5000.fr
  • Update package index files and install the SNMP packages
Image:Terminal.png node:
apt-get update && apt-get install snmp snmp-mibs-downloader
  • Create the MIBs directory and change directory
Image:Terminal.png node:
mkdir /usr/share/snmp/mibs
Image:Terminal.png node:
cd /usr/share/snmp/mibs
  • Download the SNMP MIB
  • Update the SNMP client configuration (Add Eaton MIB definition)
Image:Terminal.png node:
echo "mibs PDU-MIB" >> /etc/snmp/snmp.conf

Accessing information on PDUs

  • We use snmpget command to retrieve information from a PDU.
Image:Terminal.png node:
snmpget -v 1 -c public graphene-pdu7.nancy.grid5000.fr outletActivePower.19

Following the SNMP MIB description, outletActivePower give a unique value for the active power sensor attached to the outlet. This value is reported in Watts.
The number .19 correspond to the last outlet of the ePDU graphene-pdu7.nancy.grid5000.fr. And following the mapping of nodes to PDU, it correspond to the Outlet ID B20. (first outlet is referenced by the number .0 and so and so ...)

Links

More information about SNMP can be found on: Net-SNMP

Personal tools
Wiki special pages