Useful ACU CLi Commands

Show the phyiscal and logical drives:

ctrl slot=1 show config

Output:

Smart Array P400 in Slot 1 (sn:n/A)

array A (SAS, Unused Space: 0 MB)
logicaldrive 1 (136.7 GB, RAID 1, OK)

physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK)
physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK)

unassigned

physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 146 GB, OK)
physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 146 GB, OK)

Show the details about the controller

ctrl slot=1 show

Smart Array P400 in Slot 1
Bus Interface: PCI
Slot: 1
Serial Number:
Cache Serial Number:
RAID 6 (ADG) Status: Enabled
Controller Status: OK
Hardware Revision: Rev D
Firmware Version: 7.08
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 25% Read / 75% Write
Drive Write Cache: Disabled
Total Cache Size: 512 MB
No-Battery Write Cache: Disabled
Cache Backup Power Source: Batteries
Battery/Capacitor Count: 1
Battery/Capacitor Status: OK
SATA NCQ Supported: True

Show the details about the Logical Disks

ctrl slot=1 ld 1 show detail

Smart Array P400 in Slot 1

array A

Logical Drive: 1
Size: 136.7 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 35132
Strip Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier: 600508B1001046395656433041330009
Mount Points: None
Logical Drive Label: A0003B20P61620F9VVC0A313FC
Mirror Group 0:
physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK)
Mirror Group 1:
physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK)

Show a Detailed config of the Array, Logical Drives and Physical Drives

controller all show config detail

Smart Array P400 in Slot 1
Bus Interface: PCI
Slot: 1
Serial Number:
Cache Serial Number:
RAID 6 (ADG) Status: Enabled
Controller Status: OK
Hardware Revision: Rev D
Firmware Version: 7.08
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: True
Cache Status: OK
Accelerator Ratio: 25% Read / 75% Write
Drive Write Cache: Disabled
Total Cache Size: 512 MB
No-Battery Write Cache: Disabled
Cache Backup Power Source: Batteries
Battery/Capacitor Count: 1
Battery/Capacitor Status: OK
SATA NCQ Supported: True

Array: A
Interface Type: SAS
Unused Space: 0 MB
Status: OK

 

Logical Drive: 1
Size: 136.7 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 35132
Strip Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier:
Mount Points: None
Logical Drive Label:
Mirror Group 0:
physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SAS, 146 GB, OK)
Mirror Group 1:
physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SAS, 146 GB, OK)

physicaldrive 2I:1:1
Port: 2I
Box: 1
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDD
Serial Number: 3
Model: HP EG0146FAWHU
Current Temperature (C): 30
Maximum Temperature (C): 36
PHY Count: 2
PHY Transfer Rate: Unknown, Unknown

physicaldrive 2I:1:2
Port: 2I
Box: 1
Bay: 2
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDD
Serial Number:
Model: HP EG0146FAWHU
Current Temperature (C): 30
Maximum Temperature (C): 36
PHY Count: 2
PHY Transfer Rate: Unknown, Unknown
Array: B
Interface Type: SAS
Unused Space: 0 MB
Status: OK

 

Logical Drive: 2
Size: 136.7 GB
Fault Tolerance: RAID 1
Heads: 255
Sectors Per Track: 32
Cylinders: 35132
Strip Size: 128 KB
Status: OK
Array Accelerator: Enabled
Unique Identifier:
Mount Points: None
Logical Drive Label:
Mirror Group 0:
physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SAS, 146 GB, OK)
Mirror Group 1:
physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SAS, 146 GB, OK)

physicaldrive 2I:1:3
Port: 2I
Box: 1
Bay: 3
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPDD
Serial Number:
Model: HP
Current Temperature (C): 30
Maximum Temperature (C): 37
PHY Count: 2
PHY Transfer Rate: Unknown, Unknown

physicaldrive 2I:1:4
Port: 2I
Box: 1
Bay: 4
Status: OK
Drive Type: Data Drive
Interface Type: SAS
Size: 146 GB
Rotational Speed: 10000
Firmware Revision: HPD6
Serial Number:
Model: HP DG0146FARVU
Current Temperature (C): 29
Maximum Temperature (C): 36
PHY Count: 2
PHY Transfer Rate: Unknown, Unknown

Remove Spare from Array A Logical Disk 1

ctrl slot=1 array A ld 1 remove spares=all

Create Logical Disk with all unassigned disks

ctrl slot=1 create type=ld

For more detail guide visit:

http://people.freebsd.org/~jcagle/hpacucli-readme

 

 71,326 total views,  44 views today

Running ACU CLI on ESXi 4.1

See this Great link

http://v-front.blogspot.com/2012/03/how-to-run-hp-online-acu-cli-for-linux.html

My quick Tip

Copy the ACU folder to ESXi via Datastore Browsers. SSH on to device, and Change to the directory in the VMFS store where you upload the ACU folder.

Run the following command to fix the permission issue:

. ./fix4esxi.sh (Remember the space between the two full stop)

To start ACU CLI run the following command:

./hpacucli

 

 22,538 total views,  1 views today