beautypg.com

Environment variables, Environment variables 92 – HP XP RAID Manager Software User Manual

Page 92

background image

92

HP StorageWorks Disk Array XP RAID Manager: User’s Guide

Note

This registration process has some risk because it is executed automatically
upon /etc/horcmgr startup to validate the –fd option and is done without
checking for protection mode. The permitted volume registration brings a
performance degradation in horcmstart.sh (RM startup), but the RM
daemon runs as usual, depending on how many devices a host has. If you
want RM to start up faster in non-protection mode, set $HORCMPERM to
SIZE 0 byte

as a dummy file or set HORCMPERM=MGRNOINST. At

that time, the –fd option will show the Device_File name as “Unknown.”
Afterwards, you can validate the –fd option by using raidscan –find inst.

Environment variables

$HORCMPROMOD

This environment variable sets protection mode ON by force. If your
command device was created with protection mode OFF, this parameter
forces protection mode ON, as shown in the table below.

$HORCMPERM

This variable is used to specify the RM permission file. If no file name is
specified, the default is /etc/horcmperm.conf, or /etc/horcmpermn.conf
(where n is the instance number).

• If an RM permission file exists, then /etc/horcmgr executes the

following command to permit the volumes listed in the file.

(HP-UX)

cat $HORCMPERM | /HORCM/usr/bin/raidscan –find inst

Original Command

Device Setting

HORCMPROMOD

Resulting Mode

Protection mode ON

No Effect

(already on)

Protection mode ON

Protection mode OFF

Variable not set

Protection mode OFF

Variable set

Protection mode ON