Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 System Design (Configuration) Guide


7.1.8 Option for deleting job information asynchronously

In JP1/AJS3, jobs that have been kept for longer than the set retention period are deleted from the ISAM database used for job execution. Deletion is performed when JP1/AJS3 starts, or at the base time for deleting job information. The data file update mode is normally set as synchronous. In synchronous mode, although updates take longer due to the frequent disk I/O operations, the data is more reliable because the buffer contents in memory are written to the disk every time JP1/AJS3 finishes a write process. Executing jobs in parallel with JP1/AJS3 write processing might affect job execution performance. If job information is kept one day or longer, set the base time for deleting job information at a time when just a few jobs are being executed.

If you cannot predict when just a few jobs will be executed, set the option below to quickly delete job information asynchronously. When job information is deleted asynchronously, buffer contents are written to the disk using the OS buffering. Because this write process is not synchronized with JP1/AJS3 processing, there are fewer disk I/O operations and less effect on job performance when deletion processing is performed in parallel with job execution. With a RAID system, however, the gain in performance might not be great. Also, with asynchronous deletion, inconsistencies can easily arise between the information managed in memory and the information written to disk. The lower reliability therefore makes this option unsuitable for cluster configurations. Before using this option, carefully consider the environment in which it will be used.

This option for deleting job information asynchronously is valid only when the data file update mode is set as synchronous.

The procedure for setting this option is as follows.

Organization of this subsection

(1) Setting procedure

  1. Stop JP1/AJS3.

    In Windows:

    From Administration Tools in the Windows Control Panel, choose Services and stop the following service:

    - JP1/AJS3 service

    In UNIX:

    Execute the following commands to stop the JP1/AJS3 processes and to check that all processes have stopped:

    # /etc/opt/jp1ajs2/jajs_stop#1

    # /opt/jp1ajs2/bin/jajs_spmd_status

    #1

    First check whether the JP1/AJS3 processes are set to stop automatically.

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

    jajs_config -k definition-key-name "environment setting parameter-name"=definition-contents
  3. Restart JP1/AJS3.

    The setting takes effect.

(2) Environment setting parameter

Table 7‒5: Environment setting parameter for setting the option for deleting job information asynchronously

Definition key

Environment setting parameter

Definition contents

[{JP1_DEFAULT|logical-host-name}\JP1NBQMANAGER\Database]#

"DeleteFlashOption"=

Option for deleting job information asynchronously

#

In the portion {JP1_DEFAULT|logical-host-name}, specify JP1_DEFAULT for the physical host, or logical-host-name for a logical host.

For details about what is defined in this environment setting parameter, see 20.5.2(7) DeleteFlashOption in the JP1/Automatic Job Management System 3 Configuration Guide.