3.3.3 Setting up the cluster environment
This section describes the installation and setup for cluster operation.
For an overview of cluster operation, please see the description of the cluster system in the JP1/Automatic Job Management System 3 Administration Guide.
- Organization of this subsection
(1) Notes for setting up a cluster system.
-
Check whether the cluster software that you will use is supported before setup and operation. For details of setting up a cluster system, see the documentation of the cluster system that you will use.
-
Please be sure to set up a cluster system in JP1/Base before setting up the system in JP1/AJS3 for Cloud Service Applications.
-
Please install JP1/AJS3 for Cloud Service Applications on the primary and secondary nodes in the same drive and directory.
-
To use SSL communication on a logical host in a cluster system, acquire a server certificate by using the host name of the logical host. Even if you acquire a server certificate by using the host name of the physical host, you cannot use it on the logical host. However, in the following case, you can use the same server certificate on the physical host as on the logical host.
-
If a logical host name is specified as the SAN on the server certificate of a physical host
-
If the server certificate of the physical host is a wildcard certificate and the specified host name matches the logical host name
For details on acquiring server certificates and configuring other SSL communication settings, see 3.3.2 Setting up the SSL communication environment.
-
(2) Installation for cluster operation
Install JP1/AJS3 for Cloud Service Applications on the local disks of the primary and secondary nodes. When installing it, specify the same drive and directory name for both the primary and secondary nodes.
- Important
-
Do not install JP1/AJS3 for Cloud Service Applications on a shared disk.
(3) Setting up JP1/AJS3 for Cloud Service Applications
The following shows the method for setting up a cluster environment for JP1/AJS3 for Cloud Service Applications.
(a) Steps on the primary node
-
Set up JP1/AJS3 for Cloud Service Applications for cluster operation.
Execute the following command.
ajscsasetup -d shared-directory -h logical-host-name-of-JP1/Base -m
-
Register the JP1/AJS3 for Cloud Service Applications service in the cluster software that you will use.
For details, please see (4) Registration to the cluster software.
(b) Steps on the secondary node
-
Set up JP1/AJS3 for Cloud Service Applications for cluster operation.
Execute the following command.
ajscsasetup -d shared-directory -h logical-host-name-of-JP1/Base -s
-
Register the JP1/AJS3 for Cloud Service Applications service in the cluster software that you will use.
For details, please see (4) Registration to the cluster software.
(4) Registration to the cluster software
Register the JP1/AJS3 for Cloud Service Applications service in the cluster software that you will use.
For details of the registration method, please see the documentation of your cluster software. Please note the following in registration.
-
Please make sure that the JP1/AJS3 for Cloud Service Applications service is inherited from the primary node to the second node along with the IP address and shared disk to be used.
-
Please make sure that the IP address and shared disk are inherited and that JP1/Base is started on the secondary node before the JP1/AJS3 for Cloud Service Applications service is started.
-
If the JP1/AJS3 for Cloud Service Applications service is configured to start automatically, please change the setting so that it does not start automatically.
-
For other notes, please see Notes for creating the system in the Release Notes.
The following shows the information about JP1/AJS3 for Cloud Service Applications that is required for registering cluster software.
(a) For Windows
- Services to configure in the cluster software.
-
Use the steps below to register services in the cluster software.
-
In Windows, go to Control Panel and Administrative Tools and select Services.
-
Change the Startup Type setting of the services to register in the cluster software from Automatic to Manual.
The following shows the services to register in the cluster software:
- JP1/AJS3 CSA HTTP Server service
- JP1/AJS3 CSA Web Application Server service
Change the Startup Type setting of these services from Automatic to Manual.
-
Register the JP1/AJS3 CSA Web Application Server service and the JP1/AJS3 CSA HTTP Server service in the cluster software so that they are started in this order.
The following shows the display and service names of the services to register in the cluster software.
- JP1/AJS3 CSA HTTP Server service
-
-
Display name: JP1/AJS3 CSA HTTP Server
-
Service name: JP1_AJS3_CSA_HTTP_Server
-
- JP1/AJS3 CSA Web Application Server service
-
-
Display name: JP1/AJS3 CSA Web Application Server
-
Service name: JP1_AJS3_CSA_Web_Application_Server
-
-
- Starting/stopping services
-
You must use the cluster software to start or stop the services registered in the software.
- Monitoring service operation
-
The cluster software monitors the start status of the services.
(b) For Linux
Features to register |
Description |
---|---|
Start |
Start JP1/AJS3 for Cloud Service Applications.
You must start it after the shared disk and logical IP address are available. For details of the jajs_csa command, please see jajs_csa (Linux only) in 7. Commands. |
Stop |
Stop JP1/AJS3 for Cloud Service Applications.
You must stop it before the shared disk and logical IP address become unavailable. For details of the jajs_csa_stop command, please see jajs_csa_stop (Linux only) in 7. Commands. |
Monitor operations |
Check whether JP1/AJS3 for Cloud Service Applications has ended abnormally. The ps command is used to see if the process exists.
The following shows the processes to monitor.
|
Forcibly terminate |
Same as stop. |