3 target commands for protection, 4 permission command – Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 318

Advertising
background image

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

Advertising