HP Smart Storage Administrator: Difference between revisions
From Leo's Notes
This page was last edited on 9 October 2020, at 15:49.
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux" |
m Added example commands |
||
| Line 1: | Line 1: | ||
HP Smart Storage Administrator, also abbreviated as HP SSA, is the set of utilities used to manage HP Raid controllers. | HP Smart Storage Administrator, also abbreviated as HP SSA, is the set of utilities used to manage HP Raid controllers. | ||
== Linux == | ==Linux== | ||
Get the Linux RPM package from https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_d6ebba0f5cd642edace4648b9a. Alternatively, search online for 'hpacucli' | Get the Linux RPM package from https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_d6ebba0f5cd642edace4648b9a. Alternatively, search online for 'hpacucli' | ||
| Line 27: | Line 27: | ||
}} | }} | ||
== | === Quick Usage === | ||
{| class="wikitable" | |||
!Task | |||
!Command | |||
!Example | |||
|- | |||
|Show controller config | |||
|<code>hpssacli ctrl all show config</code> | |||
| | |||
|- | |||
|Controller status | |||
|<code>hpssacli ctrl all show status</code> | |||
| | |||
|- | |||
|Show detailed controller information for all controllers | |||
|<code>hpssacli ctrl all show detail</code> | |||
| | |||
|- | |||
|Show detailed controller information for controller in slot 0 | |||
|<code>hpssacli ctrl slot=0b show detail</code> | |||
| | |||
|- | |||
|Rescan for New Devices | |||
|<code>hpssacli rescan</code> | |||
| | |||
|- | |||
|Physical disk status | |||
|<code>hpssacli ctrl slot=0b pd all show status</code> | |||
| | |||
|- | |||
|Show detailed physical disk information | |||
|<code>hpssacli ctrl slot=0b pd all show detail</code> | |||
| | |||
|- | |||
|Logical disk status | |||
|<code>hpssacli ctrl slot=0b ld all show status</code> | |||
| | |||
|- | |||
|View Detailed Logical Drive Status | |||
|<code>hpssacli ctrl slot=0 ld 2 show</code> | |||
| | |||
|- | |||
|Create New RAID 0 Logical Drive | |||
|<code>hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0</code> | |||
| | |||
|- | |||
|Create New RAID 1 Logical Drive | |||
|<code>hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1</code> | |||
| | |||
|- | |||
|Create New RAID 5 Logical Drive | |||
|<code>hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5</code> | |||
| | |||
|- | |||
|Delete Logical Drive | |||
|<code>hpssacli ctrl slot=0 ld 2 delete</code> | |||
| | |||
|- | |||
|Add New Physical Drive to Logical Volume | |||
|<code>pssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7</code> | |||
| | |||
|- | |||
|Add Spare Disks | |||
|<code>hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7</code> | |||
| | |||
|- | |||
|Enable Drive Write Cache | |||
|<code>hpssacli ctrl slot=0 modify dwc=enable</code> | |||
| | |||
|- | |||
|Disable Drive Write Cache | |||
|<code>hpssacli ctrl slot=0 modify dwc=disable</code> | |||
| | |||
|- | |||
|Erase Physical Drive | |||
|<code>hpssacli ctrl slot=0 pd 2I:1:6 modify erase</code> | |||
| | |||
|- | |||
|Turn on Blink Physical Disk LED | |||
|<code>hpssacli ctrl slot=0 ld 2 modify led=on</code> | |||
| | |||
|- | |||
|Turn off Blink Physical Disk LED | |||
|<code>hpssacli ctrl slot=0 ld 2 modify led=off</code> | |||
| | |||
|- | |||
|Modify smart array cache read and write ratio (cacheratio=readratio/writeratio) | |||
|<code>hpssacli ctrl slot=0 modify cacheratio=100/0</code> | |||
| | |||
|- | |||
|Enable smart array write cache when no battery is present (No-Battery Write Cache option) | |||
|<code>hpssacli ctrl slot=0 modify nbwc=enable</code> | |||
| | |||
|- | |||
|Disable smart array cache for certain Logical Volume | |||
|<code>hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable</code> | |||
| | |||
|- | |||
|Enable smart array cache for certain Logical Volume | |||
|<code>hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable</code> | |||
| | |||
|- | |||
|Enable SSD Smart Path | |||
|<code>hpssacli ctrl slot=0 array a modify ssdsmartpath=enable</code> | |||
| | |||
|- | |||
|Disable SSD Smart Path | |||
|<code>hpssacli ctrl slot=0 array a modify ssdsmartpath=disable</code> | |||
| | |||
|} | |||
==See Also== | |||
{{Navbox Linux}}[[Category:Linux]] | *https://djfueese.blogspot.ca/2016/08/hp-smart-storage-administrator-hp-ssa.html | ||
{{Navbox Linux}} | |||
[[Category:Linux]] | |||
Revision as of 15:49, 9 October 2020
HP Smart Storage Administrator, also abbreviated as HP SSA, is the set of utilities used to manage HP Raid controllers.
Linux
Get the Linux RPM package from https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_d6ebba0f5cd642edace4648b9a. Alternatively, search online for 'hpacucli'
The package will be placed in /opt/compaq/hpacucli/bld/.
root@x:/root# /opt/compaq/hpacucli/bld/hpacucli ctrl all show config
Smart Array P410i in Slot 0 (Embedded) (sn: 50014380236B2020)
array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (279.4 GB, RAID 1, OK)
physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 300 GB, OK)
physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 300 GB, OK)
unassigned
physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 1 TB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380236B202F)
Quick Usage
| Task | Command | Example |
|---|---|---|
| Show controller config | hpssacli ctrl all show config
|
|
| Controller status | hpssacli ctrl all show status
|
|
| Show detailed controller information for all controllers | hpssacli ctrl all show detail
|
|
| Show detailed controller information for controller in slot 0 | hpssacli ctrl slot=0b show detail
|
|
| Rescan for New Devices | hpssacli rescan
|
|
| Physical disk status | hpssacli ctrl slot=0b pd all show status
|
|
| Show detailed physical disk information | hpssacli ctrl slot=0b pd all show detail
|
|
| Logical disk status | hpssacli ctrl slot=0b ld all show status
|
|
| View Detailed Logical Drive Status | hpssacli ctrl slot=0 ld 2 show
|
|
| Create New RAID 0 Logical Drive | hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0
|
|
| Create New RAID 1 Logical Drive | hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1
|
|
| Create New RAID 5 Logical Drive | hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5
|
|
| Delete Logical Drive | hpssacli ctrl slot=0 ld 2 delete
|
|
| Add New Physical Drive to Logical Volume | pssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7
|
|
| Add Spare Disks | hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7
|
|
| Enable Drive Write Cache | hpssacli ctrl slot=0 modify dwc=enable
|
|
| Disable Drive Write Cache | hpssacli ctrl slot=0 modify dwc=disable
|
|
| Erase Physical Drive | hpssacli ctrl slot=0 pd 2I:1:6 modify erase
|
|
| Turn on Blink Physical Disk LED | hpssacli ctrl slot=0 ld 2 modify led=on
|
|
| Turn off Blink Physical Disk LED | hpssacli ctrl slot=0 ld 2 modify led=off
|
|
| Modify smart array cache read and write ratio (cacheratio=readratio/writeratio) | hpssacli ctrl slot=0 modify cacheratio=100/0
|
|
| Enable smart array write cache when no battery is present (No-Battery Write Cache option) | hpssacli ctrl slot=0 modify nbwc=enable
|
|
| Disable smart array cache for certain Logical Volume | hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable
|
|
| Enable smart array cache for certain Logical Volume | hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable
|
|
| Enable SSD Smart Path | hpssacli ctrl slot=0 array a modify ssdsmartpath=enable
|
|
| Disable SSD Smart Path | hpssacli ctrl slot=0 array a modify ssdsmartpath=disable
|
See Also