3–68
Maintenance log and tracing functions
Hitachi AMS 2000 Family Command Control Interface (CCI) Reference Guide
This function validates logging of a command without changing you
script.
# For example,
# if you want to mask pairvolchk (returns 22) and raidqry,
# you can specify as below.
pairvolchk=22
raidqry=0
The user decides whether or not to mask you script after tracking the
$HORCC_LOG/horcc_HOST.conf file without masking you script.
• Relation between the environmental variable and the $HORCC_LOG/
horcc_HOST.conf file
When the HORCC_LOGSZ environmental variable is not specified, the
HORCC_LOGSZ variable described in the $HORCC_LOG/
horcc_HOST.conf file is used. When neither of them is specified, the
logging is done as a default operation only when an error occurs.
•
Example: \HORCM\log* directory
•
Table 3-6: Relation Between the Environmental Variable and
the $HORCC_LOG/horcc_HOST.conf file
$HORCC_LOGSZ
HORCC_HOST.conf
Operation
$HORCC_LOGSZ=size
It is not influenced
specification.
The logging is valid in the
specified script.
$HORCC_LOGSZ=0
The logging is invalid in the
specified script.
It is not specified
HORCC_LOGSZ=size
The logging is valid in the
instance.
HORCC_LOGSZ=0
The logging is invalid in the
instance.
It is not specified or no
file exists.
Default logging (logging is done
only when an error occurs)
[root@raidmanager log9]# ls -l
total 16
drwxr-xr-x 3 root root 4096 Oct 27 17:33 curlog
-rw-r--r-- 1 root root 3936 Oct 27 17:36 horcc_raidmanager.log
-rw-r--r-- 1 root root 2097452 Oct 27 17:29 horcc_raidmanager.oldlog
-rw-r--r-- 1 root root 46 Oct 27 17:19 horcc_raidmanager.conf
drwxr-xr-x 3 root root 4096 Oct 27 17:19 tmplog
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 ...