2019年11月25日星期一

HP RAID checking include smart array

downlaod HP Linux system tools include RAID rpm


HPACUCLI

https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_d6ebba0f5cd642edace4648b9a
HPSSACLI
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_04bffb688a73438598fef81ddd
HPLOG rpm or hp-health rpm
https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_7e21c564092e40688fc445a3c4

WEBMIN Module

HP SmartArray and HP Server Reporter 2.0

Description If you have an HP server machine (I administer an HP Proliant ML350 Gen9 Server) this is definitely the right module for you. This is just a module that prints the output of the commands of the Management Component Pack that you should download and ins

Download hpsmartarray.wbm.gz
Website http://www.superlinux.net
Author Katya Ahmad
Last updated 2019-10-02 12:06:06


Use SMARTCTL check DRIVE via HP hardware RAID CARD


To look at disks behind HP Smart Array controllers, use syntax such as:

smartctl -a -d cciss,0 /dev/cciss/c0d0 (cciss driver under Linux)
smartctl -a -d cciss,0 /dev/sg1 (hpsa or hpahcisr drivers under Linux)

check the first drive cciss,0

smartctl -a -d cciss,0 /dev/sg1

cciss,0 is the first

cciss,1 is the second
.

or visit https://www.centos.org/forums/viewtopic.php?t=55506

Guide to installing HP System Management Tools CentOS 7

Add a file /etc/yum.repos.d/hp.repo with this info inside.

----------------------------------------------------------------------------------------
[HP-spp]
name=HP Service Pack for ProLiant
baseurl=http://downloads.linux.hpe.com/SDR/repo/spp/RHEL/7.2/x86_64/current/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-ssp

[HP-mcp]

name=HP Management Component Pack for ProLiant
baseurl=http://downloads.linux.hpe.com/SDR/repo/mcp/centos/7.3/x86_64/current/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-mcp
----------------------------------------------------------------------------------------
And get the GPG keys
http://downloads.linux.hpe.com/SDR/repo/spp/GPG-KEY-spp
and
http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp

Place them in /etc/pki/rpm-gpg/


After that you can install the things via yum

sudo yum install hp-health hpssacli hp-snmp-agents hpssa hpssacli hp-smh-templates hpsmh hponcfg

HP System Management Homepage uses SNMP to monitor the system heath


Change config use this command

/opt/hp/hpsmh/sbin/hpsnmpconfig






.

.