Starting up on UNIX systems
One instance
To start up one instance of CCI on a UNIX system:
1. Modify /etc/services to register the port name/number (service) of each
configuration definition file. Make the port name/number the same on all
servers:
horcm xxxxx/udp
xxxxx = the port name/number for horcm.conf
2. If you want CCI to start automatically each time the system starts up,
add /etc/horcmstart.sh to the system automatic startup file (for
example, /sbin/rc).
3. Execute the horcmstart.sh script manually to start the CCI instances: #
horcmstart.sh
4. Set the log directory (HORCC_LOG) in the command execution
environment as needed.
5. If you want to perform TrueCopy operations, do not set the
HORCC_MRCF environment variable. If you want to perform
ShadowImage operations, set the HORCC_MRCF environment variable
for the CCI execution environment.
For B shell:
# HORCC_MRCF=1 # export HORCC_MRCF
For C shell:
# setenv HORCC_MRCF 1 # pairdisplay -g xxxx xxxx = group name
Two instances
To start up two instances of CCI on a UNIX system:
1. Modify /etc/services to register the port name/number (service) of each
configuration definition file. The port name/number must be different for
each CCI instance.
horcm0 xxxxx/udp
xxxxx = the port name/number for horcm0.conf
horcm1 yyyyy/udp
yyyyy = the port name/number for horcm1.conf
2. If you want CCI to start automatically each time the system starts up,
add /etc/horcmstart.sh 0 1 to the system automatic startup file (for
example, /sbin/rc).
3. Execute the horcmstart.sh script manually to start the CCI instances: #
horcmstart.sh 0 1
4. Set an instance number to the command execution environment:
For B shell:
# HORCMINST=X # export HORCMINST
X = instance number = 0 or 1
4-2
Starting up CCI
Command Control Interface User and Reference Guide