Hitachi

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


3.5.3 Settings for communication using IPv6 addresses

This subsection describes how to configure the settings to enable communication using IPv6 addresses.

Note that only Windows Server 2022, Windows Server 2019, Windows Server 2016, and Windows Server 2012 support communication using IPv6 addresses.

Organization of this subsection

(1) How to set up JP1/Base for communication using IPv6 addresses

(a) Setting the jp1hosts2 file

You need to set jp1hosts2 information to enable communication using IPv6 addresses. If you define jp1hosts2 information, the jp1hosts information definition is no longer in effect. Accordingly, if you upgrade JP1/Base from version 09-50 or earlier to version 10-00 or later, you must move the jp1hosts definition information used in version 09-50 or earlier to jp1hosts2. You do not have to do this if communication uses IPv4 addresses.

If you want to return to the original settings, you can return the settings from jp1hosts2 to jp1hosts.

For details about jp1hosts2, see the JP1/Base User's Guide.

(b) Setting the ANY binding addresses

If the communication protocol for reception is the ANY binding method, the following setting is needed. In the communication settings for a new installation of JP1/AJS3, the communication protocol for receiving must be set to the ANY binding method. Note that if you set up a logical host, this setting is not needed because the communication protocol for receiving is set to the IP binding method.

You need to set the ANY binding address protocol type to be used to IPv4 only, IPv6 only, or Both IPv4 and IPv6. Specify the setting so that the ANY binding address protocol type to be used for receiving matches the IP address protocol type obtained from name resolution on the sending side. If the protocol types of the nodes are different, communication is not possible. By default, the setting is specified so that only IPv4 ANY binding addresses are used.

For details about the communication protocol for receiving, see 2.3.3 Connecting multiple LANs in the JP1/Automatic Job Management System 3 System Design (Configuration) Guide.

For details about the settings for ANY binding addresses, see the JP1/Base User's Guide.

(2) How to set up JP1/AJS3 - Manager for communication using IPv6 addresses

If you perform an upgrade installation of JP1/AJS3 - Manager version 09-50 or earlier to version 10-00 or later, you need to re-create the embedded database to enable communication using IPv6 addresses. You do not have to do this if communication uses IPv4 addresses or if you perform a new installation of JP1/AJS3.

The following describes how to re-create an embedded database.

(a) For physical hosts

To re-create an embedded database for a physical host, perform the procedure below.

Cautionary note:

Performing the following procedure deletes information such as job execution results.

To re-create an embedded database:

  1. Check the scheduler service stored in the embedded database to be re-created.

    Use the ajsembdbidlist command to check the scheduler service in the embedded database. For details about the ajsembdbidlist command, see ajsembdbidlist in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  2. Back up the unit definition information for the scheduler service stored in the embedded database.

    For details about how to back up the unit definition information, see 2.2.3(4) Backing up the unit definition in the JP1/Automatic Job Management System 3 Administration Guide.

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

    • JP1/AJS3 service

  4. Execute the ajsembdbunset command to cancel the setup of the embedded database.

    For example, execute the ajsembdbunset command as follows:

    ajsembdbunset -e -id _JF1

    For details about the ajsembdbunset command, see ajsembdbunset in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  5. Execute the ajsembdbbuild command to create an embedded database.

    For example, execute the ajsembdbbuild command as follows:

    ajsembdbbuild -s -d "D:\products\jp1ajs2\embdb\_JF1"
     -p 22221 -i "C:\Program Files\HITACHI\jp1ajs2\embdb\_JF1"
     -id _JF1 -ext_db -ext_log

    For details about the ajsembdbbuild command, see ajsembdbbuild in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  6. Execute the ajsembdbsetup command to set up the embedded database.

    For example, execute the ajsembdbsetup command as follows:

    ajsembdbsetup -ru s -F AJSROOT4 -p 22221 -tp AJS4 -id _JF1

    For details about the ajsembdbsetup command, see ajsembdbsetup in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  7. In Windows Control Panel, open the Services administrative tool, and start the following service:

    • JP1/AJS3 service

  8. Recover the unit definition information you backed up in step 2.

    For details about how to recover the unit definition information, see 2.3.4(9) Recovering the unit definition in the JP1/Automatic Job Management System 3 Administration Guide.

