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-protection 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.
Содержание 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 ...