HP XP7 RAID Manager Reference Guide (T1610-96064)
Options and parameters
DescriptionOption
Specifies the HORCM instance number (range= from 0 to 2047). When this option is specified, the
horcmstart shell script sets the environment variables (HORCMINST, HORCM_CONF, HORCM_LOG,
inst
HORCM_LOGS) corresponding to the instance number, and starts the specified HORCM instance.
(Environment variables set by the user become invalid.) When this option is not specified, the
horcmstart shell script starts 1 HORCM and uses the environment variables set by the user. If you
have designated full environment variables, use horcmstart.sh without any arguments. If you did not
designate environment variables (HORCM_CONF, HORCM_LOG, HORCM_LOGS), then this shell
script sets the environment variables as follows:
For UNIX-based platforms:
If HORCMINST is specified:
HORCM_CONF = /etc/horcm*.conf (* is instance number)
HORCM_LOG = /HORCM/log*/curlog
HORCM_LOGS = /HORCM/log*/tmplog
If HORCMINST is not specified:
HORCM_CONF = /etc/horcm.conf
HORCM_LOG = /HORCM/log/curlog
HORCM_LOGS = /HORCM/log/tmplog
For Windows platform:
If HORCMINST is specified:
HORCM_CONF = %windir%\horcm*.conf (* is the instance number)
HORCM_LOG = \HORCM\log*\curlog
HORCM_LOGS = \HORCM\log*\tmplog
If HORCMINST is not specified:
HORCM_CONF = %windir%\horcm.conf
HORCM_LOG = \HORCM\log\curlog
HORCM_LOGS = \HORCM\log\tmplog
[environmental variable]
The HORCM_LOGS environment variable is used when specifying the log file directory for automatic
storing. When HORCM starts up, the log files created in the operation are stored automatically in
the HORCM_LOGS directory. This log directory must give an equality class with HORCM_LOG
HORCMSTART_WAIT (for waiting the RAID Manager instance with start-up). Horcmgr does fork/exec()
horcmd_XX as daemon process, and verifies/waits until HORCM become ready state. The timeout
is used for only avoiding infinite loop, currently the default time is 200 sec in consideration of
maximum LDEV. However, it may be needed to change the default timeout value for starting HORCM
under high-loading of the server, or the remote command device. In such a case, this environmental
variable is used when changing a timeout value (in units of Sec) from the current default value (200
sec), this value must be specified more than 5 seconds and multiple of 5 seconds. For example,
setting 500 sec:
HORCMSTART_WAIT=500 Export HORCMSTART_WAIT
For OpenVMS platform: OpenVMS needs to make the Detached LOGINOUT.EXE Process as a JOB
in the background by using the 'RUN /DETACHED' command. For details see Requirements and
restrictions for OpenVMS (item 4) in the Installation and Configuration Guide.
horcmshutdown
The horcmshutdown command is a script for stopping HORCM.
Syntax
horcmshutdown.sh {inst...} (UNIX systems)
horcmshutdown.exe {inst...} (Windows systems)
96 Data management commands