Hitachi

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


7.1.10 Setting for disabling deletion of job information when JP1/AJS3 starts

Job information deletion processing is executed either at the base time for deleting job information, which is specified in the environment settings, or when the JP1/AJS3 service starts. When a base time is used, job information is deleted if it has been kept longer than the set number of days at the base time. When deletion is timed with JP1/AJS3 service startup, job information is deleted if it has been kept longer than the set number of days at the start time. If a failover occur in a cluster configuration while a large number of jobs are being executed, or if the JP1/AJS3 service is restarted due to a system error or other issue, job execution performance might decline due to the conflict with job deletion processing.

By using either of the following options to disable the deletion of job information when the JP1/AJS3 service starts, you can avoid conflict between deletion processing and job execution:

The following describes how to disable deletion of job information at JP1/AJS3 service startup when the retention period for job information is set as one day or longer.

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‒7: Environment setting parameter for disabling deletion of job information when the JP1/AJS3 service starts

Definition key

Environment setting parameter

Definition contents

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

"StartUpDelete"=

Setting to disable the deletion of job information at JP1/AJS3 service startup

#

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(9) StartUpDelete in the JP1/Automatic Job Management System 3 Configuration Guide.

(3) Setting for disabling deletion of job information when JP1/AJS3 starts and its effects

The following table shows the relationship between the disabling deletion of job information when JP1/AJS3 starts, and whether deletion processing is performed.

Table 7‒8: Relationship between the setting for disabling deletion of job information when JP1/AJS3 starts, and whether deletion processing is performed

Setting for disabling deletion of job information at JP1/AJS3 startup

Deletion of job information at JP1/AJS3 startup

Time for deleting job information

0

Yes#

Base time

1

Yes

Start time of JP1/AJS3 service

2

No

--

Legend:

Yes: Deletion processing is performed.

No: Deletion processing is not performed.

--: Not applicable.

#

Job information is not deleted when the JP1/AJS3 service starts if deletion took place at the preceding base time.