I have a couple old HP DL360 G6 servers running a several year old version of Debian Stretch. It became time to update them. Rather than fooling around with an upgrade, this is a re-install scenario. The servers have ILO2, with very lame keystroke ability. I had to use a combination of the ILO2 Remote Access in Internet Explorer as the viewer with an ssh login on another window to get keystrokes and menu operations going. I think it was a lot easier back with original Internet Explorer and Java. The Remote Mount of a CD also worked after a couple attempts at getting everything correct.
With the operating system installed, I used the
Linux HP Smart Array Raid Controller article to determine the mechanism for installing HP proprietary tools. HPE (Hewlett Packard Enterprise) has a
Software Delivery Repository. I am glad I hit the guy's article first, as I would not have known what to do without it.
Here is the server type determined via DMI:
dmidecode | grep -A3 '^System Information'
System Information
Manufacturer: HP
Product Name: ProLiant DL360 G6
Version: Not Specified
PCI information shows the RAID Controller type:
# lspci -k|grep -i -A2 raid
03:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)
Subsystem: Hewlett-Packard Company Smart Array P410i
Kernel driver in use: hpsa
Which confirms kernel modules in use for my SAS drives:
# lsmod |grep hpsa
hpsa 102400 2
scsi_transport_sas 45056 1 hpsa
scsi_mod 253952 8 sd_mod,usb_storage,scsi_transport_sas,libata,hpsa,uas,sr_mod,sg
Since I am using Debian Stretch, here are some revised commands to get at some tools. This is the closest I could get to a set of
descriptions.
# apt install curl
# curl https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -
# echo -e "deb http://downloads.linux.hpe.com/SDR/repo/mcp/ stretch/current non-free" \
> /etc/apt/sources.list.d/hpe.list
# apt update
# apt install ssacli
# apt install ssaducli
# apt install hponcfg
ssacli provides access to the raid controller information. ssaducli is supposed to show wear rates, but it generated an empty report for me. And hponcfg deals with ILO management. More articles are needed for decoding that beast.
Anyway, back to ssacli, using the guy's examples, here are my equivalents:
# ssacli
Smart Storage Administrator CLI 3.10.3.0
Detecting Controllers...Done.
Type "help" for a list of supported commands.
Type "exit" to close the console.
=> ctrl all show config
Smart Array P410i in Slot 0 (Embedded) (sn: 50014380048C7640)
Port Name: 1I
Port Name: 2I
Internal Drive Cage at Port 1I, Box 1, OK
Array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (136.7 GB, RAID 1, Recovering, 5% complete)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS HDD, 146 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS HDD, 146 GB, Rebuilding)
Array B (SAS, Unused Space: 0 MB)
logicaldrive 2 (136.7 GB, RAID 1, OK)
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS HDD, 146 GB, OK)
physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS HDD, 146 GB, OK)
=> ctrl all show status
Smart Array P410i in Slot 0 (Embedded)
Controller Status: OK
=> ctrl slot=0 pd 1I:1:1 show detail
Smart Array P410i in Slot 0 (Embedded)
Array A
physicaldrive 1I:1:1
Port: 1I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Drive exposed to OS: False
Logical/Physical Block Size: 512/512
Rotational Speed: 15000
Firmware Revision: HPD3
Serial Number: 3TB0219200009928Q98C
WWID: 5000C5000BF20495
Model: HP DH0146BALWN
Current Temperature (C): 33
Maximum Temperature (C): 41
PHY Count: 2
PHY Transfer Rate: 3.0Gbps, Unknown
Sanitize Erase Supported: False
Shingled Magnetic Recording Support: None
=> ctrl slot=0 pd 1I:1:4 show detail
Smart Array P410i in Slot 0 (Embedded)
Array B
physicaldrive 1I:1:4
Port: 1I
Box: 1
Bay: 4
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Drive exposed to OS: False
Logical/Physical Block Size: 512/512
Rotational Speed: 15000
Firmware Revision: HPDD
Serial Number: PLYH4KXE
WWID: 5000CCA00BC4A50D
Model: HP EH0146FARWD
Current Temperature (C): 30
Maximum Temperature (C): 53
PHY Count: 2
PHY Transfer Rate: 6.0Gbps, Unknown
Sanitize Erase Supported: False
Shingled Magnetic Recording Support: None
=> ctrl slot=0 ld all show
Smart Array P410i in Slot 0 (Embedded)
Array A
logicaldrive 1 (136.7 GB, RAID 1, Recovering, 5% complete)
Array B
logicaldrive 2 (136.7 GB, RAID 1, OK)
=>
Some sites to come back to for further reference and tuning: