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