164
Chapter 4 Performing CCI Operations
4.1
Environmental Variables
When activating HORCM or initiating a command, users can specify any of the environmental
variables that are listed in Table 4.1.
Table 4.1
HORCM, Hitachi TrueCopy, and ShadowImage Variables
Variable Functions
HORCM (/etc/horcmgr)
environmental variables
$HORCM_CONF:
Names the HORCM configuration file, default = /etc/horcm.conf.
$HORCM_LOG:
Names the HORCM log directory, default = /HORCM/log/curlog.
$HORCM_TRCSZ:
Specifies the size of the HORCM trace file in KB, default = 1 MB. The trace
file size cannot be changed using the horcctl command.
$HORCM_TRCLVL:
Specifies the HORCM trace level (0 - 15), default = 4. If a negative value is
specified, trace mode is canceled. The trace level can be changed using horcctl -c -l command.
$HORCM_TRCBUF:
Specifies the HORCM trace mode. If this variable is specified, data is
written in the trace file in the non-buffer mode. If not, data is written in the buffer mode. The trace
mode can be changed using the horcctl -c -b command.
$HORCM_TRCUENV:
Specifies whether or not to succeed the trace control parameters
(TRCLVL and TRCBUF) as they are when a command is issued. When this variable is specified,
the Hitachi TrueCopy default trace control parameters are used to the trace control parameters
of HORCM as global parameters. If not, the default trace control parameters for Hitachi
TrueCopy commands are used and tracing level = 4, trace mode = buffer mode.
$HORCMFCTBL: Changes the fibre address conversion table number, used when the target ID
indicated by the raidscan command is different than the TID on the system.
$HORCMPROMOD: Turns ON protection mode for the command device (see section 4.16.7).
$HORCMPERM: Specifies the HORCM permission file name (see section4.16.7).
Hitachi TrueCopy command
environmental variables
$HORCC_LOG:
Specifies the command log directory name, default = /HORCM/log*
(* = instance number). If this variable has “STDERROUT” as magic strings, then the command
will change an output of the logging to STDERR. This strings is used to inhibit an output of the
logging when the user script does handle in prospect of an error code for the command.
$HORCC_TRCSZ:
Specifies the size of the command trace file in KB, default = HORCM trace
file size. The default Hitachi TrueCopy trace file size can be changed using horcctl -d -s, and it
becomes effective from later executing a command.
$HORCC_TRCLVL:
Specifies the command trace level (0 = 15), default = 4 or the specified
HORCM trace level. If a negative value is specified, trace mode is canceled. The default trace
level for Hitachi TrueCopy commands can be changed using the horcctl -d -l, and it becomes
effective from later executing a command.
$HORCC_TRCBUF: Specifies the command trace mode. If specified, data is written in the trace
file in the non-buffer mode. If not, the HORCM trace mode is used. The default trace mode for
Hitachi TrueCopy commands can be changed using the horcctl -d -b, and it becomes effective
from later executing a command.
$HORCC_LOGSZ: 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.
HORCM instance
environmental variable
$HORCMINST:
Specifies the instance number when using two or more CCI instances on the
same server. The command execution environment and the HORCM activation environment
require an instance number to be specified. Set the configuration definition file (HORCM_CONF)
and log directories (HORCM_LOG and HORCC_LOG) for each instance.
Содержание 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 ...