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