Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 System Design (Configuration) Guide


2.3.8 Operation in a DNS environment

You can use JP1/AJS in a DNS environment. To use JP1/AJS in a manager/agent configuration, define normal lookup on the DNS.

The following figure shows the settings required for name resolution by using normal lookup for JP1/AJS3 products.

Figure 2‒37: Settings required for name resolution by using normal lookup for JP1/AJS3 products

[Figure]

If you want to use a FQDN (Fully Qualified Domain Name) host name as the execution agent name for event jobs, you need to specify the settings described in this subsection. You do not need to specify these settings when using event jobs if there are no duplicated host names in the same network, in an environment that spans multiple domains, or if you do not plan to use event jobs.

When the settings described in this section are specified, each host obtains an FQDN host name from the local host name and sends it to the other hosts during communication between the manager and agent hosts when event jobs are executed. This allows the manager and agent hosts to uniquely identify each other and to correctly process the communication data.

You do not need to switch to using FQDN hosts names if all the host names in the same network are unique and no problems occur.

Organization of this subsection

(1) When to switch to using FQDN host names for event jobs

You do not need to change the current settings if the event jobs use the DNS and host names that are unique in the same network. Follow the flowchart below to determine whether you need to switch to using FQDN host names for event jobs.

Figure 2‒38: Judging the necessity of switching to operation with host names in the FQDN format

[Figure]

New settings are required if the flowchart above indicates that you need to switch to using FQDN host names. For the setting procedure, see 6.3.5 Using fully qualified domain names (FQDN) when using event jobs during DNS operation in the JP1/Automatic Job Management System 3 Configuration Guide (in Windows) or 15.3.5 Using fully qualified domain names (FQDN) when using event jobs during DNS operation in the JP1/Automatic Job Management System 3 Configuration Guide (in UNIX).

Note that, by default, Receive JP1 Event jobs, Monitoring log files jobs, and Monitoring event log jobs obtain the host name of the host on which they are executed. These jobs then operate using the JP1/Base event server that has the same name as the host name they obtained. Therefore, to execute these jobs on an agent host that performs operations with the event server by using the FQDN event server name, set the FQDN agent host name or FQDN event server name used by JP1/AJS3 on the agent host. For details about how to set the names, see 6.3.17 Setting the event server name in the system using DNS in the JP1/Automatic Job Management System 3 Configuration Guide (in Windows) or 15.3.16 Setting the event server name in the system using DNS in the JP1/Automatic Job Management System 3 Configuration Guide (in UNIX).

If necessary, see 6.8.1 Canceling and re-setting service dependencies in the JP1/Automatic Job Management System 3 Configuration Guide and then set the JP1/AJS3 service dependencies.

(2) Example of using FQDN host names when the DNS is used

This subsection shows an example of using FQDN host names to execute a job for agent hosts that have the same host name HostA, but have different IP addresses (100.0.0.200 and 200.0.0.200). In this example, the job has been assigned the execution host names HostA.hitachi_1.co.jp and HostA.hitachi_2.co.jp, and is entered from the manager host with host name HostM and IP address 100.0.0.100.

The example assumes that the hostname command executed on a manager host or agent host will return a host name in FQDN format. For details about the required setting when changing to FQDN host names, see (1) When to switch to using FQDN host names for event jobs above.

Figure 2‒39: Example of operation with FQDN host names

[Figure]

For this example, set the hosts files on the manager and the agent hosts in the local domain as follows (see (1) in the figure).

Note that the settings take effect in UNIX.

In an environment in which neither of the DNS servers is able to resolve the host name of the other server, set the hosts files for both the manager and agent hosts as follows (see (2) in the figure).

When you specify the above settings, manager host name HostM.hitachi_1.co.jp is sent to each agent host when the job is executed, and the agent hosts send a reply to HostM.hitachi_1.co.jp.

Cautionary notes
  • Use the manager host in an environment in which it can resolve the name of each agent host in FQDN format. Use the agents in an environment in which they can resolve the manager's name in FQDN format.

  • For host name resolution in a UNIX environment, the DNS must be searched before the hosts file. Otherwise, correct FQDN host names might not be acquired.

  • If you switch to FQDN host names, host names in FQDN format are used for the communication between manager hosts and agent hosts when event jobs are executed. If short local host names are defined in the jp1hosts information or jp1hosts2 information, the settings in the jp1hosts information or jp1hosts2 information take precedence over the DNS server. In that case, short host names are used for communication between manager hosts and agent hosts when event jobs are executed. If you define a short local host name in the jp1hosts information or jp1hosts2 information on an agent host, define the short agent host name in the jp1hosts information or jp1hosts2 information on the manager host. If you define a short local host name in the jp1hosts information or jp1hosts2 information on the manager host, define the short manager host name in the jp1hosts information or jp1hosts2 information on the agent hosts. For details about how to define jp1hosts information or jp1hosts2 information, see the JP1/Base User's Guide.

  • As long as the manager and agents operate within the same domain (hitachi_1.co.jp), it does not matter whether the value of DNSEstablish is Y or N. However, the manager host and agent hosts must operate in an environment in which the manager host and each agent host can resolve the name of the other hosts.

(3) Notes on operation in a DNS environment

Note the following when using JP1/AJS3 in a DNS environment: