Hitachi

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


13.1.6 Limiting JP1/AJS3 - Manager resources to those used for job operation

Even if you use JP1/AJS3 - Manager only for job execution, the functions you do not use still use system resources, increasing the load on the host. This case study describes how to reduce resources used by JP1/AJS3 by restricting the functionality of JP1/AJS3 - Manager to job execution.

Organization of this subsection

(1) Operation

A logical host is set up on a physical host, and instances of JP1/AJS3 - Manager are installed on the physical and logical hosts. Each host is utilized as follows:

Physical host

Executes jobs but does not provide the functionality of a manager host.

Logical host

Serves as a manager host.

The following figure shows this type of host configuration.

Figure 13‒14: Host configuration

[Figure]

(2) Goal

To reduce the use of resources by JP1/AJS3.

(3) Solution

Suppress startup of some JP1/AJS3 processes. For example, in Figure 13-14, you can prevent the embedded database from starting automatically on the physical host, limiting the functionality of JP1/AJS3 - Manager on the physical host to that which is essential for job execution.

This process reduces the memory used by the JP1/AJS3 system, and also cuts down the startup time.

(4) Timing

Perform the settings before starting operation.

(5) Configuration procedure

The procedures for Windows and UNIX are described below. Make sure that you back up the configuration and definition files before modifying them. To undo your changes, restore the backup file to its original location. For details, see 2.3.4 Recovering the JP1/AJS3 - Manager setup information.

(a) In Windows

  1. If the embedded database uses a method from a version earlier than 10-00, change the value set in the system common definition file.

    Open the following file in a text editor such as Notepad, and change the setting. Do not perform this step if the embedded database uses a method from version 10-00 or later.

    embedded-database-practical-directory\conf\pdsys
    Before

    set pd_mode_conf = AUTO

    After

    set pd_mode_conf = MANUAL2

  2. Change the entries in the JP1/AJS3 startup process definition file.

    Open the startup process definition file in a text editor such as Notepad, and delete lines beginning with jajs_dbmd, jajs_hstd, and jajs_schd.

    Path of startup process definition file:

    JP1/AJS3-installation-folder\conf\jp1ajs_spmd.conf

    Before

    jajs_dbmd|jajs_dbmd.exe|||1800|

    jajs_hstd|jajs_hstd.exe|||1800|

    jajs_agtd|jajs_agtd.exe|||1800|

    jajs_schd|jajs_schd.exe|||1800|

    After

    jajs_agtd|jajs_agtd.exe|||1800|

    Remarks

    If you use a logical host for job execution and want to prevent certain processes from starting on the logical host, edit the startup process definition file at the following location:

    shared-folder-specified-by-jajs_setup_cluster-command\jp1ajs2\conf\jp1ajs_spmd.conf

  3. Change the entries in the JP1/AJS3 extended startup process definition file.

    Open the extended startup process definition file in a text editor such as Notepad, and delete lines beginning with jajs_dbmd, jajs_hstd, and jajs_schd. Also delete the jajs_hstd portion of the line beginning with jajs_agtd.

    The following are the location of the startup process definition file and an example of the changes.

    Path of extended startup process definition file:

    JP1/AJS3-installation-folder\conf\jp1ajs_service_0700.conf

    Before

    jajs_dbmd|jajs_dbmd.exe||0|3|3|21600|0|2||1|||||||

    jajs_hstd|jajs_hstd.exe||1|3|20|21600|0|0|jajs_dbmd|1|||||||

    jajs_agtd|jajs_agtd.exe|-HA|1|3|3|21600|0|0|jajs_hstd|1|||||||

    jajs_schd|jajs_schd.exe|-HA|1|3|10|21600|0|1|jajs_agtd|1|||||||

    After

    jajs_agtd|jajs_agtd.exe|-HA|1|3|3|21600|0|0||1|||||||

    Remarks

    If you use a logical host for job execution and want to prevent certain processes from starting on the logical host, edit the extended startup process definition file at the following location:

    shared-folder-specified-by-jajs_setup_cluster-command\jp1ajs2\conf\jp1ajs_service_0700.conf

  4. Restart the JP1/AJS3 service.

(b) In UNIX

  1. If the embedded database uses a method from a version earlier than 10-00, change the value set in the system common definition file.

    Open the following file in an editor such as vi, and change the setting. Do not perform this step if the embedded database uses a method from version 10-00 or later.

    embedded-database-practical-directory/conf/pdsys
    Before

    set pd_mode_conf = AUTO

    After

    set pd_mode_conf = MANUAL2

  2. Change the entries in the JP1/AJS3 startup process definition file.

    Open the startup process definition file in a text editor (such as the vi editor), and then delete lines that begin with jajs_dbmd, jajs_hstd, and jajs_schd.

    The following are the location of the startup process definition file and an example of the changes.

    Path of startup process definition file:

    /etc/opt/jp1ajs2/conf/jp1ajs_spmd.conf

    Before

    jajs_dbmd|/opt/jp1ajs2/bin/jajs_dbmd|||1800|

    jajs_hstd|/opt/jp1ajs2/bin/jajs_hstd|||1800|

    jajs_agtd|/opt/jp1ajs2/bin/jajs_agtd|||1800|

    jajs_schd|/opt/jp1ajs2/bin/jajs_schd|||1800|

    After

    jajs_agtd|/opt/jp1ajs2/bin/jajs_agtd|||1800|

    Remarks

    If you use a logical host for job execution and want to prevent certain processes from starting on the logical host, edit the startup process definition file at the following location:

    shared-directory-specified-by-jajs_setup_cluster-command/jp1ajs2/conf/jp1ajs_spmd.conf

  3. Change the entries in the JP1/AJS3 extended startup process definition file.

    Open the extended startup process definition file in a text editor such as vi, and delete lines beginning with jajs_dbmd, jajs_hstd, and jajs_schd. Also delete the jajs_hstd portion of the line beginning with jajs_agtd.

    The following are the location of the startup process definition file and an example of the changes.

    Path of extended startup process definition file:

    /etc/opt/jp1ajs2/conf/jp1ajs_service_0700.conf

    Before

    jajs_dbmd|/opt/jp1ajs2/bin/jajs_dbmd||0|3|3|21600|0|2||1|||||||

    jajs_hstd|/opt/jp1ajs2/bin/jajs_hstd||1|3|20|21600|0|0|jajs_dbmd|1|||||||

    jajs_agtd|/opt/jp1ajs2/bin/jajs_agtd|-HA|1|3|3|21600|0|0|jajs_hstd|1|||||||

    jajs_schd|/opt/jp1ajs2/bin/jajs_schd|-HA|1|3|10|21600|0|1|jajs_agtd|1|||||||

    After

    jajs_agtd|/opt/jp1ajs2/bin/jajs_agtd|-HA|1|3|3|21600|0|0||1|||||||

    Remarks

    If you use a logical host for job execution and want to prevent certain processes from starting on the logical host, edit the extended startup process definition file at the following location:

    shared-directory-specified-by-jajs_setup_cluster-command/jp1ajs2/conf/jp1ajs_service_0700.conf

  4. Restart the JP1/AJS3 service.

(6) Manual references

Type

Item

Location

Overview

Process list

  • B.2 Processes (for Windows) in the manual JP1/Automatic Job Management System 3 Troubleshooting

  • B.3 Processes (for UNIX) in the manual JP1/Automatic Job Management System 3 Troubleshooting

Configuration

23.1 Preparation for using an embedded database in the JP1/Automatic Job Management System 3 Configuration Guide

(7) Cautionary notes