(b) For logical hosts

To re-create an embedded database for a logical host, perform the procedure below. This procedure assumes that a shared disk and a logical IP address were allocated to the executing host.

Cautionary note:

Performing the following procedure deletes information such as job execution results.

  1. Check the scheduler service stored in the embedded database to be re-created.

    Use the ajsembdbidlist command to check the scheduler service in the embedded database. For details about the ajsembdbidlist command, see ajsembdbidlist in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  2. Back up the unit definition information for the scheduler service stored in the embedded database.

    For details about how to back up the unit definition information, see 2.2.3(4) Backing up the unit definition in the JP1/Automatic Job Management System 3 Administration Guide.

  3. On the executing host, in Windows Control Panel, open the Services administrative tool, and stop the following service:

    • The JP1/AJS3 service on the logical host to which the embedded database to be re-created belongs

  4. On the executing host, execute the ajsembdbunset command to cancel the setup of the embedded database for the executing host.

    For example, execute the ajsembdbunset command as follows:

    ajsembdbunset -e -id _JFA

    For details about the ajsembdbunset command, see ajsembdbunset in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  5. On the standby host, execute the ajsembdbunset command to cancel the setup of the embedded database for the standby host.

    For example, execute the ajsembdbunset command as follows:

    ajsembdbunset -e -id _JFA

    For details about the ajsembdbunset command, see ajsembdbunset in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  6. On the executing host, execute the ajsembdbbuild command to create an embedded database for the executing host.

    For example, execute the ajsembdbbuild command as follows:

    ajsembdbbuild -s -r -d "D:\products\jp1ajs2\embdb\_JFA"
     -ld "C:\Program Files\HITACHI\jp1ajs2\embdb\_JFA"
     -mh lhost -eh executing-physical-host -p 22230
     -i "C:\Program Files\HITACHI\jp1ajs2\embdb\_JFA"
     -id _JFA -ext_db -ext_log

    For details about the ajsembdbbuild command, see ajsembdbbuild in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  7. On the executing host, execute the ajsembdbsetup command to set up the embedded database for the executing host.

    For example, execute the ajsembdbsetup command as follows:

    ajsembdbsetup -mh lhost -F AJSROOT10 -p 22230 -tp AJS1 -id _JFA -ru s

    For details about the ajsembdbsetup command, see ajsembdbsetup in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  8. On the executing host, execute the jbsgetcnf command to back up the environment setting parameters for the executing host.

    Execute the following command:

    jbsgetcnf -h logical-host-name > backup-file-name

    For details, see the JP1/Base User's Guide.

  9. On the standby host, execute the ajsembdbbuild command to create an embedded database for the standby host.

    For example, execute the ajsembdbbuild command as follows:

    ajsembdbbuild -s -f -d "D:\products\jp1ajs2\embdb\_JFA"
     -ld "C:\Program Files\HITACHI\jp1ajs2\embdb\_JFA"
     -mh lhost -eh executing-physical-host -p 22230
     -i "C:\Program Files\HITACHI\jp1ajs2\embdb\_JFA"
     -id _JFA -ext_db -ext_log

    For details about the ajsembdbbuild command, see ajsembdbbuild in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.

  10. On the standby host, execute the jbssetcnf command to set the environment setting parameters for the standby host from the backup you created in step 8.

    Execute the following command:

    jbssetcnf backup-file-name

    For details, see the JP1/Base User's Guide.

  11. On the executing host, execute the ajsembdbstop command to stop the embedded database for the executing host.

    For example, execute the ajsembdbstop command as follows:

    ajsembdbstop -id _JFA

    For details about the ajsembdbstop command, see ajsembdbstop in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

  12. On the executing host, in Windows Control Panel, open the Services administrative tool, and start the following service:

    • The JP1/AJS3 service on the logical host to which the embedded database to be re-created belongs

  13. Recover the unit definition information you backed up in step 2.

    For details about how to recover the unit definition information, see 2.3.4(9) Recovering the unit definition in the JP1/Automatic Job Management System 3 Administration Guide.