3–4
Maintenance log and tracing functions
Hitachi AMS 2000 Family Command Control Interface (CCI) Reference Guide
•
Trace files
The command trace file is used for maintenance
maintenance. It is not created normally. If the source of an error cannot be
identified by means of 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 consist of the
trace level, file size, mode, and so on Increasing the trace level enables
more detailed tracing. Tracing is made in wraparound within the range of
the file size. The HORCM creates the trace file according to the trace level
specified in the HORCM start-up shell script set to activate the HORCM.
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
and maintenance. If no trace control parameters can be
specified using the environmental variables in you’s command execution
environment, it is possible to change the trace control parameters into the
global parameters using this command.
lists and describes the
parameters of the trace control command.
•
Table 3-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)
Table 3-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.
Summary of Contents for AMS 2000 Series
Page 6: ...vi Table of Contents Hitachi AMS 2000 Family Command Control Interface CCI Reference Guide ...
Page 244: ...4 18 Command options Hitachi AMS 2000 Family Command Control Interface CCI Reference Guide ...
Page 261: ...1 Hitachi AMS 2000 Family Command Control Interface CCI Reference Guide ...