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