Hitachi

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


21.5.1 Procedure to enable the job distribution delay reduction function

This subsection describes the procedure to enable the job distribution delay reduction function.

  1. Stop the JP1/AJS3 service.

  2. Enable the job distribution delay reduction function.

    Specify yes for the AGMMONITORING environment setting parameter by executing the following command:

    jajs_config -k "[{JP1_DEFAULT|logical-host-name}\JP1AJS2\HOST\AGENTMONITOR]" "AGMMONITORING" = "yes"
  3. Specify settings to start the ajsagtmond process.

    To start the ajsagtmond process, you must revise the JP1/AJS3 startup process definition file (jp1ajs_hstd.conf). The following shows the storage folders for the JP1/AJS3 startup process definition file (jp1ajs_hstd.conf) and model files:

    For a physical host (in Windows)

    JP1/AJS3-Manager-installation-folder\conf

    For a physical host (in UNIX)

    /etc/opt/jp1ajs2/conf

    For a logical host (in Windows)

    shared-folder\conf

    For a logical host (in UNIX)

    shared-directory/conf

    The procedure to edit the JP1/AJS3 startup process definition file differs depending on whether the file has been updated since JP1/AJS3 was installed. For details about how to edit, see (1) Procedure to edit the JP1/AJS3 startup process definition file.

  4. If necessary, change the restart setting of the ajsagtmond process.

    The restart of the ajsagtmond process is defined in the extended startup process definition file (jp1ajs_hstd_0700.conf). For details about the extended startup process definition file, see 6.3.1 Restarting an abnormally terminated JP1/AJS3 process in the JP1/Automatic Job Management System 3 Administration Guide.

  5. Start the JP1/AJS3 service.

  6. Execute the jajs_spmd_status command to confirm that the following process name is displayed:

    In Windows

    agentmon

    In UNIX

    ajsagtmond

  7. Execute the ajsagtcheck command with the -m status option specified to confirm that the command can be executed normally.

Organization of this subsection

(1) Procedure to edit the JP1/AJS3 startup process definition file

This subsection describes the procedure to edit the JP1/AJS3 startup process definition file.

The procedure differs depending on whether the file has been updated since JP1/AJS3 was installed.

(a) Procedure to apply if the JP1/AJS3 startup process definition file has not been updated

If the JP1/AJS3 startup process definition file has not been updated, edit the file by completing the following procedure:

  1. Back up the JP1/AJS3 startup process definition file (jp1ajs_hstd.conf), and store the backup file in any folder.

  2. Copy the model file (jp1ajs_hstd_agtmon.conf.model).

  3. Rename the copy of the model file to jp1ajs_hstd.conf, and then overwrite the file.

(b) Procedure to apply if the JP1/AJS3 startup process definition file has been updated

If the JP1/AJS3 startup process definition file has been updated, edit the file by completing the following procedure:

  1. Open the model file for the JP1/AJS3 startup process definition file (jp1ajs_hstd_agtmon.conf.model) by using a text editor.

  2. Copy the definition entry for the ajsagtmond process in the model file, and then close the file.

    The entry to be copied is as follows:

    In Windows

    agentmon|ajsagtmond.exe|||1800|

    In UNIX

    ajsagtmond|/opt/jp1ajs2/bin/ajsagtmond|||1800|

  3. Open the JP1/AJS3 startup process definition file (jp1ajs_hstd.conf) by using a text editor.

  4. Add the definition entry for the ajsagtmond process.

    Create a new line anywhere in the file, and paste the entry that you copied in step 2.

  5. Save and close the JP1/AJS3 startup process definition file.