HP P9000 RAID Manager Reference Guide (T1610-96037, October 2011)

DescriptionOption
(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 no HORCMINST is 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 = \WINNT\horcm*.conf (*
is instance number) HORCM_LOG = \HORCM\log*\curlog HORCM_LOGS =
\HORCM\log*\tmplog
If no HORCMINST is specified: HORCM_CONF = \WINNT\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 RM 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.
NOTE: Commands are issued to the local instance host. To specify which instance is the local
instance, set the HORCM_INST environment variable, as in the following environment variable
examples, where n is the value of the instance, with a value between 0 and 4095. If you do not
specify an instance number, the command uses the value stored in the HORCM_INST environment
variable. The default value is 0. The instance number can be between 0 and 4095.
horcmshutdown
The horcmshutdown command is a shell script for stopping the HORCM application (/etc/horcmgr).
Syntax
horcmshutdown.sh {inst...} (UNIX systems)
horcmshutdown.exe {inst...} (Windows systems)
Options and parameters
DescriptionOption
Specifies the HORCM (RAID Manager) instance number (numerical value). When this option is
specified, the command stops the specified HORCM instance. When this option is not specified, the
inst
command refers to the instance (environment variable HORCMINST) of the execution environment
of this shell script and stops the following the HORCM instance.
When HORCMINST is specified, this command stops the HORCM instance of the execution
environment of this shell script.
When HORCMINST is not specified, this command stops the HORCM having no instance setting.
88 Replication commands