beautypg.com

Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 107

background image

Hitachi Command Control Interface (CCI) User and Reference Guide

89

Example of CCI commands with HOSTA (group Oradb1):

„

When the command execution environment is not set, set HORCC_MRCF to the
environment variable.

For C shell: # setenv HORCC_MRCF 1
For Windows: set HORCC_MRCF=1

„

Designate a group name (Oradb1) and a local host P-VOL a case.
# paircreate -g Oradb1 -vl

This command creates pairs for all LUs assigned to group Oradb1 in the configuration
definition file (two pairs for the configuration in Figure 2.43).

„

Designate a volume name (oradev1-1) and a local host P-VOL a case.
# paircreate -g Oradb1 -d oradev1-1 -vl

This command creates pairs for all LUs designated as oradev1-1 in the configuration
definition file (CL1-A,T1,L1 and CL1-D,T2,L1 for the configuration in Figure 2.43).

„

Designate a group name, and display pair status.
# pairdisplay -g Oradb1

Group PairVol(L/R) (Port#,TID,LU-M), Seq#,LDEV#..P/S, Status, Seq#,P-LDEV# M
oradb1 oradev1-1(L) (CL1-A, 1, 1 - 1) 30053 18..P-VOL COPY 30053 22 -
oradb1 oradev1-1(R) (CL2-C, 2, 1 - 0) 30053 22..S-VOL COPY ----- 18 -
oradb1 oradev1-2(L) (CL1-A, 1, 2 - 1) 30053 19..P-VOL COPY 30053 23 -
oradb1 oradev1-2(R) (CL2-C, 2, 2 - 0) 30053 23..S-VOL COPY ----- 19 -

Example of CCI commands with HOSTC (group Oradb1):

„

When the command execution environment is not set, set HORCC_MRCF to the
environment variable.

For C shell: # setenv HORCC_MRCF 1
For Windows: set HORCC_MRCF=1

„

Designate a group name and a remote host P-VOL a case.
# paircreate -g Oradb1 -vr

This command creates pairs for all LUs assigned to group Oradb1 in the configuration
definition file (two pairs for the configuration in Figure 2.43).

„

Designate a volume name (oradev1-1) and a remote host P-VOL a case.
# paircreate -g Oradb1 -d oradev1-1 -vr

This command creates pairs for all LUs designated as oradev1-1 in the configuration
definition file (CL1-A,T1,L1 and CL1-D,T2,L1 for the configuration in Figure 2.43).

„

Designate a group name and display pair status.
# pairdisplay -g Oradb1

Group PairVol(L/R) (Port#,TID,LU-M), Seq#, LDEV#..P/S, Status, Seq#,P-LDEV# M
oradb1 oradev1-1(L) (CL2-C, 2, 1 - 0) 30053 22..S-VOL COPY ----- 18 -
oradb1 oradev1-1(R) (CL1-A, 1, 1 - 1) 30053 18..P-VOL COPY 30053 22 -
oradb1 oradev1-2(L) (CL2-C, 2, 2 - 0) 30053 23..S-VOL COPY ----- 19 -
oradb1 oradev1-2(R) (CL1-A, 1, 2 - 1) 30053 19..P-VOL COPY 30053 23 -