beautypg.com

Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 101

background image

Hitachi Command Control Interface (CCI) User and Reference Guide

83

Example of CCI commands with Instance-0 on HOSTA:

„

When the command execution environment is not set, set an instance number.

For C shell: # setenv HORCMINST 0
For Windows: set HORCMINST=0

„

Designate a group name (Oradb) and a local instance 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 Figure 2.42).

„

Designate a volume name (oradev1) and a local instance 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 Figure 2.42).

„

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 CCI commands with Instance-1 on HOSTA:

„

When the command execution environment is not set, set an instance number.

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

„

Designate a group name and a remote instance 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 2.42).

„

Designate a volume name (oradev1) and a remote instance 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 Figure 2.42).

„

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 -