beautypg.com

HP XP RAID Manager Software User Manual

Page 70

background image

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.

70

Sample configuration definition files

This manual is related to the following products: