Monday, February 12, 2018

Cluster 10. Install HP SDR tools 

HP SDR is Software Delivery Repository, this can be used to manage HP tools inside Linux CLI. To install SDR:
On both nodes
cd ~
yum install wget -y
wget https://downloads.linux.hpe.com/SDR/add_repo.sh

Available repos can be found on (we need only SPP (Service Pack for Proliant repo):
https://downloads.linux.hpe.com/

Find your server generation:
dmidecode | grep "Product Name:" #mine is Gen8

Find your RedHat release:
cat /etc/redhat-release #mine is 7.4.blablabla we need only 7.4

To find architecture:
uname -r # mine is blablabla.el7.x86_64 we need only x86_64

So our baseurl will be:
baseurl=http://downloads.linux.hpe.com/SDR/repo/spp-gen8/RedHat/7.4-Server/x86_64/current/

vi /etc/yum.repos.d/spp.repo
[spp]
name=HP Service Pack for Proliant
baseurl=http://downloads.linux.hpe.com/SDR/repo/spp-gen8/RedHat/7.4-Server/x86_64/current/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-spp

Verify that repo is added:
yum clean all
yum repolist # spp must be among the other repos list

To list available packages:
yum --disablerepo="*" --enablerepo="spp" list available

We need only hpssacli package to monitor RAID controlles:
yum install hpssacli -y

Find RAID controller on-board:
hpssacli ctrl all show

View arrays count on the found controller:
hpssacli ctrl slot=0 array all show

View physical HDD in desired array:
hpssacli ctrl slot=0 array A physicaldrive all show

View logicaldrives on the specified slot:
hpssacli ctrl slot=0 logicaldrive all show

This tutorial was used to understand and setup clustering: AN!Cluster

No comments:

Post a Comment