Hpacucli

From Whats notepad

Jump to: navigation, search

This tool is a proprietary one created by HP. It can do both reporting and management.

List all controllers:

server:~# hpacucli controller all show

Smart Array 6i in Slot 0      ()
List arrays on controller in slot 0:
server:~# hpacucli ctrl slot=0 logicaldrive all show status 
logicaldrive 1 (33.9 GB, RAID RAID 1+0):  OK
logicaldrive 2 (136.7 GB, RAID RAID 1+0):  OK

I don't know why it reports RAID 1+0. This is regular RAID1 arrays.

List physical drives on controller in slot 0:

server:~# hpacucli ctrl slot=0 pd all show status

physicaldrive 1:0 (port 1:id 0, 36.4 GB): OK
physicaldrive 1:1 (port 1:id 1, 36.4 GB): OK
physicaldrive 1:2 (port 1:id 2, 146.8 GB): OK
physicaldrive 1:3 (port 1:id 3, 146.8 GB): OK
Summarized status:

server:~# hpacucli ctrl slot=0 show config
Smart Array 6i in Slot 0      ()
  array A (Parallel SCSI, Unused Space: 0 MB)
     logicaldrive 1 (33.9 GB, RAID 1+0, OK)
     physicaldrive 2:0   (port 2:id 0 , Parallel SCSI, 36.4 GB, OK)
     physicaldrive 2:1   (port 2:id 1 , Parallel SCSI, 36.4 GB, OK)
  array B (Parallel SCSI, Unused Space: 0 MB)
     logicaldrive 2 (136.7 GB, RAID 1+0, OK)
     physicaldrive 2:2   (port 2:id 2 , Parallel SCSI, 146.8 GB, OK)
     physicaldrive 2:3   (port 2:id 3 , Parallel SCSI, 146.8 GB, OK)

categoria:utilitats

Personal tools