Hitachi

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


8.2.7 Setting up the queueless job execution environment

When queueless jobs are used and the nodes are switched, the logical hosts that are currently attached to the currently active node must be detached, and then re-attached to the node that will become active.

To ensure that the detachment and re-attachment of the logical hosts is performed automatically when the nodes are switched, use the applicable procedure described below.

Organization of this subsection

(1) Procedure used when JP1/AJS3 - Manager or JP1/AJS3 - Agent is installed and set up as a new installation

If you install and set up JP1/AJS3 - Manager or JP1/AJS3 - Agent as a new installation, perform the following procedure on both the primary and secondary nodes.

To ensure that logical hosts are automatically detached and re-attached:

  1. Install JP1/AJS3 - Manager or JP1/AJS3 - Agent as a new installation.

    For details about the installation procedure, see 2.2.3 Installing a JP1/AJS3 series program.

  2. Set up the physical host.

    For details about the setup procedure, see 3. Setup.

  3. Set up the logical hosts.

    For details about the setup procedure, see 8.2.2 Procedure for setting up a cluster system environment (in Windows version of JP1/AJS3 - Manager) and 8.2.3 Procedure for setting up a cluster system environment (in Windows version of JP1/AJS3 - Agent).

  4. Edit the jp1ajs_hstd.conf file.

    Edit the jp1ajs_hstd.conf file that was set up in step 3.

    • If you have installed JP1/AJS3 - Manager and have updated the jp1ajs_hstd.conf file during, for example, setting of a standard configuration without ISAM or during configuration of scheduler status monitoring

      Back up the jp1ajs_hstd.conf file, and then add the following line to the beginning of the jp1ajs_hstd.conf file.

        qlcltd|ajsqlcltd.exe|||1800|
    • If you have installed JP1/AJS3 - Manager but have not updated the jp1ajs_hstd.conf file

      After creating a backup of the jp1ajs_hstd.conf file, delete the jp1ajs_hstd.conf file. Next, copy the jp1ajs_hstd_ql.conf.model file, and then rename the copy to jp1ajs_hstd.conf.

    • If you have installed JP1/AJS3 - Agent

      After creating a backup of the jp1ajs_spmd.conf file, delete the jp1ajs_spmd.conf file. Next, copy the jp1ajs_spmd_ql.conf.model file, and then rename the copy to jp1ajs_spmd.conf. You do not need to edit the jp1ajs_hstd.conf file.

    The jp1ajs_hstd.conf and jp1ajs_hstd_ql.conf.model files are located in the shared-folder-name\jp1ajs2\conf folder.

  5. Start the queueless agent service and the queueless file transfer service.

    Start the queueless agent service. If you have installed JP1/AJS3 - Manager, also start the queueless file transfer service.

(2) Procedure used when JP1/AJS3 - Manager or JP1/AJS3 - Agent is installed and set up as an upgrade installation

If you install and set up JP1/AJS3 - Manager or JP1/AJS3 - Agent as an upgrade installation of version 7 of JP1/AJS2 - Manager or JP1/AJS2 - Agent, perform the following procedure on both the primary and secondary nodes.

To ensure that the logical hosts are automatically detached and re-attached:

  1. Install JP1/AJS3 - Manager or JP1/AJS3 - Agent as an upgrade installation.

    For details about the installation procedure, see 2.2.3 Installing a JP1/AJS3 series program.

    If JP1/AJS3 - Manager or JP1/AJS3 - Agent has already been installed as an upgrade installation, skip this step.

  2. Set up the queueless job execution environment on the physical host.

    If the queueless job execution environment has not been set up on the physical host, use the ajsqlsetup command to set it up. For details about the ajsqlsetup command, see ajsqlsetup in 4. Commands Used for Special Operation in the manual JP1/Automatic Job Management System 3 Command Reference.

  3. Set up the logical hosts.

    If you have not set up the logical hosts yet, set them up.

    For details about the setup procedure, see 8.2.2 Procedure for setting up a cluster system environment (in Windows version of JP1/AJS3 - Manager) and 8.2.3 Procedure for setting up a cluster system environment (in Windows version of JP1/AJS3 - Agent).

    If the queueless job execution environment has not been set up when you are ready to set up the logical hosts, use the ajsqlsetup command to set up the queueless job execution environment. For details about the ajsqlsetup command, see ajsqlsetup in 4. Commands Used for Special Operation in the manual JP1/Automatic Job Management System 3 Command Reference.

  4. Edit the jp1ajs_hstd.conf file.

    Edit the jp1ajs_hstd.conf file of the logical hosts for which you want to enable automatic attachment and detachment.

    • If you have installed JP1/AJS3 - Manager as an upgrade installation

      Check whether the jp1ajs_hstd.conf file contains the line shown below. If this line is not found, back up the jp1ajs_hstd.conf file, and then add the following line to the beginning of the jp1ajs_hstd.conf file:

        qlcltd|ajsqlcltd.exe|||1800|
    • If you have installed JP1/AJS3 - Agent as an upgrade installation

      After creating a backup of the jp1ajs_spmd.conf file, delete the jp1ajs_spmd.conf file. Next, copy the jp1ajs_spmd_ql.conf.model file, and then rename the copy to jp1ajs_spmd.conf. You do not need to edit the jp1ajs_hstd.conf file.

    The jp1ajs_hstd.conf and jp1ajs_hstd_ql.conf.model files are located in the shared-folder-name\jp1ajs2\conf folder.

  5. Start the queueless agent service and the queueless file transfer service.

    Start the queueless agent service. If you have installed JP1/AJS3 - Manager, also start the queueless file transfer service.

After the above settings have been specified, the queueless cluster process is started when the JP1/AJS3 service is started on the logical hosts. The queueless cluster process automatically attaches the logical hosts. When the JP1/AJS3 service stops on the logical hosts, the queueless cluster process also stops and the queueless cluster process automatically detaches the logical hosts.

(3) Notes on automatic attachment and detachment of logical hosts performed when queueless jobs are used

(4) Other notes