Hitachi

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


6.3.18 How to set the option for changing the agent information to be used for name resolution

The manager host that communicates with an agent host stores the IP address resolved from the agent host name. If the IP address of an agent host is changed, a manual operation on the manager host is required to update the stored IP address by, for example, restarting the JP1/AJS3 service.

This operation can be omitted by enabling the option for changing the agent information used for name resolution.

The option for changing the agent information used for name resolution must be set on both the manager and agent hosts. If this option is not set on both hosts, it does not take effect.

Notes:
  • This option can be used only if the JP1/AJS3 database is in the standard configuration.

  • This option can be used if the versions of both JP1/AJS3 - Manager and JP1/AJS3 - Agent are 10-50 or later. If the version of either JP1/AJS3 - Manager or JP1/AJS3 - Agent is 10-10 or earlier, this option cannot be used.

Organization of this subsection

(1) Definition procedure

The option for changing the agent information used for name resolution must be set on both the manager and agent hosts. The following subsections describe the procedure for setting this option on each host. The same procedure can be used regardless of the option value set.

(a) Procedure on the manager host

This subsection describes the procedure that must be performed on the manager host for defining the option for changing the agent information used for name resolution.

If neither jobnets with start conditions nor event jobs have been executed previously, skip steps 1 to 4.

  1. Make sure that the IP address of the agent host can be resolved from the host name on the manager host.

  2. Forcibly terminate all jobnets with start conditions and event jobs that are currently running.

  3. Execute the following command to stop all scheduler services with which event jobs were executed:

    jajs_spmd_stop [-h logical-host] -n jajs_schd [-F scheduler-service]
  4. Execute the following command for each of the agent hosts on which event jobs were executed with the scheduler services stopped in step 3:

    jpomanevreset [-h logical-host] [-F scheduler-service] -a agent-host
  5. In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • JP1/AJS3 service

  6. Execute the following command to set the environment setting parameter described in (2) below:

    jajs_config -k [{JP1_DEFAULT|logical-host}\JP1AOMMANAGER] "ResolveAgentInfo"=value
    jajs_config -k [{JP1_DEFAULT|logical-host}\JP1AJS2\SCHEDULER\EV\MANAGER] "ResolveAgentInfo"=value
  7. Restart JP1/AJS3.

    The contents of the configuration file are applied to the system.

(b) Procedure on the agent host

This subsection describes the procedure that must be performed on the agent host for defining the option for changing the agent information used for name resolution.

  1. In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • JP1/AJS3 service

  2. Execute the following command to set the environment setting parameter described in (2) below:

    jajs_config -k [{JP1_DEFAULT|logical-host}\JP1AOMAGENT] "ResolveAgentInfo"=value
  3. Restart JP1/AJS3.

    The contents of the configuration file are applied to the system.

(2) Environment setting parameter

Table 6‒68: Environment setting parameter that sets the option for changing the agent information used for name resolution

Definition key

Environment setting parameter

Explanation

For the manager host:

[{JP1_DEFAULT|logical-host}\JP1AOMMANAGER]

[{JP1_DEFAULT|logical-host}\JP1AJS2\SCHEDULER\EV\MANAGER]

For the agent host:

[{JP1_DEFAULT|logical-host}\JP1AOMAGENT]

"ResolveAgentInfo"=

Option for changing the agent host information used for name resolution

For details about the definition of this environment setting parameter, see 20.6.2(15) ResolveAgentInfo.