Hitachi

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


21.2.2 How to set the connection permission configuration file

Set the IP address of the hosts that you want to permit to connect to JP1/AJS3 in the connection permission configuration file.

Organization of this subsection

(1) Settings for restricting connections to JP1/AJS3 - Manager

To restrict connections to JP1/AJS3 - Manager, specify the following IP addresses in the manager connection permission configuration file or the agent connection permission configuration file:

Cautionary note:

JP1/AJS3 - Manager internally performs TCP/IP communication. Accordingly, you need to specify all IP addresses that can be used as connection-source IP addresses, such as the loopback address or the IP address of the logical host, as the IP addresses of the local host.

Make sure that you specify the IP address of the local host in the manager connection permission configuration file and the agent connection permission configuration file. If you do not do so, the JP1/AJS3 service will not be able to start. Also, if you do not specify the IP address of the local host in the agent connection permission configuration file, the passing information setting job cannot be executed.

The file that needs to be set differs according to whether restricting connections to JP1/AJS3 - Manager is enabled. The value that is specified for the CONNECTIONRESTRICTION environment setting parameter also differs according to the setting for restricting connection sources. Which file must be set and the value that must be specified for the CONNECTIONRESTRICTION environment setting parameter for each type of restricted connection to JP1/AJS3 - Manager is described below.

If connections to manager hosts are restricted and connections to agent hosts are not restricted:
File that needs to be set

Manager connection permission configuration file

Value to be specified for the CONNECTIONRESTRICTION environment setting parameter

manager

If restricting connections to manager hosts is not enabled and restricting connections to agent hosts is enabled:
File that needs to be set

Agent connection permission configuration file

Value to be specified for the CONNECTIONRESTRICTION environment setting parameter

agent

If restricting connections to both manager hosts and agent hosts:
Files that needs to be set
  • Manager connection permission configuration file

  • Agent connection permission configuration file

Value to be specified for the CONNECTIONRESTRICTION environment setting parameter

all

(2) Settings for restricting connections to JP1/AJS3 - Agent

To restrict connections to JP1/AJS3 - Agent, specify the IP address of the manager host that you want to allow to connect in the agent connection permission configuration file.

Unlike in JP1/AJS3 - Manager, in JP1/AJS3 - Agent, you do not need to specify the IP address of the local host.

(3) Coding rules for the connection permission configuration file

Specify the IP address that you want to permit to connect in the connection permission configuration file as follows:

(4) An example of coding

Suppose that you enable restricting connection sources in the following environment.

Figure 21‒1: An example of setting restricting connection sources

[Figure]

Code the manager connection permission configuration file on the manager host as below. Note that the information following # is treated as a comment.

127.0.0.1     #Communication permission from the local host (loopback address)
192.168.31.2  #Communication permission from the local host
192.168.31.1

Code the agent connection permission configuration file on the agent host as follows:

192.168.31.2

(5) Notes on the connection permission configuration file