Hitachi

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


6.1.5 Setting to output a scheduler trace log per scheduler service

If you activate multiple scheduler services concurrently, we recommend that you specify settings to output a scheduler trace log for individual scheduler services.

The following describes the setting procedure to output a scheduler trace log for individual scheduler services.

Organization of this subsection

(1) Definition procedure

  1. In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • JP1/AJS3 service

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

    jajs_config -k definition-key "parameter-name"=value
  3. Restart JP1/AJS3.

    The new settings are applied to the configuration definition.

(2) Environment setting parameter

Table 6‒5: Environment setting parameters to output a scheduler trace log per scheduler service

Definition key

Environment setting parameter

Explanation

[JP1_DEFAULT\JP1AJSMANAGER]

"TRACELOGDIV"=

Specifies the method to output a scheduler trace log (whether to output a trace log per scheduler service).

[{JP1_DEFAULT|logical-host}\JP1AJSMANAGER\scheduler-service]#1

"TRACELOGDIVDIR"=#2

Specifies the folder to store the scheduler trace log files for scheduler services.

#1:

The specification of the {JP1_DEFAULT|logical-host} part depends on whether the host is a physical host or a logical host. For a physical host, specify JP1_DEFAULT. For a logical host, specify the logical host name.

#2:

The scheduler trace information of the specified scheduler is recorded for each scheduler service under the folder specified in this parameter. Make sure that you specify a directory on the local disk to infallibly record the trace information.

When trace information is output, each trace log file is newly generated with the file name tracelog_scheduler-service-name. Make sure that no other file with the same name as a trace log file is found under the specified directory.

For details about the definition of these environment setting parameters, see the following:

(3) Changes the size of the scheduler trace log file

Execute the ajstrsetsz command to change the size of the scheduler trace log file per scheduler service. The default size of the trace log file is 20,480 kilobytes.

For example, execute the ajstrsetsz command as follows.

(Example) Setting the size of the trace log file for scheduler service AJSROOT1

ajstrsetsz -F AJSROOT1 -s 3072

For details about the ajstrsetsz command, see ajstrsetsz in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.