Raid manager trace files, Raid manager trace control command, Command logging for audit – HP XP P9500 Storage User Manual
Page 46: Logging other than raidcom command
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.
lists and describes the parameters of the trace control command.
Table 9 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
Specifies the trace type defined internally.
Trace type parameter
Specifies the command or RAID Manager instance for which the trace control
parameters are changed.
Trace change instruction
Command logging for audit
•
•
Logging other than raidcom command
This section explains the logging other than the raidcom command described in
RAID Manager supports command logging, this logging function cannot be used for auditing the
script issuing the command. Thus, RAID Manager supports the function logging the result of the
command executions by expanding the current logging.
This function has the following control parameters.
•
$HORCC_LOGSZ variable
This variable is used to specify a maximum size (in units of KB) and normal logging for the
current command. /HORCM/log*/horcc_HOST.log file is moved to
/HORCM/log*/horcc_HOST.oldlog file when reaching in the specified maximum size. If this
variable is not specified or specified as 0, it is same as the current logging for only command
error.
This variable is able to define to the environment variable and/or horcc_HOST.conf as
discussed below.
For example setting 2MB size: HORCC_LOGSZ=2048 Export HORCC_LOGSZ
•
/HORCM/log*/horcc_HOST.conf file
This file is used to describe HORCC_LOGSZ variable and the masking variable for logging.
If the HORCC_LOGSZ as the environment variable is not specified, then HORCC_LOGSZ
46
RAID Manager software environment