Environment variables, Environment variables 91 – HP XP Continuous Access Software User Manual

Page 90

Advertising
background image

90

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

Important

This registration process is not without price because it is executed
automatically upon /etc/horcmgr startup without checking for protection
mode in order to validate the –fd option. 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, then you can 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 use raidscan –find
inst

in order to validate the –fd option.

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/horcmperm*.conf
(where * is the instance number).

• If a 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

Advertising
This manual is related to the following products: