HP XP P9500 Storage User Manual

Page 95

Advertising
background image

C:\HORCM\tool\>svcexe

Usage for adding [HORCM_START_SVC]: svcexe /A=command_path

for deleting [HORCM_START_SVC]: svcexe /D

for specifying a service: svcexe /S=service_name

for dependent services: svcexe /C=service_name,service_name

This command example uses HORCM0 for registering the service name for HORCM instance#0:

Example for adding [HORCM0]: svcexe /S=HORCM0 "/A=C:\HORCM\tool\svcexe.exe"

for deleting [HORCM0]: svcexe /S=HORCM0 /D

for starting [HORCM0]:

:[1] make a C:\HORCM\tool\HORCM0_run.txt file.

:[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.

Performing Additional Configuration Tasks
1.

Registering the RAID Manager (HORCM) instance as a service. The system administrator must
add the RAID Manager 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 RAID Manager 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 RAID
Manager 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 RAID Manager 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 RAID Manager 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 RAID Manager as a service (Windows systems)

95

Advertising
This manual is related to the following products: