Archive for the 'HP' Category

Understanding HP Smart Array

HP Array cards which have no BBWC only support Raid 0 and 1.

If you add a BBWC(Battery-backed write cache) it add extra memory to the cache and provides battery backup so if you lose power to the server. The data is saved in the cache which had not been written to the disk at the time of the power failure . When the power is restored to the server the raid controller continues where it left off and writes the data to the disk.

Adding a BBWC improves the performance of the raid via Array Accelerator and also provides:

  • Online RAID level migration
  • Online stripe size migration
  • Online array expansion
  • Online logical drive extension
  • Online drive firmware upgrade

To Check if you have a BBWC installed  run the following comand:

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

You can see the text in red show it has a Battery and Cache module installed and the Accelerator Ratio.

Also to see the Array Accelerator is enable on the Logiacl drive run the following command:

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

To do any task which you require a BBWC, make sure you have a battery present and is fully charged if you not you can not perform any of these task.

You may also notice that two options are  Drive Write Cache: and No-Battery Write Cache which are disabled. The following describes them:

Drive Write Cache: If enable means the array will use the onboard cache on the hard drive. It will write the data here first and then to the disk. If the server is not procted via UPS and looses power. Data in the cache will be lost and cause data corruption on the hard drive.

No-Battery Write Cache:If you have no battery installed or it is failed you can enable this feature to use the on-board cache of the raid controller.But if  the server is not protected via UPS and looses power. Data in the cache will be lost and cause data corruption on the hard drive.

There is a good article which describe this better:http://www.tricksguide.com/how-to-expand-array-extend-logical-drive-raid-hp-acu.html

 

23,779 total views, 7 views today

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

 

28,827 total views, 8 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

 

12,659 total views, 21 views today

List running processes VMware ESXi 4.1 – hpacucli

On Esxi 4.1 and you are running hpacucli command line to manage array on a HP smart raid card.

If you session get discounted while you run  hpacucli. When you reconnect to host and try run the command again it will saying the process is already running. Run the following command to find the Process ID (PID):

ps | grep hpacucli

Once you have the PID run the ‘Kill’ command followed by the PID. To kill the process, you should then be able to run the  hpacucli command.

8,068 total views, 5 views today