Hitachi

JP1 Version 13 JP1/Automatic Job Management System 3 for Cloud Service Applications


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.

(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

  1. 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
  2. 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

  1. 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
  2. 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.

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.

  1. In Windows, go to Control Panel and Administrative Tools and select Services.

  2. 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.

  3. 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

Table 3‒2: Information about JP1/AJS3 for Cloud Service Applications that is required for registration in the cluster software.

Features to register

Description

Start

Start JP1/AJS3 for Cloud Service Applications.

Command to use

/etc/opt/jp1ajs3csa/jajs_csa

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.

Command to use

/etc/opt/jp1ajs3csa/jajs_csa_stop

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.

Sample usage of the ps command

ps -ef | grep "process-to-monitor" | grep -v "grep"

The following shows the processes to monitor.

  • JP1/AJS3 CSA HTTP Server service

    /opt/jp1ajs3csa/uCPSB/httpsd/sbin/httpsd

  • JP1/AJS3 CSA Web Application Server service

    /opt/jp1ajs3csa/uCPSB/CC/server/bin/cjstartsv ajs3csa

Forcibly terminate

Same as stop.