Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide
The following gives an overview of upgrading JP1/AJS2 -6-71 or earlier to JP1/AJS 07-00 or later.
Figure 8-1 Overview of upgrading JP1/AJS in a DNS environment
- Cautionary note
- To use host names in the FQDN format, JP1/AJS - Manager 07-00 or later is required.
- The agent (JP1/AJS - Agent or JP1/AJS - Manager) can be any version. However, if the same host name exists in different domains and you use those hosts as agents, you need to upgrade the version of those agents to 07-00 or later.
The following shows the settings for converting the manager host name into the FQDN format when the manager sends the host name to the agent in a DNS environment. The settings are required for the manager host and agent host separately.
- Organization of this subsection
- (1) Setting for the manager host
- (2) Setting for the agent host
(1) Setting for the manager host
To set up the manager host for converting the manager host name into FQDN format in a DNS environment:
- Terminate any currently running event job and cancel any registration for execution.
- Stop the following service:
In Windows, in the Control Panel, open the Administration Tools, double-click Services, and then stop the service.
- JP1/AJS2 service
In UNIX, execute the following commands to check whether all processes are inactive.
Check the automatic end function is set up for /etc/opt/jp1ajs2/jajs_stop before executing this command.
# /etc/opt/jp1ajs2/jajs_stop
# /opt/jp1ajs2/bin/jajs_spmd_status
- Execute the following command to set the environment setting parameter:
To use host names in the FQDN format in a DNS environment, specify Y. To not use host names in the FQDN format in a DNS environment, specify N. N is the default.
jajs_config -k [{JP1_DEFAULT|logical-host-name}\JP1AJSMANAGER\SCHEDULER\scheduler-service-name\EV\MANAGER] "DNSEstablish"="Y|N"
When you specify N, host names in the FQDN format are not used. In this case, host names not in the FQDN format are sent to agents.
- Restart JP1/AJS2.
The settings in the file are applied.
- Re-register the job for which you cancel registration in the step 1.
(2) Setting for the agent host
To set up the agent host for converting the manager host name into FQDN format in a DNS environment:
- Cancel the registration of only these jobs that are being executed on the execution agent host.
- Stop the following service.
In UNIX, execute the following commands to check whether all processes are inactive. Check the automatic end function is set up for /etc/opt/jp1ajs2/jajs_stop before executing this command.
- JP1/AJS2 service
# /etc/opt/jp1ajs2/jajs_stop # /opt/jp1ajs2/bin/jajs_spmd_status- Execute the jpoagoec command.
Since the agent host records the names of the managers that the agent communicated with, you must execute the jpoagoec command on the agent host to delete the manager host name (output by the hostname command). If you do not execute the jpoagoec command before starting the service on the agent host, two manager host names (host name and FQDN-format host name) will end up being recorded for one manager host. In this situation, if the service on the agent host is started, jobs executed then will be registered under both names (host name and FQDN-format host name), meaning that the same job will be executed twice.
When execution registration is performed twice for jobs that delete received information (such as jobs that monitor mail transmission and message queue transmission), information yet to be received might be deleted. Also if the manager host name (as output by the hostname command) cannot be resolved to an IP address, a transmission error will occur when the agent host starts.
For details about the jpoagoec command, see jpoagoec in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
- Restart JP1/AJS2.
- Re-register the job for which you cancelled registration in the step 1.
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.