17.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 17.2.2 Procedure for setting up the environment for a cluster system.
- Organization of this subsection
(1) Creating shared files on the shared disk
To inherit information when the primary and secondary nodes are switched, create directories and files on the shared disk. The table below lists the information that is created in the shared directorys on the shared disk and the names of the directorys. These directories are automatically created under the shared directory specified in the -d option when the jajs_setup_cluster command is executed.
Information created in the shared directorys |
Directory name |
---|---|
Environment settings file |
shared-directory-name/jp1ajs2/conf |
Job execution environment file |
shared-directory-name/jp1ajs2/database |
Job information file |
shared-directory-name/jp1ajs2/jobinf |
Log file |
shared-directory-name/jp1ajs2/log |
System file |
shared-directory-name/jp1ajs2/sys |
Work file |
shared-directory-name/jp1ajs2/tmp |
Backup file |
shared-directory-name/jp1ajs2/backup |
JP1/AJS3 Console Manager data file |
shared-directory-name/jp1ajs2cm/database#1 |
Embedded database data area file |
shared-directory-name/jp1ajs2/embdb#2 |
- #1:
-
This directory is not automatically created when the jajs_setup_cluster command is executed. Manually create the folder when using JP1/AJS3 Console Manager in a cluster system.
- #2:
-
This folder is not created when the -S option is specified for the jajs_setup_cluster command.
Information created in the shared directorys |
Directory name |
---|---|
Environment settings file |
shared-directory-name/jp1ajs2/conf |
Log file |
shared-directory-name/jp1ajs2/log |
System file |
shared-directory-name/jp1ajs2/sys |
Work file |
shared-directory-name/jp1ajs2/tmp |
As the shared directory, specify one of the folders specified during setup of the logical host environment for JP1/Base. Do not assign the same directory to more than one logical host. Create the directories and files to be shared under the directory assigned to each logical host.
- Example:
-
The following example shows the directories created when the shared directory of logical host node0 is /shdsk/node0.
/shdsk/node0/jp1ajs2/conf /shdsk/node0/jp1ajs2/database /shdsk/node0/jp1ajs2/jobinf /shdsk/node0/jp1ajs2/log /shdsk/node0/jp1ajs2/sys /shdsk/node0/jp1ajs2/tmp /shdsk/node0/jp1ajs2/backup /shdsk/node0/jp1ajs2cm/database /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 17.2.2 Procedure for setting up the environment for a cluster system, 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) 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.