Raid group data script (raidgrp), Raidgrp usage, Raidgrp sample output – HP XP Performance Advisor Software User Manual

Page 54

Advertising
background image

RAID group data script (RAIDGRP)

PA XP maintains some information about the RAID groups of the array, such as the RAID level, ACP Pair,

Control Unit, and some of the mechanics of the disks.

RAIDGRP usage

Following is the general format of the command to invoke the script:
raidgrp -dkc <serial #> -rg <raid group> [-auth <user:passwd>] [-ms

<URL>][-L] [-d<char>] [-hr] [-?]

[-pf <password file>]

where:
Required arguments:

–dkc

The array serial number.

–rg

The RAID group that is being queried.

Optional arguments:

–ms

The URL of the management station.

–auth

The username and password.

–pf

Can be used in place of –auth.

NOTE:

The password file must be created using the encrypt command only.

–d

The delimiter for delimited display.

–hr

Displays human-readable output.

–?

Prints the usage statement.

RAIDGRP sample output

The following are output data samples for the CLUI shell script described in the previous section:

raidgrp -dkc 30143 -rg 1-1 hr

Array: 10055

Raid Group: 1-1

Raid Level: 1

ACP Pair: AM

Disk Mech 1: R0000

Disk Mech 2: R0100

Disk Mech 3: R0200

Disk Mech 4: R0300

raidgrp -dkc 10055 -rg 1-1 L

Array,Raid Group,Raid Level,ACP Pair,Disk Mech 1,Disk Mech 2,Disk Mech 3,

Disk Mech 4

10055,1-1,1,AM,R0000,R0100,R0200,R0300

raidgrp -dkc 127 -rg 1-1

10055,1-1,1,AM,R0000,R0100,R0200,R0300

When using the raidgrp command on concatenated RAID groups, the RAID groups must be in double

quotes, as shown in the following sample:

54

Reporting and configuring CLUI shell scripts

Advertising