beautypg.com

HP XP P9500 Storage User Manual

Page 67

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 the 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 the figure above).

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, 30054 19 -

oradb oradev1(R) (CL1-D, 2,1) 30054 19...S-VOL COPY NEVER, ----- 18 -

oradb oradev2(L) (CL1-A, 1,2) 30053 20...P-VOL COPY NEVER, 30054 21 -

oradb oradev2(R) (CL1-D, 2,2) 30054 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 the above figure).

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 the 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) 30054 19...S-VOL COPY NEVER, ----- 18 -
oradb oradev1(R) (CL1-A, 1,1) 30053 18...P-VOL COPY NEVER, 30054 19 -
oradb oradev2(L) (CL1-D, 2,2) 30054 21...S-VOL COPY NEVER, ----- 20 -
oradb oradev2(R) (CL1-A, 1,2) 30053 20...P-VOL COPY NEVER, 30054 21 -

The command device is defined using the system raw device name (character-type device file
name). For example, the command devices for the following figure would be:

HP-UX:

HORCM_CMD of HOSTA = /dev/rdsk/c0t0d1 HORCM_CMD of HOSTB = /dev/rdsk/c1t0d1

Solaris:

HORCM_CMD of HOSTA = /dev/rdsk/c0t0d1s2 HORCM_CMD of HOSTB = /dev/rdsk/c1t0d1s2
For Solaris operations with RAID Manager version 01-09-03/04 and higher, the command device
does not need to be labeled during format command.

AIX:

HORCM_CMD of HOSTA = /dev/rhdiskXX HORCM_CMD of HOSTB = /dev/rhdiskXX
where XX = device number assigned by AIX

Tru64 UNIX:

HORCM_CMD of HOSTA = /dev/rrzbXXc HORCM_CMD of HOSTB = /dev/rrzbXXc

Examples of RAID Manager configurations

67

This manual is related to the following products: