Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Configuration Guide


8.2.1 Environment setup items for a cluster system

This subsection describes each of the items related to environment setup. For details about the specific setup procedure, see the following:

For JP1/AJS3 - Web Console, you only have to perform the operations in (1) Creating shared files on the shared disk and (5) Registering services.

Organization of this subsection

(1) Creating shared files on the shared disk

To inherit information when the primary and secondary nodes are switched, create folders and files on the shared disk. The table below lists the information that is created in the shared folders on the shared disk and the names of the folders.

Table 8‒1: Information created in the shared folders and the names of the folders (JP1/AJS3 - Manager)

Information created in the shared folders

Folder name#1

Environment settings file

shared-folder-name\jp1ajs2\conf

Job execution environment file

shared-folder-name\jp1ajs2\database

Job information file

shared-folder-name\jp1ajs2\jobinf

Log file

shared-folder-name\jp1ajs2\log

System file

shared-folder-name\jp1ajs2\sys

Work file

shared-folder-name\jp1ajs2\tmp

Backup file

shared-folder-name\jp1ajs2\backup

Embedded database data area file

shared-folder-name\jp1ajs2\embdb#2

#1:

These folders are automatically generated when the jajs_setup_cluster command is executed in the shared folder specified in the -d option of the jajs_setup_cluster command.

#2:

This folder is not created when the -S option is specified for the jajs_setup_cluster command.

Table 8‒2: Information created in the shared folders and the names of the folders (JP1/AJS3 - Agent)

Information created in the shared folders

Folder name#

Environment settings file

shared-folder-name\jp1ajs2\conf

Log file

shared-folder-name\jp1ajs2\log

System file

shared-folder-name\jp1ajs2\sys

Work file

shared-folder-name\jp1ajs2\tmp

#:

These folders are automatically generated when the jajs_setup_cluster command is executed in the shared folder specified in the -d option of the jajs_setup_cluster command.

Table 8‒3: Information created in the shared folders and the names of the folders (JP1/AJS3 - Web Console)

Information created in the shared folders

Folder name#

User environment settings file

shared-folder-name\jp1ajs3web\sys\user

Environment settings file

shared-folder-name\jp1ajs3web\conf

Log file

shared-folder-name\jp1ajs3web\log

Work file

shared-folder-name\jp1ajs3web\tmp

#:

These folders are automatically generated when the ajswebsetup command is executed in the shared folder specified in the -d option of the ajswebsetup command.

As the shared folder, specify one of the folders specified during setup of the logical host environment for JP1/Base. Do not assign the same folder to more than one logical host. Create the folders and files to be shared under the folder assigned to each logical host.

Example:

The following example shows the folders created when the shared folder of logical host node0 is e:\shdsk\node0.

e:\shdsk\node0\jp1ajs2\conf
e:\shdsk\node0\jp1ajs2\database
e:\shdsk\node0\jp1ajs2\jobinf
e:\shdsk\node0\jp1ajs2\log
e:\shdsk\node0\jp1ajs2\sys
e:\shdsk\node0\jp1ajs2\tmp
e:\shdsk\node0\jp1ajs2\backup
e:\shdsk\node0\jp1ajs2\embdb

(2) Setting the communication method

Select the method to be used to bind an IP address to the TCP/IP socket that will be used for communication. To start multiple scheduler services in the cluster system, use the method that binds all hosts, including the physical hosts, to one IP address. For the operation described in 8.2.2 Procedure for setting up a cluster system environment (in Windows version of JP1/AJS3 - Manager), the method used to bind to an IP address can be set automatically.

Set the port number when you are using the multi-startup setting of the scheduler service to add a port number for the service name of the job-status notification port.

(3) Settings for configuring a physical host environment and a logical host environment on the same host

To configure a physical host environment and a logical host environment on the same host in a Windows environment, you need to set up JP1/Base communication for both the physical and logical host environments.

For details about how to set up and check JP1/Base communication, see the description about the settings for configuring a physical host environment and a logical host environment on the same host in the JP1/Base User's Guide.

(4) Setting common definition information

JP1/AJS3, JP1/Base, and JP1/IM have information specific to each logical host on the local disks of both physical hosts. Because the information is used as common definition information, it must be identical on both physical hosts.

The common definition information includes the environment settings file and job execution environment file.

(5) Registering services

In the cluster software to be used, register the services corresponding to the logical hosts.

The services to be registered are as follows:

For JP1/AJS3 - Manager or JP1/AJS3 - Agent
  • JP1/AJS3 service

    Use the following names to register the JP1/AJS3 service:

    Display name: JP1/AJS3_logical-host-name

    Service name: JP1_AJS2_logical-host-name

For JP1/AJS3 - Web Console
  • JP1/AJS3 HTTP Server service

    Use the following names to register the JP1/AJS3 HTTP Server service:

    Display name: JP1/AJS3 HTTP Server

    Service name: JP1_AJS3_HTTP_Server

  • JP1/AJS3 Web Application Server service

    Use the following names to register the JP1/AJS3 Web Application Server service:

    Display name: JP1/AJS3 Web Application Server

    Service name: JP1_AJS3_Web_Application_Server

(6) Obtaining server certificates

To use SSL communication on the logical hosts in a cluster system, obtain a server certificate for each logical host under the name of the host name of the logical host. If the host name of a physical host is used to obtain a server certificate, the server certificate cannot be used for the corresponding logical host. Note, however, that the same server certificate can be used for both a physical host and a logical host in the following cases:

For details about how to set up SSL communication for, for example, obtaining server certificates, see 21.4 Setting up the communication using SSL.