5.4.1 Required environment settings
The following describes the required environment settings for using JP1/Base in a cluster system. For the actual setup procedure, see 5.4.3 Setup.
- Organization of this subsection
(1) Specifying a shared folder
When setting up a logical host, specify a shared folder for sharing information between the primary and secondary servers. In the shared folder, the following files and folders are created.
Shared file type |
Folder for the shared files |
---|---|
Definition files |
shared-folder\jp1base\conf\ |
Log file |
shared-folder\jp1base\log\ |
Event server settings file |
shared-folder\jp1base\event\ |
Assign a shared folder to each logical host. You must not assign the same folder to different logical hosts. The following shows an example of folder creation on a shared disk.
- Example: Specify \shdsk\node0 as a shared folder for logical host node0.
\shdsk\node0\jp1base\conf\ \shdsk\node0\jp1base\log\
The event service can be set up to independently run in cluster mode. However, if you set up the environment according to 5.4.3 Setup, JP1/Base automatically specifies the logical host names in the event server index file (index) and creates the event server settings file (conf) in a shared folder.
(2) Communication protocol
When you set up the JP1/Base environment to support a cluster system, the socket binding method used in TCP/IP communication is automatically changed to IP addressing. This change affects settings for the logical hosts to be created and their constituent physical hosts. For details on the JP1/Base communication protocol, see 2.11 Communication protocols of JP1/Base.
To configure both physical and logical host environments on the same host, you need to set up the network control. For details, see 5.4.5 Settings to configure both physical and logical host environments on the same host.
(3) Common definition information
In JP1/Base and the programs that require JP1/Base (JP1/IM, JP1/AJS, or JP1/Power Monitor), information about the logical hosts is set as common definition information in the local disk. You must therefore set identical information about each logical host.
The common definition information is updated when you:
-
Change the common definition information for JP1/Base and the programs that require JP1/Base (JP1/IM, JP1/AJS, or JP1/Power Monitor).
-
Change the user mapping information by using the jbsmkumap command, the jbssetumap command, the jbsrmumap command, or the JP1/Base Environment Settings dialog box.
-
Change the authentication server by using the jbssetupsrv command or the JP1/Base Environment Settings dialog box.
-
Delete the common definition information on the logical host by using the jbsunsetcnf command or the jp1bshasetup command.
-
Change the password management information for an OS user by using the jbsmkpass command, the jbspassmgr command, the jbsumappass command, the jbsrmumappass command, or the JP1/Base Environment Settings dialog box.
-
Change the jp1hosts information by using the jbshostsimport command.
-
Change the directory server to be linked by using the jbschgds command.
-
Set the command execution environment by using the jcocmddef command.
-
Change the destination communication port setting information by using the jbsdestpimport command.
When you change the common definition information, make the information consistent on all servers by following the procedures in 5.6 Follow-up tasks when changing settings in a cluster environment.
(4) Registering with clustering software
To enable the cluster software to control the JP1/Base on the logical host, you must register the JP1/Base service corresponding to the logical host to the cluster software. Logical host services are created when the logical host is set up.