13.4.4 Extending trace log files
This subsection describes how to extend the following trace log files in UNIX:
-
JP1/AJS3 trace log file
-
Queueless trace log file
-
Internal log file for execution of queueless jobs
-
JP1/AJS3 Console trace log file
- Organization of this subsection
(1) Extending the JP1/AJS3 trace log file
The initial settings for the JP1/AJS3 trace log file are as follows:
-
File name
/var/opt/jp1ajs2/log/tracelog
-
Size
20 MB (20,480 KB), which is the size of a file in which trace log data about the execution of approximately 2,000 jobs can be saved
An adequate trace log file size differs considerably depending on the jobnet configuration, the number of connected JP1/AJS3 - View instances, and operation types. Therefore, the trace log file will need to be extended whenever necessary after an appropriate file size has been determined.
For details about how to estimate an appropriate trace log file size, see 3.4.2 Estimating the size of the trace log file in the Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide.
If the trace log file size must be extended, use the ajstrsetsz command to resize the file. For details about the ajstrsetsz command, see ajstrsetsz in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
(2) Extending the queueless trace log file
The initial settings for the queueless trace log file are as follows:
-
File name
/var/opt/jp1ajs2/log/tracelog.ql
-
Size
15 MB (15,360 KB), which is the size of a file in which trace log data about the execution of approximately 10,000 jobs can be saved
Because an adequate queueless trace log file size differs considerably depending on such factors as whether the job transfers file and error results are output, the trace log file will need to be extended whenever necessary after an adequate file size has been estimated.
For details about how to estimate an appropriate trace log file size, see 7.2.1(2) Estimating the size of the queueless trace log file in the Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide.
If the queueless trace log file must be extended, use the ajsqltrsetsz command to resize the file. For details about the ajsqltrsetsz command, see ajsqltrsetsz in 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.
(3) Extending the internal log file for execution of queueless jobs
The initial settings for the internal log file for execution of queueless jobs are as follows:
-
File name
/var/opt/jp1ajs2/log/ajsqlexeclog#1
/var/opt/jp1ajs2/log/ajsqlexeclog_ftpd#2
- #1:
-
In a cluster configuration, the file name is as follows:
/var/opt/jp1ajs2/log/ajsqlexeclog-[logical-host-name]
If the full path name is 256 or more bytes, the maximum length of logical-host-name is 30 bytes.
- #2:
-
This file is created for JP1/AJS3 - Manager only.
-
Size
- The size of the ajsqlexeclog file
-
24 MB (24,576 KB), which is the size of a file in which the internal execution log data output by the queueless agent service when about 40,000 queueless jobs are executed can be saved
- The size of the ajsqlexeclog_ftpd file
-
10 MB (10,240 KB), which is the size of a file in which the internal execution log data output by the queueless file transfer service when about 20,000 queueless jobs that perform a file transfer are executed can be saved
An adequate size for the internal log file for execution of queueless jobs differs considerably depending on the number of executed queueless jobs, whether the queueless job performs a file transfer, and other factors. Therefore, the trace log file must be extended whenever necessary after an adequate file size has been estimated.
For details about how to estimate an appropriate size for the internal log file for execution of queueless jobs, see 7.2.1(3) Estimating the size of the internal execution logs for queueless jobs in the Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide.
If the size of the internal execution logs for queueless jobs must be extended, use the ajsqlexecsetsz command to resize the file. For details about the ajsqlexecsetsz command, see ajsqlexecsetsz in 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.
(4) Extending the JP1/AJS3 Console trace log file
Extension of the JP1/AJS3 Console trace log file must be set separately for JP1/AJS3 Console Manager and JP1/AJS3 Console Agent. The initial settings for the JP1/AJS3 Console trace log file are as follows:
-
File name
For JP1/AJS3 Console Manager: /var/opt/jp1ajs2cm/log/tracelog.cm
For JP1/AJS3 Console Agent: /var/opt/jp1ajs2/log/tracelog.ca
-
Size
For JP1/AJS3 Console Manager: 3,072 KB
For JP1/AJS3 Console Agent: 3,072 KB
Because an adequate trace log file size differs considerably depending on the status of monitoring during operation and other factors, the trace log file must be extended whenever necessary after an adequate file size has been estimated.
For details about how to estimate an appropriate trace log file size, see 3.4.2 Estimating the size of the trace log file in the Job Management Partner 1/Automatic Job Management System 3 System Design (Configuration) Guide.
If the trace log file must be extended, use the ajscmtrsetsz or ajscatrsetsz command to resize the file. For details about these commands, see the appropriate manual below.
- For JP1/AJS3 Console Manager:
-
ajscmtrsetsz in 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2
- For JP1/AJS3 Console Agent:
-
ajscatrsetsz in 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2