HOST
RAID Manager
Read(Instance request)
Getting LBA
Write with LBA
(to get configuration)
Figure 2.40 Hitachi TrueCopy Remote Configuration Example
Example of CCI 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 Figure 2.40.
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 Figure 2.40).
Designate a group name and display pair status.
# pairdisplay -g Oradb
Group PairVol(L/R)
(P,T#,L#), Seq#, LDEV#..P/S,
oradb
oradev1(L) (CL1-A, 1,1) 30053
oradb
oradev1(R) (CL1-D, 2,1) 30054
oradb
oradev2(L) (CL1-A, 1,2) 30053
oradb
oradev2(R) (CL1-D, 2,2) 30054
Example of CCI 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 2.40).
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 Figure 2.40).
Designate a group name and display pair status.
# pairdisplay -g Oradb
Group
PairVol(L/R)
oradb
oradev1(L)
(CL1-D, 2,1) 30054 19...S-VOL
oradb
oradev1(R)
(CL1-A, 1,1) 30053 18...P-VOL
oradb
oradev2(L)
(CL1-D, 2,2) 30054 21...S-VOL
oradb
oradev2(R)
(CL1-A, 1,2) 30053 20...P-VOL
Command device
Actual allocation
Getting configuration
18...P-VOL
19...S-VOL
20...P-VOL
21...S-VOL
(P,T#,L#), Seq#,LDEV#..P/S,
Hitachi Command Control Interface (CCI) User and Reference Guide
RAID
Table
0
1
Status, Fence,
Seq#, P-LDEV# M
COPY
NEVER,
30054
COPY
NEVER,
-----
COPY
NEVER,
30054
COPY
NEVER , -----
Status, Fence,
COPY
NEVER,
-----
COPY
NEVER,
30054
COPY
NEVER,
-----
COPY
NEVER,
30054
19
-
18
-
21
-
20
-
Seq#,P-LDEV# M
18 -
19 -
20 -
21 -
77