Command composition
HPACUCLI [Parameter=value]
View:
View All controller status
HPACUCLI Ctrl All Show
View slot 0 Array Information detail status (you can view the correspondence between physical and logical disks)
1) hpacucli Ctrl slot=0 Show config Detail
2) hpacucli Ctrl slot=0 Logicaldrive 2 Show (Logical disk information)
3) hpacucli Ctrl slot=0 Physicaldrive 1i:2:1 Show (Physical disk information)
View slot 0 All array information
HPACUCLI Ctrl slot=0 Array all show
View all logical drive information for slot 0 array b
HPACUCLI Ctrl slot=0 Array B LD all show
View all physical drive information for slot 0 array b
HPACUCLI Ctrl slot=0 Array B PD all show
View Slot 0 Array B all physical drive states
HPACUCLI Ctrl slot=0 Array B PD all show status
Create:
Create a raid1+0 array with the 3,4,5,6 dial
HPACUCLI Ctrl slot=0 Create TYPE=LD Drives=1i:1:3,1i:1:4,2i:1:5,2i:1:6 raid=1+0
Create a RAID5 array with the 3,4,5 dial
HPACUCLI Ctrl slot=0 Create TYPE=LD Drives=1i:1:3,1i:1:4,2i:1:5 raid=5
Create a RAID0 array with 3rd number plate
HPACUCLI Ctrl slot=0 Create TYPE=LD Drives=1i:1:3 raid=0
Delete:
Force Delete Array B
HPACUCLI Ctrl slot=0 Array B Delete forced
Forcing the removal of logical disks 2
HPACUCLI Ctrl slot=0 Logicaldrive 2 Delete forced
Cache:
Close the Physical disk cache
HPACUCLI Ctrl slot=0 Modify drivewritecache=disable
Open Logical Disk Cache
HPACUCLI Ctrl slot=0 Logicaldrive 2 Modify Caching=enable
Turn on RAID write cache without battery
HPACUCLI Ctrl slot=0 Modify nobatterywritecache=enable
Set read/write percentage
HPACUCLI Ctrl slot=0 Modify CACHERATIO=10/90
Light:
Turn on the LED light for array b disk
HPACUCLI Ctrl slot=0 Array B Modify Led=on
Turn on the LED light on disk 3rd
HPACUCLI CTRL slot=0 PD 1i:1:3 Modify Led=on
To view the cache information:
HPACUCLI Ctrl all show Config Detail | Grep-i Cache
Problems encountered:
After SSD made RAID0, turn on Logical disk cache times wrong, as follows
= Ctrl Slot=0 Logicaldrive 8 Modify caching=enable forced
Error:invalid Drive Specified:8
Observation Status: Ctrl slot=0 Logicaldrive 6 Show Note the last item is
LD acceleration method:hp SSD Smart Path (This status cannot be cached for logical disks)
Using commands
= = Ctrl slot=0 Array F Modify ssdsmartpath=disable
Switch to LD acceleration Method:controller Cache
You can set it up successfully.
CTRL slot=0 Logicaldrive 6 Show
HP HPACUCLI Tools use