Instance Number And Option For Command Execution Environment - Hitachi AMS 2000 Reference Manual

Adaptable modular storage/family command control interface (cci)
Hide thumbs Also See for AMS 2000:
Table of Contents

Advertisement

Table 1-1: Environment Variables (Continued)
Variable
CCI command
environment variables
CCI instance
environment variable
ShadowImage/
SnapShot/
Data Retention
command environment
variables

Instance number and option for command execution environment

Normally, the CCI command executes it using a number set for the
environmental variable of $HORCMINST as an instance number. The
command operates in the TrueCopy or TCE execution environment when the
environmental variable of $HORCC_MRCF is not set or in the ShadowImage
or SnapShot or Data Retention execution environment when the valuable is
set as 1. When the option for specifying the instance number is used, the
instance number can be specified irrespective of the environmental variable
of $HORCMINST only in the command execution in which the option is used.
Besides, when the option for specifying the execution environment is used,
the execution environment can be changed irrespective of the
environmental variable of $HORCC_MRCF only in the command execution in
which the option is used.
1–4
Hitachi AMS 2000 Family Command Control Interface (CCI) Reference Guide
$HORCC_LOG: Specifies the command log directory name, default =
/HORCM/log*
(* = instance number). When a magic character STDERROUT is set for
this variable, the log output changes to standard error output. Use this
character when you want to execute commands from the script file
knowing that the error would occur, in order to inhibit log output.
$HORCC_TRCSZ: Specifies the size of the command trace file in kB,
default = HORCM trace file size. The default HORCM trace file size can
be changed using horcctl -d -s.
$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 HORCM
commands can be changed using the horcctl -d -l.
$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 HORCM
commands can be changed using the horcctl -d -b.
$HORCMINST: Specifies the instance number when using two or
more CCI instances on the same host. 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.
$HORCC_MRCF: Sets the command execution environment of the
ShadowImage, SnapShot, and Data Retention commands. The
selection whether the command functions as that of the TrueCopy/TCE
or the ShadowImage/SnapShot/Data Retention is made according to
this variable. The HORCM is not affected by this variable. When issuing
a TrueCopy or TCE command, do not set the HORCC_MRCF variable for
the execution environment of the command. When issuing a
ShadowImage, SnapShot, or Data Retention command, set the
environmental variable HORCC_MRCF=1 for the execution
environment of the command.
Besides, when returning the command execution environment of
ShadowImage, SnapShot, or Data Retention to that of TrueCopy or
TCE, set HORCC_MRCF=.
Performing CCI Operations
Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents