300
Chapter 4 Performing CCI Operations
4.16.3
Target Commands for Protection
The following commands are controlled by the Protection Facility:
Horctakeover
,
Paircurchk
,
Paircreate
,
Pairsplit
,
Pairresync
,
Pairvolchk
,
Pairevtwait
,
Pairsyncwait
,
raidvchkset
,
raidvchkdsp
.
Pairdisplay
is not included. When the command is issued to non-
permitted volumes, CCI rejects the request with error code “
EX_ENPERM
”.
Pairdisplay
command shows all volumes, so that you can confirm non-permitted
volumes. Non-permitted volumes are shown without LDEV# information. As shown below,
the LDEV# information is “
**** ”
(-CLI is “
–
”
).
# pairdisplay -g oradb
Group PairVol(L/R) (Port#,TID,LU-M),Seq#, LDEV#.P/S,Status, Seq#,P-LDEV# M
oradb oradev1(L) (CL1-D , 3, 0-0) 35013
****..---- ----,----- ---- -
oradb oradev1(R) (CL1-D , 3, 1-0) 35013
****..---- ----,----- ---- -
Raidscan
command shows all volumes same as current specification, because it does not
need HORCM_DEV and HORCM_INST on horcm.conf. If you want to know permitted
volumes at
raidscan
, you can use
raidscan -find
. The
-find
option shows device file
name and storage system information by using internal Inquiry result. You can use
raidscan -find
to make horcm.conf, because only permitted volumes are shown with
host side view. Example for HP-UX systems:
# ioscan -fun | grep rdsk | raidscan -find
DEVICE_FILE UID S/F PORT TARG LUN SERIAL LDEV PRODUCT_ID
/dev/rdsk/c0t3d0 0 F CL1-D 3 0 35013 17 OPEN-3
/dev/rdsk/c0t3d1 0 F CL1-D 3 1 35013 18 OPEN-3
4.16.4
Permission Command
CCI recognizes permitted volumes at the result of “permission command”. The permission
command is
-find inst
option of
raidscan
. This option issues Inquiry to specified device file
to get Ser# and LDEV# from RAID storage system, and checks an identification for volumes of
horcm.conf to all of own host volumes, then stores the result within HORCM of the instance.
This permission command is started by
/etc/horcmgr
automatically.
The following example shows the relation between device file and horcm.conf in case of a
manual operation for HP-UX system. All of volumes of ioscan are permitted.
# ioscan -fun | grep rdsk | raidscan -find
inst
DEVICE_FILE Group PairVol PORT TARG LUN M SERIAL LDEV
/dev/rdsk/c0t3d0 oradb oradev1 CL1-D 3 0 - 35013 17
/dev/rdsk/c0t3d0 oradb oradev1 CL1-D 3 0 0 35013 17
Содержание TAGMASTORE MK-90RD011-25
Страница 2: ......
Страница 8: ...viii Preface ...
Страница 18: ...xviii Contents ...
Страница 180: ...162 Chapter 3 Preparing for CCI Operations ...
Страница 250: ...232 Chapter 4 Performing CCI Operations Vol Type logical unit LU type e g OPEN V OPEN 9 ...
Страница 370: ...352 Chapter 5 Troubleshooting ...
Страница 388: ...370 Acronyms and Abbreviations ...