17.2.6 Registering the JP1/AJS3 service in the cluster software
This subsection describes the information to be set in the cluster software and how to operate services.
- Organization of this subsection
(1) For JP1/AJS3 - Manager and JP1/AJS3 - Agent
Register the JP1/AJS3 service for the logical host in the cluster software that will be used. For details about how to register the service, see the documentation for the cluster software.
Note the following when registering the service:
-
Set the cluster software so that the secondary node can inherit the IP address and shared disk together with the JP1/AJS3 service from the primary node. In addition, set the cluster software so that the application program is also inherited.
-
Set the cluster software so that JP1/AJS3 starts after the secondary node has inherited the IP address and shared disk, and JP1/Base has started on the secondary node.
The following table describes the information that needs to be registered in the cluster software.
Function to be registered |
Explanation |
---|---|
Start |
Starts JP1/AJS3.
For details about the jajs_start.cluster command, see jajs_start.cluster (UNIX only) in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference. For details about the -HA option, see jajs_spmd in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference. |
Stop |
Stops JP1/AJS3.
For details about the jajs_stop.cluster command, see jajs_stop.cluster (UNIX only) in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference. |
Operation monitoring |
Monitors whether JP1/AJS3 is operating normally. Do not register this function if a failover is not required when a failure occurs in JP1/AJS3.
For details about the jajs_spmd_status command, see jajs_spmd_status in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference. |
Forcible stop |
Forcibly stops JP1/AJS3 and releases the resource being used.
Executing the jajs_killall.cluster command forcibly stops processes without performing any termination processing for JP1/AJS3. Execute this command only when a problem occurs (for example, processing does not stop when the stop command is executed). For details about the jajs_killall.cluster command, see jajs_killall.cluster (UNIX only) in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference and 10.4.1 Script for forcibly stopping JP1/AJS3 (jajs_killall.cluster) in the JP1/Automatic Job Management System 3 Administration Guide. |
- Setting the environment setting parameters
-
When the following environment setting parameter is set, the JP1/AJS3 services are stopped so that the cluster software can detect the error whenever the embedded database service is stopped due to an irrecoverable error.
Environment setting parameter
Explanation
"RDBCHECKINTERVAL"=
Checks the connection with the embedded database service, and automatically stops the scheduler service whenever disconnection is detected.
For details about these environment parameters, see 20.4 Setting up the scheduler service environment.
For details about how to set up a scheduler service environment, see 14.2 Environment setting parameter settings and 17.2.5 Changing the common definition information.
(2) For JP1/AJS3 - Web Console
Register JP1/AJS3 - Web Console services in the cluster software to be used. For details about the procedure for registration, see the documentation for the cluster software to be used. Note the following when registering the services:
-
Make sure that the secondary node can inherit the IP address and shared disk together with the JP1/AJS3 - Web Console services from the primary node.
-
Make sure that the JP1/AJS3 - Web Console services start after the secondary node has inherited the IP address and shared disk.
-
If automatic startup of the JP1/AJS3 - Web Console service is set, you must change the setting so that the service does not start automatically.
The following table describes the information on JP1/AJS3 - Web Console required to register the JP1/AJS3 - Web Console service in the cluster software.
Function to be registered |
Explanation |
---|---|
Start |
Starts JP1/AJS3 - Web Console.
JP1/AJS3 - Web Console starts after the shared disk and logical IP address become available. For details about the jajs_web command, see jajs_web (Linux only) in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference. |
Stop |
Stops JP1/AJS3 - Web Console.
JP1/AJS3 - Web Console stops after the shared disk and logical IP address become unavailable. For details about the jajs_web_stop command, see jajs_web_stop (Linux only) in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference. |
Operation monitoring |
Uses the ps command to check whether processes exist and to determine whether JP1/AJS3 - Web Console has terminated abnormally.
Monitoring-target processes are as follows:
|
Forcible stop |
Same as the stop function |