beautypg.com

Setting the command log size, Unix and windows only) – HP XP RAID Manager Software User Manual

Page 74

background image

74

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

Setting the command log size

(UNIX and Windows only)

Command execution error data is collected in the command log
($HORCC_LOG/horcc_HOST.log).

RM allows you to set a maximum size for this log. When the log reaches
the maximum size, the data is transferred to a different log.
($HORCC_LOG/horcc_HOST.oldlog).

You set the command log size by using either the command environment
variable $HORCC_LOGSZ (

see page 79)

or a variable in the file,

/HORCM/logn/horcc_HOST.conf (n = instance number).

As illustrated in the table below, the difference between the environmental
variable and the HOST.conf file variable is the range of logging.

Environmental variable and horcc_HOST.conf results

/HORCM/log

n

/horcc_

HOST

.conf file

Command log sizing is accomplished by setting a value for the variable
HORCC_LOGSZ, where the value is the desired HOST.log size. For
example

HORCC_LOGSZ=2048

$HORCC_LOGSZ

horcc_HOST.conf

Result

= value

Logging within this APP

= 0

No logging within this APP

HORCC_LOGSZ = value

Global logging within this RM instance

HORCC_LOGSZ = 0

No logging within this RM instance

unspecified

unspecified

All command execution errors logged in
/HORCM/logn/horcc_HOST.log only

n = instance number