Installation & Configuration Guide

109
Chapter 8: General Customization Process
This chapter explains the general process to customize NEC ExpressCluster SRE
to monitor and restart arbitrary application services.
Command Reference
The following section explains the functionality and usage of the ARMLOAD and
ARMKILL commands (used in start.bat and stop.bat scripts respectively) to
monitor and restart arbitrary services.
ARMLOAD
Starts up a service. If a fault occurs in the started service, the service is restarted.
The monitoring of the occurrence of fault continues until the application or
service is terminated by the ARMKILL command. A fault means that the service
is abnormally terminated.
Usage:
ARMLOAD watchID /S [/A] <mode> service-name
You can specify the followings as <mode>:
/R retry [/H hour] [/SCR] [/WAIT time] [/INT time]
Parameters:
watchID
This is the ID used for monitoring. This ID is used for terminating the service by
the ARMKILL command. The ID must be unique name within a cluster. IDs that
begin with "NEC_" are reserved. They cannot be used by users. Set the ID using
at most 255 single-byte alphanumeric characters. (It is case insensitive).
/R retry
Causes the application or service to be monitored and specifies the threshold
value for the number of restart attempts at that time. The specification range is
from 1 to 9.
/H hour
This is the time until the restart count is returned to zero for the service. The time
can be specified in units of one hour. This parameter can be omitted. The
specification range is from 1 to 24. If this parameter is omitted when the /R
parameter is specified, the restart count is not reset.
/SCR
Indicates that when the monitoring service is restarted, it is restarted from a script.
This parameter can be omitted. If this parameter is omitted when the /R parameter
is specified, the service is restarted.