:[2] set a user account to this service.
:[3] confirm to start using horcmstart 0.
:[4] confirm to stop using horcmshutdown 0.
:[5] start as a service by net start HORCM0.
Starting CCI as a service
1. Registering the CCI (HORCM) instance as a service. The system
administrator must add the CCI instance using the following command:
C:\HORCM\tool\>svcexe /S=HORCM0 "/A=C:\HORCM\tool
\svcexe.exe"
2. Customizing a sample script file. The system administrator must
customize the sample script file (HORCM0_run.txt) according to the CCI
instance. For details, see the descriptions in the HORCM0_run.txt file.
3. Setting the user account. The system administrator must set the user
account for the CCI administrator as needed.
When using the GUI, use "Administrative Tools - Services - Select
HORCM0 - Logon".
When using the CUI, use "sc config" command as follows:
C:\HORCM\tool\>sc config HORCM0 obj= AccountName password=
password
If the system administrator uses the default account (LocalSystem), add
"HORCM_EVERYCLI=1":
# **** For INSTANCE# X, change to HORCMINST=X as needed ****
START:
set HORCM_EVERYCLI=1
set HORCMINST=0
set HORCC_LOG=STDERROUT
C:\HORCM\etc\horcmstart.exe
exit 0
4. Starting the CCI instance from the service. After you have confirmed
starting and stopping using "horcmstart 0" and "horcmshutdown 0", you
must verify that HORCM0 starts from the service and that HORCM0
started automatically from REBOOT, using the following command:
C:\HORCM\tool\>net start HORCM0
5. Stopping CCI instance as a service. Instead of using the "horcmshutdown
0" command, you must use the following command to stop HORCM0:
C:\HORCM\tool\>net stop HORCM0
(By using the "horcmshutdown 0" command, the script written into
HORCM0_run.txt will automatically restart HORCM0).
Starting up CCI
4-7
Command Control Interface User and Reference Guide