Power modes
Viewing controller status
Performing a Diagnostics task
Diagnostic tasks
Operations
Opening the CLI in Console mode
Using the HP SSA CLI
\Program Files\hp\hpssacli\Bin\hpssacli.exe
Root@localhost root# hpssacli
Command variable
Opening the CLI in Command mode
CLI syntax
Target variable
Querying a device
Available options are Current value Default
Hiding warning prompts
= ctrl ch=Lab4 ld 1 modify raid=0 ss=?
Target controller show config detail
Show command
Keyword abbreviations
Target show detailstatus
= ctrl all show
= ctrl ch=lab4 show config
Help command
Displaying the current versions of the application layers
Version
Typical procedures
Setting the boot controller
Setting the boot volume
Identifying devices
Setting the target
Set target target
= set target ctrl slot=3 = clear target
Deleting target devices
Generating a diagnostic report
Target modify led=onoff
Target delete forced
Rescanning the system
Erasing a physical drive
Entering or deleting a license key
Optimizing controller performance for video
Target create type=ld parameter=value
Creating a logical drive
Sample scenario
Available options are +0 default value
Moving a logical drive
Target modify newarray=
Target modify drives=# ##,# ##,# ##-# ##
Viewing SSD physical drives
Viewing enclosure information
Viewing SSD information
SmartCache in Hpssacli
SSD Over Provisioning Optimization
Rapid Parity Initialization methods
Assigning a chassis name to the controller
= ctrl slot=1 array B create type=ldcache datald=2
Managing spare drives
Setting the spare activation mode
Target modify spareactivationmode= failure predictive
Controller slot=1 modify spareactivationmode=predictive
Spare Management Mode in Hpssacli
Expanding an array
Shrinking an array
Moving an array
Target remove drives=###-###
Target modify drives=###-### spares=###-###
Extending a logical drive
= ctrl slot=1 create type=arrayr0 drives=allunassigned
Target modify size=#max? forced
Target modify raid=01+0156adg? ss=8163264128256default?
Setting the preferred path mode
Migrating a logical drive
Target modify preferredpathmode=automaticmanual?
Changing the Rebuild Priority setting
Disabling a redundant controller
Assigning a redundant controller to a logical drive
Setting the surface scan mode
Changing the Expand Priority setting
Changing the surface scan delay time
Re-enabling a failed logical drive
Changing the controller cache ratio
Enabling or disabling the drive cache
Enabling or disabling the array accelerator
Using the Split Mirror command
Enabling a script to exit on error
Set exitonerror=enable set eoe=disable Show exitonerror
Enabling SmartCache Write-back
Target modify latency=lowhighdisable?
HBA mode
Controller slot=5 modify latency=low
Target modify hbamode=onoff?
Using HP SSA scripting
Power mode
RAID mode
Using an Input script
Capturing a configuration
Creating an HP SSA script file
Hpssascripting -c Filename -internal -external -e Filename
Sample custom input script
Script file requirements
Date captured Wed Jan 15 153314 Version
Sample custom capture script
Sample encryption script
Initial encryption configuration
PlainText= Enable
Encryption configuration
Script file options
Method mode
Action mode
Control category
Controller category
ClearConfigurationWithDataLoss
Controller
CacheState
ElevatorSortEnable
DPOEnable
IRPEnable
DriveWriteCache
NoBatteryWriteCache
MNPDelay
Power modes
LicenseKey, DeleteLicenseKey
SurfaceScanDelayExtended
SurfaceScanDelay
QueueDepth
RapidParityInitialization
Array category
DPOEnable = No ElevatorSortEnable = Yes IRPEnable = No
Array
ArrayR0
Drive
CachingArray
DriveType
OnlineSpareMode
Logical Drive category
OnlineSpare
SplitMirror
ArrayAccelerator
LogicalDrive
CachingLogicalDrive
CachedLogicalDrive
NumberOfParityGroups
PreferredPath
SetBootVolumeSecondary
SetBootVolumePrimary
Renumber
Repeat
SizeBlocks
Size
SmartCache Write-back
StripSize
Encryption controller category
Encryption support commands
Remove Suspend Resume
ControllerPasswordMode