Raid manager trace files, Raid manager trace control command – HP XP P9500 Storage User Manual

Page 44

Advertising
background image

NOTE:

HOST denotes the host name of the corresponding machine. PID denotes the process ID

of that machine.

The location of the directory containing the log file depends on your command execution environment
and the HORCM execution environment. The command trace file and core file reside together
under the directory specified in the HORCM execution environment. A directory specified using
the environment variable HORCM_LOG is used as the log directory in the HORCM execution
environment. If no directory is specified, the directory /tmp is used. A directory specified using
the environment variable HORCC_LOG is used as the log directory in the command execution
environment. If no directory is specified, the directory /HORCM/log* is used (* = instance number).
A nonexistent directory may be specified as a log directory using the environment variable.

Table 7 Environment variables for log directories

Definition

Directory name

A directory specified using the environment variable HORCM_LOG. The HORCM log file, trace file, and
core file as well as the command trace file and core file are stored in this directory. If no environment variable
is specified, “/HORCM/log/curlog” is used.

$HORCM_LOG

A directory specified using the environment variable HORCC_LOG. The command log file is stored in this
directory. If no environment variable is specified, the directory “/HORCM/log*” is used (* is the instance

$HORCC_LOG

number). While the HORCM is running, the log files are stored in the $HORCM_LOG directory shown in
(a). When the HORCM starts up, the log files created in the operation are stored automatically in the
$HORCM_LOGS directory shown in (b).

a. HORCM log file directory in operation

$HORCM_LOG = /HORCM/log*/curlog (* is instance number)

b. HORCM log file directory for automatic storing

$HORCM_LOGS = /HORCM/log*/tmplog (* is instance number)

RAID Manager trace files

The command trace file is used for maintenance aiming at troubleshooting. It is not created normally.
If a cause of an error cannot be identified using the log file, the environment variables or trace
control commands with trace control parameters are issued to start tracing and the trace file is
created. The trace control parameters include trace level, file size, mode, etc. More detailed tracing
is enabled by increasing the trace level. Tracing is made in wraparound within the range of the
file size. HORCM makes the trace file according to the trace level specified in the HORCM startup
shell script set to activate the HORCM.

RAID Manager trace control command

The trace control command (one of the HORCM control commands) sets or changes the trace
control parameters. This command is used for troubleshooting and maintenance. If no trace control
parameters can be specified using the environment variables in your command execution
environment, it is possible to change the trace control parameters into the global parameters using
this command.

Table 8 (page 44)

lists and describes the parameters of the trace control command.

Table 8 Trace command parameters

Function

Parameter

Specifies the trace level, range = 0 to 15.

Trace level parameter

Specifies the trace file size in KB.

Trace size parameter

Specifies the buffer mode or non-buffer mode for writing data in the trace file.

Trace mode parameter

44

RAID Manager software environment

Advertising
This manual is related to the following products: