Hitachi MK-90RD011-25 Computer Drive User Manual


 
304 Chapter 4 Performing CCI Operations
4.16.7 Environmental Variables
$HORCMPROMOD. This environmental parameter turns protection mode ON as specified in
Table 4.51. If your command device is set for non-pr
otection mode, this parameter sets it to
protection mode.
Table 4.51 Relation between HORCMPROMOD and Command Device
Command Device HORCMPROMOD Mode
Protection mode Don’t care Protection mode
Not specified Non-protection mode Non-protection mode
Specified Protection mode
$HORCMPERM. This variable is used to specify HORCM permission file name. If no file name
is specified, “/etc/horcmperm.conf” or “/etc/horcmperm*.conf” (* is the instance
number) is the default.
If HORCM permission file exists, then “/etc/horcmgr” executes the following command
to permit the volumes specified.
Example for UNIX systems:
cat $HORCMPERM | /HORCM/usr/bin/raidscan -find inst
Example for Windows systems:
type $HORCMPERM | x:\HORCM\etc\raidscan.exe -find inst
If no HORCM permission file exists, then “/etc/horcmgr” executes the built-in command
to permit all volumes of own host. Examples:
HP-UX: ioscan -fun | grep -e rdisk -e rdsk | /HORCM/usr/bin/raidscan -find inst
Linux: ls /dev/sd* | /HORCM/usr/bin/raidscan -find inst
zLinux: ls /dev/sd* /dev/dasd*| /HORCM/usr/bin/raidscan -find inst
Solaris: ls /dev/rdsk/* | /HORCM/usr/bin/raidscan -find inst
AIX: lsdev -C -c disk | grep hdisk | /HORCM/usr/bin/raidscan -find inst
Tru64 UNIX: ls /dev/rdisk/dsk* | /HORCM/usr/bin/raidscan -find inst
Digital UNIX: ls /dev/rrz* | /HORCM/usr/bin/raidscan -find inst
DYNIX/ptx: /etc/dumpconf -d | grep sd | /HORCM/usr/bin/raidscan -find inst
IRIX64: ls /dev/rdsk/*vol /dev/rdsk/*/*vol/* | /HORCM/usr/bin/raidscan -find inst
OpenVMS:
/HORCM/usr/bin/raidscan -pi ‘$1$DGA0-10000 DKA0-10000 DGA0-10000’ -find inst
Windows: x:\HORCM\etc\raidscan.exe -pi $PhysicalDrive -find inst
“/etc/horcmgr” does not execute the built-in command if the following are specified to
$HORCMPERM. This is used to execute a system command to permit the volumes
specified from a user’s shell script.
HORCMPERM=MGRNOINST.