Raid manager trace files, Raid manager trace control command – HP XP RAID Manager Software User Manual

Page 43

Advertising
background image

Table 6 Log file names and locations (continued)

Windows-based systems

UNIX-based systems

File

HORCM trace:

HORCM trace:

Trace

$HORCM_LOG\horcmlog_HOST\horcm_PID_trc.txt

$HORCM_LOG/horcmlog_HOST/horcm_PID.trc

Command trace:

Command trace:

$HORCM_LOG\horcmlog_HOST\horcc_PID_trc.txt

$HORCM_LOG/horcmlog_HOST/horcc_PID.trc

HORCM core: $HORCM_LOG\core_HOST_PID\core

HORCM core:

Core

Command core:

$HORCM_LOG/core_HOST_PID/core

$HORCM_LOG\core_HOST_PID\core

Command core:

$HORCM_LOG/core_HOST_PID/core

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

RAID Manager log and trace files

43

Advertising
This manual is related to the following products: