beautypg.com

A.2 trace files, A.3 trace control command – Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 373

background image

Hitachi Command Control Interface (CCI) User and Reference Guide

355

Table A.2

Log Directories

Directory Name

Definition

$HORCM LOG

A directory specified using the environmental 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 environmental

variable is specified, “/HORCM/log/curlog” is used.

$HORCC LOG

A directory specified using the environmental variable HORCC_LOG. The command log file is stored in

this directory. If no environmental variable is specified, the directory “/HORCM/log*” is used (* is the

instance 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)

A.2 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 environmental
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 start-up shell script set to activate the HORCM.

A.3 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 environmental variables in the user’s
command execution environment, it is possible to change the trace control parameters into
the global parameters using this command. Table A.3 lists and describes the parameters of
the trace control command.

Table A.3

Trace Command Parameters

Parameter Function

Trace level parameter

Specifies the trace level, range = 0 to 15.

Trace size parameter

Specifies the trace file size in KB.

Trace mode parameter

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

Trace type parameter

Specifies the trace type defined internally.

Trace change instruction

Specifies either the command or the HORCM (CCI instance) for which the trace control

parameters are changed.