Environment variables, Horcmpromod – HP XP P9500 Storage User Manual

Page 181

Advertising
background image

DEVICE_FILE Group PairVol Device_File M SERIAL LDEV
Harddisk20 oradb1 oradev1 Harddisk20 1 35013 17
Harddisk21 oradb1 oradev2 Harddisk21 1 35013 18
Harddisk22 oradb oradev3 Harddisk22 1 35013 19
Harddisk23 - - - 1 35013 20

Without a $HORCMPERM file: Commands to run on different operating systems

If NO $HORCMPERM file exists, run a command on the host to permit all volumes on the host.

Table 41 (page 181)

shows the command to run on each operating system.

Table 41 Without a $HORCMPERM file: Commands to run on different operating systems

Command

System

ioscan -fun | grep -e rdisk -e rdsk | /HORCM/usr/bin/raidscan -find inst

HP-UX

ls /dev/sd* | /HORCM/usr/bin/raidscan -find inst

Linux

ls /dev/sd* /dev/dasd*| /HORCM/usr/bin/raidscan -find inst

zLinux

ls /dev/rdsk/* | /HORCM/usr/bin/raidscan -find inst

Solaris

lsdev -C -c disk | grep hdisk | /HORCM/usr/bin/raidscan -find inst

AIX

ls /dev/rdisk/dsk* | /HORCM/usr/bin/raidscan -find inst

Tru64 UNIX

ls /dev/rrz* | /HORCM/usr/bin/raidscan -find inst

Digital UNIX

/etc/dumpconf -d | grep sd | /HORCM/usr/bin/raidscan -find inst

DYNIX/ptx

ls /dev/rdsk/*vol /dev/rdsk/*/*vol/* | /HORCM/usr/bin/raidscan -find inst

IRIX64

/HORCM/usr/bin/raidscan -pi '$1$DGA0-10000 DKA0-10000 DGA0-10000' -find inst

OpenVMS

X:\HORCM\etc\raidscan.exe -pi $PhysicalDrive -find inst

Windows

NOTE:

This registration process has risk because it is executed automatically by /etc/horcmgr

without judgment for protection mode in order to validate the -fd option. This registration brings
a degradation in horcmstart.sh, but HORCM daemon has been running as usual, and it will depend
on how many devices a host has. To start faster at HORCM faster in non-protection mode, create
the $HORCMPERM file of "SIZE 0 byte" as a dummy file or to set HORCMPERM=MGRNOINST.
At this time, the -fd option shows Device_File name as Unknown, and after you can use raidscan
-find inst

to validate the -fd option.

Environment variables

$HORCMPROMOD

This environment variable turns protection mode ON as specified in the following table. If your
command device is set for non-protection mode, this parameter sets it to protection mode.

Table 42 Relation between HORCMPROMOD and command device

Mode

HORCMPROMOD

Command Device

Protection mode

Don't care

Protection mode

Non-protection mode

Not specified

Non-protection mode

Protection mode

Specified

Data Protection facility

181

Advertising
This manual is related to the following products: