HP XP P9000 RAID Manager Installation and Configuration User Guide (T1610-96046, August 2012)

Example of RAID Manager commands with HOSTA:
Designate a group name (Oradb) and a local host P- VOL a case.
# paircreate -g Oradb -f never -vl
This command creates pairs for all LUs assigned to group Oradb in the configuration definition
file (two pairs for the configuration in above figure).
Designate a volume name (oradev1) and a local host P-VOL a case.
# paircreate -g Oradb -d oradev1 -f never -vl
This command creates pairs for all LUs designated as oradev1 in the configuration definition file
(CL1-A,T1,L1 and CL1-D,T2,L1 for the configuration in above figure).
Designate a group name and display pair status.
# pairdisplay -g Oradb
Group PairVol(L/R) (P,T#,L#), Seq#, LDEV#..P/S, Status, Fence, Seq#, P-LDEV# M
oradb oradev1(L) (CL1-A, 1,1) 30053 18.. P-VOL COPY NEVER, 30053 19 -
oradb oradev1(R) (CL1-D, 2,1) 30053 19.. S-VOL COPY NEVER, ----- 18 -
oradb oradev2(L) (CL1-A, 1,2) 30053 20.. P-VOL COPY NEVER, 30053 21 -
oradb oradev2(R) (CL1-D, 2,2) 30053 21.. S-VOL COPY NEVER, ----- 20 -
Example of RAID Manager commands with HOSTB:
Designate a group name and a remote host P-VOL a case.
# paircreate -g Oradb -f never -vr
This command creates pairs for all LU designated as Oradb in the configuration definition file (two
pairs for the configuration in figure above).
Designate a volume name (oradev1) and a remote host P-VOL a case.
# paircreate -g Oradb -d oradev1 -f never -vr
This command creates pairs for all LUs designated as oradev1 in the configuration definition file
(CL1-A,T1,L1 and CL1-D,T2,L1 for the configuration in above figure).
Designate a group name and display pair status.
# pairdisplay -g Oradb
Group PairVol(L/R) (P,T#,L#), Seq#,LDEV#..P/S, Status, Fence,Seq#,P-LDEV# M
oradb oradev1(L) (CL1-D, 2,1) 30053 19.. S-VOL COPY NEVER ,----- 18 -
oradb oradev1(R) (CL1-A, 1,1) 30053 18.. P-VOL COPY NEVER ,30053 19 -
oradb oradev2(L) (CL1-D, 2,2) 30053 21.. S-VOL COPY NEVER ,----- 20 -
oradb oradev2(R) (CL1-A, 1,2) 30053 20.. P-VOL COPY NEVER ,30053 21 -
The command device is defined using the system raw device name (character-type device file
name). The command device defined in the configuration definition file must be established in a
way to be following either every instance. If one command device is used between different
instances on the same SCSI port, then the number of instances is up to 16 per command device.
If this restriction is exceeded, then use a different SCSI path for each instance. For example, the
command devices for the following figure would be:
HP-UX:
HORCM_CMD of HORCMINST0 = /dev/rdsk/c0t0d1 HORCM_CMD of HORCMINST1 =
/dev/rdsk/c1t0d1
Solaris:
HORCM_CMD of HORCMINST0 = /dev/rdsk/c0t0d1s2 HORCM_CMD of HORCMINST1 =
/dev/rdsk/c1t0d1s2
68 Sample configuration definition files