Debian / Ubuntu en los HP Proliant G6

Como monitorear el hardware de un HP Proliant G6 en Debian/Ubuntu: Primero, agregamos el repo de HP para los Proliant.

Instalar la GPG de HP:


wget http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/GPG-KEY-ProLiantSupportPack -O - | apt-key add -

Luego Agregar en /etc/apt/sources.list


## HP

deb http://downloads.linux.hp.com/SDR/downloads/MCP precise/current non-free
deb http://downloads.linux.hp.com/SDR/downloads/MCP/Ubuntu precise/current non-free

apt-get install lsscsi hp-health hp-ams

Para obtener el RAID Status:


apt-get install hpacucli

Y luego:


$hpacucli

=> ctrl slot=0 logicaldrive all show detail

Smart Array P410i in Slot 0 (Embedded)

array A

Logical Drive: 1
Size: 546.8 GB
Fault Tolerance: RAID 50
Number of Parity Groups: 2
Heads: 255
Sectors Per Track: 32
Cylinders: 65535
Strip Size: 64 KB
Full Stripe Size: 128 KB
Status: Recovering, 31% complete
Caching: Enabled
Parity Initialization Status: Initialization Completed
Unique Identifier: 600508B1001030384532383833300500
Disk Name: /dev/sda
Mount Points: / 516.8 GB
OS Status: LOCKED
Logical Drive Label: A0002E885001438008E28830563B
Parity Group 0:
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS, 146 GB, OK)
physicaldrive 2I:1:5 (port 2I:box 1:bay 5, SAS, 146 GB, Rebuilding)
Parity Group 1:
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS, 146 GB, OK)
physicaldrive 2I:1:6 (port 2I:box 1:bay 6, SAS, 146 GB, OK)
Drive Type: Data

+Info sobre hpacucli

Para medir performance de raid recomiendo Bonnie++
Para obtener más info sobre performance test en los diferentes arreglos de RAID posibles, mira lo que Ken, de la Universidad de Florida tiene que decir: http://www.astro.ufl.edu/~ken/perf_tests.html

Buena Suerte!

+ info: http://downloads.linux.hp.com/SDR/faq.html

Leave a Reply

Your email address will not be published. Required fields are marked *