HP XP7 Storage User Manual

Page 48

Advertising
background image

For example setting 2MB size: HORCC_LOGSZ=2048 Export HORCC_LOGSZ

/HORCM/log*/horcc_HOST.conf file

This file is used to describe HORCC_LOGSZ variable and the masking variable for logging.
If the HORCC_LOGSZ as the environment variable is not specified, then HORCC_LOGSZ
variable of this file is used. If both variable is not specified, then it is same as the current
logging for only command error.

HORCC_LOGSZ variable

This variable must be described as follows: HORCC_LOGSZ=2048

The masking variable

This variable is used to mask (disable) the logging by specifying a condition of the command
and returned value (except inqraid or EX_xxx error code). This variable is valid for NORMAL
exit.

If executing the pairvolchk command repeatedly at every interval (30 seconds), logging
of this command may not be wanted. Therefore, you can mask it by specifying
HORCC_LOGSZ=0 as shown below, and you may need to change your scripts if tracing is
ON.

Example of masking pairvolchk on a script:

Export HORCC_LOGSZ=0 Pairvolchk -g xxx -s Unset HORCC_LOGSZ

The masking feature is to enable the tracing without changing their scripts. And this feature
is available for all RAID Manager commands (except inqraid or EX_xxx error code).

For example, if you want to mask pairvolchk (returns 22) and raidqry, specify the following:

pairvolchk=22 raidqry=0

You can track script performance, and then decide to mask by auditing the command logging
file, as needed.

Relationship between an environment variable and horcc_HOST.conf

Logging depends on the $HORCC_LOGSZ environment variable and/or the
HORCC_HOST.conf file as shown below.

Performing

HORCC_HOST.conf

$HORCC_LOGSZ

Tracing within this APP

Any (does not matter)

=value

NO tracing within this APP

=0

Global tracing within this RAID Manager instance

HORCC_LOGSZ=value

Unspecified

NO global tracing within this RAID Manager instance

HORCC_LOGSZ=0

Use the default value (0) The same as the current
logging for only command error

Unspecified or nonexistent

48

RAID Manager software environment

Advertising
This manual is related to the following products: