356
Appendix A Maintenance Logs and Tracing Functions
A.4 Logging Commands for Audit
RAID Manager supports the command error logging only, so this logging function will not be
able to use 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 parameter.
$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’ variable of this file is used. If both variable is not specified, then it is
same as the current logging for only command error.
HORCC_LOGSZ variable
This variable must be described as below format.
For Example
HORCC_LOGSZ=2048
The masking variable
This variable is used to mask (disable) the logging by specifying a condition of the
command and exit code (except inqraid or EX_xxx error code). This variable is valid for
NORMAL exit.
If the user is executing the pairvolchk repeatedly at every interval (i.e., 30 sec).they
may not be wanted to be logged its command. So they can mask it by specifying
HORCC_LOGSZ=0 as below, however they need to change their scripts if the tracing is
ON.
–
For example masking pairvolchk on the script
Export HORCC_LOGSZ=0
Pairvolchk -g xxx -s
Unset HORCC_LOGSZ
Содержание TAGMASTORE MK-90RD011-25
Страница 2: ......
Страница 8: ...viii Preface ...
Страница 18: ...xviii Contents ...
Страница 180: ...162 Chapter 3 Preparing for CCI Operations ...
Страница 250: ...232 Chapter 4 Performing CCI Operations Vol Type logical unit LU type e g OPEN V OPEN 9 ...
Страница 370: ...352 Chapter 5 Troubleshooting ...
Страница 388: ...370 Acronyms and Abbreviations ...