beautypg.com

Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 72

background image

54

Chapter 2 Overview of CCI Operations

dev_name for UNIX

In UNIX SAN environment, there are situations when the device file name will be changed, a
failover operation in UNIX SAN environment or every reboot under Linux when the SAN is
reconfigured. The CCI user needs to find NEW "Device Special File" and change HORCM_CMD
described in the CCI configuration file. Thus, CCI supports the following naming format
specifying Serial#/LDEV#/Port#:HINT as notation of the command device for UNIX:

\\.\CMD-Ser#-ldev#-Port#:HINT

HORCM_CMD

#dev_name dev_name dev_name

\\.\CMD-30095-250-CL1-A-1:/dev/rdsk/

If these names are specified, HORCM finds “\\.\CMD-Serial#-Ldev#-Port#” from the device
files specified by HINT at HORCM start-up. HINT must be specified “directory terminated
with ‘/’ on the device file name” or “directory including device file name pattern” as
below, for example:

/dev/rdsk/

Æ

this finds a specified CMD from /dev/rdsk/*

/dev/rdsk/c10 Æ this finds a specified CMD from /dev/rdsk/c10*
/dev/rhdisk

Æ

this finds a specified CMD from /dev/rhdisk*

The device files discovered during HINT are filtered with the following pattern:

HP-UX: /dev/rdsk/*

or

/dev/rdisk/disk*

Solaris: /dev/rdsk/*s2, AIX: /dev/rhdisk*
Linux : /dev/sd...., zLinux : /dev/sd....
MPE/iX: /dev/...
Tru64: /dev/rrz*c or /dev/rdisk/dsk*c or /dev/cport/scp*
DYNIX: /dev/rdsk/sd*
IRIX64: /dev/rdsk/*vol or /dev/rdsk/node_wwn/*vol/*

If a HINT is already specified, “:HINT” can be omitted for next command devices, and then a
command device will be found from the cached Inquiry information of HORCM for saving
unnecessary device scanning.

HORCM_CMD

#dev_name dev_name dev_name

\\.\CMD-30095-250-CL1:/dev/rdsk/ \\.\CMD-30095-250-CL2

Example for minimum specification. Specifies to use any command device for Serial#30095:
\\.\CMD-30095:/dev/rdsk/

Example for under Multi Path Driver. Specifies to use any port as the command device for
Serial#30095, LDEV#250:
\\.\CMD-30095-250:/dev/rdsk/

Example for full specification. Specifies the command device for Serial#30095, LDEV#250
connected to Port CL1-A, Host group#1:
\\.\CMD-30095-250-CL1-A-1:/dev/rdsk/

Other examples:
\\.\CMD-30095-250-CL1:/dev/rdsk/ \\.\CMD-30095-250-CL2

\\.\CMD-30095:/dev/rdsk/c1 \\.\CMD-30095:/dev/rdsk/c2