5.7.6 Command that controls the HAutomation Engine Web Service (sc_automation)
This subsection provides information required to register (in the cluster software) the
sc_automation command, which is used to control the HAutomation Engine
Web Service.
- Command to be used:
sc_automation
- Location of the command:
/opt/jp1ao/tools
Table 5‒11: Information required to register the sc_automation commandRegisterable mode
|
Description
|
Start
|
Use this mode to start the HAutomation Engine Web Service.
- Format:
sc_automation start
- Result judgment:
Judge the result from the result of the command executed in Monitor
mode. Because the command in Start mode returns 0 as normal termination or 1
as an argument error, you cannot judge the result from the return
code.
|
Stop
|
Use this mode to stop the HAutomation Engine Web Service.
- Format:
sc_automation stop
- Result judgment:
Judge the result from the result of the command executed in Monitor
mode. Because the command in Stop mode returns 0 as normal termination or 1
as an argument error, you cannot judge the result from the return
code.
|
Monitor
|
Use this mode to check whether the HAutomation Engine Web Service is operating
normally. You need to register this mode only if you want a failover to occur when
the service fails.
- Format:
sc_automation status
- Result judgment:
- Return code 0 (normal)
The HAutomation Engine Web Service is operating normally.
- Return code 3 (not running)
The process of the HAutomation Engine Web Service is stopped due
to a problem. If this return code is returned, assume that an error
has occurred.
|
To Page Top