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
Setting the boot controller
Typical procedures
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
Target modify newarray=
Moving a logical drive
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
Expanding an array
Spare Management Mode in Hpssacli
Shrinking an array
Target remove drives=###-###
Moving an array
Target modify drives=###-### spares=###-###
= ctrl slot=1 create type=arrayr0 drives=allunassigned
Extending a logical drive
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?
Disabling a redundant controller
Changing the Rebuild Priority setting
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
Enabling or disabling the drive cache
Changing the controller cache ratio
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?
Power mode
Using HP SSA scripting
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
Controller
ClearConfigurationWithDataLoss
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
OnlineSpare
Logical Drive category
SplitMirror
LogicalDrive
ArrayAccelerator
CachingLogicalDrive
NumberOfParityGroups
CachedLogicalDrive
PreferredPath
SetBootVolumeSecondary
SetBootVolumePrimary
Renumber
Repeat
SizeBlocks
Size
SmartCache Write-back
StripSize
Encryption controller category
Encryption support commands
Remove Suspend Resume
ControllerPasswordMode