beautypg.com

Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 111

background image

Hitachi Command Control Interface (CCI) User and Reference Guide

93

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

# setenv HORCC_MRCF 1

For Windows:

set HORCMINST=0

set HORCC_MRCF=1

„

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

These commands create pairs for all LUs assigned to groups Oradb and Oradb1 in the
configuration definition file (four pairs for the configuration in Figure 2.44).

„

Designate a group name and display pair status.
# pairdisplay -g oradb -m cas

Group PairVol(L/R) (Port#,TID,LU-M),Seq#,LDEV#.P/S,Status, Seq#,P-LDEV# M
oradb oradev1(L) (CL1-A , 1, 1-0) 30053 266.. P-VOL PAIR, 30053 268 -
oradb oradev1(R) (CL1-D , 2, 1-0) 30053 268.. S-VOL PAIR, ----- 266 -
oradb1 oradev11(R) (CL1-D , 2, 1-1) 30053 268.. P-VOL PAIR, 30053 270 -
oradb2 oradev21(R) (CL1-D , 2, 1-2) 30053 268.. SMPL ----, ----- ---- -
oradb oradev2(L) (CL1-A , 1, 2-0) 30053 267.. P-VOL PAIR, 30053 269 -
oradb oradev2(R) (CL1-D , 2, 2-0) 30053 269.. S-VOL PAIR, ----- 267 -
oradb1 oradev12(R) (CL1-D , 2, 2-1) 30053 269.. P-VOL PAIR, 30053 271 -
oradb2 oradev22(R) (CL1-D , 2, 2-2) 30053 269.. SMPL ----, ----- ---- -

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

# setenv HORCC_MRCF 1

For Windows:

set HORCMINST=1

set HORCC_MRCF=1

„

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

These commands create pairs for all LUs assigned to groups Oradb and Oradb1 in the
configuration definition file (four pairs for the configuration in Figure 2.44).