beautypg.com

Hitachi TAGMASTORE MK-90RD011-25 User Manual

Page 372

background image

354

Appendix A Maintenance Logs and Tracing Functions

The start-up log, error log, trace, and core files are stored as shown in Table A.1. The user
should specify the directories for the HORCM and command log files using the HORCM_LOG
and HORCC_LOG environmental variables as shown in Table A.2. If it is not possible to create
the log files, or if an error occurs before the log files are created, the error logs are output
in the system log file. If the HORCM activation fails, the system administrator should check
the system log file, identify the error cause, and take the proper action. Chapter 5 lists and
describes the messages output to the system log file and provides recommended actions for
resolving the error conditions. The system log file for UNIX-based systems is the syslog file.
The system log file for Windows-based systems is the event log file.

Table A.1

Log Files

File UNIX-Based

Systems

Windows-Based

Systems

Start-up log

HORCM start-up log:

$HORCM

_LOG/horcm_HOST.log

Command log: $HORCC

_LOG/horcc_HOST.log

$HORCC_LOG/horcc_HOST.oldlog

HORCM start-up log:

$HORCM_LOG\horcm_HOST_log.txt
Command log: $HORCC

_LOG\horcc_HOST_log.txt

$HORCC_LOG\horcc_HOST_oldlog.txt

Error log

HORCM error log:

$HORCM

_LOG/horcmlog_HOST/horcm.log

HORCM error log:

$HORCM

_LOG\horcmlog_HOST\horcm_log.txt

Trace HORCM

trace:

$HORCM

_LOG/horcmlog_HOST/horcm_PID.trc

Command trace:

$HORCM

_LOG/horcmlog_HOST/horcc_PID.trc

HORCM trace:

$HORCM_LOG\horcmlog_HOST\horcm_PID_trc.txt
Command trace:

$HORCM_LOG\horcmlog_HOST\horcc_PID_trc.txt

Core HORCM

core:

$HORCM

_LOG/core_HOST_PID/core

Command core:

$HORCM

_LOG/core_HOST_PID/core

HORCM 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 which contains the log file depends on the user’s 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 environmental 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 environmental 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 environmental variable.