Hitachi

JP1 Version 11 JP1/Performance Management - Remote Monitor for Oracle Description, User's Guide and Reference


7.3.2 List of log files and directories

This subsection describes the log information output by a Performance Management program. Performance Management outputs the following log information:

For details about the output file name and file size of the operation status log, see the chapter on troubleshooting in the JP1/Performance Management User's Guide.

Organization of this subsection

(1) Common message log

This subsection describes the common message log output by Performance Management. The following tables show the name of the service or command that outputs the log, the name of the log file, and the disk space used by each file, for each OS.

Table 7‒3: Common message log file names (in Windows)

Type of log

Output source

File name

Disk usage#1 (KB)

Common message log

Performance Management

installation-folder\log\jpclog{01|02}#2

2,048

(x2)

installation-folder\log\jpclogw{01|02}#2

2,048

(x2)

Common message log (logical host use)

Performance Management on logical host

environment-directory#3

\jp1pc\log\jpclog{01|02}#2

2,048

(x2)

environment-directory#3

\jp1pc\log\jpclogw{01|02}#2

2,048

(x2)

#1

The number enclosed in brackets indicates the number of log files created for the service. For example, if the disk usage is 2,048 (x2), Performance Management creates one or two log files, each taking up a maximum of 2,048 kilobytes of disk space. In this case, the total disk usage will be 4,096 KB.

#2

Common message log files are suffixed with 01 or 02.

When using sequential files (jpclog)

Initially, log information is output to a log file with the suffix 01. When the log file reaches the maximum size, its suffix is changed from 01 to 02, and a new log file is created with the suffix 01. Subsequent log information is output to the new log file. If a log file with the suffix 02 already exists, it is overwritten. The latest log information is always output to the log file with the suffix 01.

When using wraparound files (jpclogw)

Initially, log information is output to a log file with the suffix 01. When the log file reaches the maximum size, a new log file is created with the suffix 02. Subsequent log information is output to the new log file. If a log file with the suffix 02 already exists, the entire contents of the file are deleted, and new log information is added from the top of the file. Performance Management then alternates between the two files as each fills with data.

For details about the output format of the log files, see the chapter on detecting errors in Performance Management in the JP1/Performance Management User's Guide.

#3

The environment directory is the directory you specified on the shared disk when creating the logical host.

Table 7‒4: Common message log file names (in UNIX)

Type of log

Output source

File name

Disk usage#1 (KB)

Common message log

Performance Management

/opt/jp1pc/log/jpclog{01|02}#2

2,048

(x2)

/opt/jp1pc/log/jpclogw{01|02}#2

2,048

(x2)

Common message log (logical host use)

Performance Management on logical host

environment-directory#3

/jp1pc/log/jpclog{01|02}#2

2,048

(x2)

environment-directory#3

/jp1pc/log/jpclogw{01|02}#2

2,048

(x2)

#1

The number enclosed in brackets indicates the number of log files created for the service. For example, if the disk usage is 2,048 (x2), Performance Management creates one or two log files, each taking up a maximum of 2,048 kilobytes of disk space. In this case, the total disk usage will be 4,096 KB.

#2

Common message log files are suffixed with 01 or 02.

When using sequential files (jpclog)

Initially, log information is output to a log file with the suffix 01. When the log file reaches the maximum size, its suffix is changed from 01 to 02, and a new log file is created with the suffix 01. Subsequent log information is output to the new log file. If a log file with the suffix 02 already exists, it is overwritten. The latest log information is always output to the log file with the suffix 01.

When using wraparound files (jpclogw)

Initially, log information is output to a log file with the suffix 01. When the log file reaches the maximum size, a new log file is created with the suffix 02. Subsequent log information is output to the new log file. If a log file with the suffix 02 already exists, the entire contents of the file are deleted, and new log information is added from the top of the file. Performance Management then alternates between the two files as each fills with data.

For details about the output format of the log files, see the chapter on detecting errors in Performance Management in the JP1/Performance Management User's Guide.

#3

The environment directory is the directory you specified on the shared disk when creating the logical host.

(2) Trace log

This subsection describes the trace logs output by Performance Management. The following tables list the name of the service or command that outputs trace logs for PFM - RM for Oracle and the directory where the logs are stored, for each OS.

Table 7‒5: Trace log storage folders (in Windows)

Type of log

Output source

Folder name

Trace log

Action Handler service

installation-folder\bin\action\log\

Performance Management command

installation-folder\tools\log\

Remote Monitor Collector service

installation-folder\agt1\agent\instance-name\log\

Remote Monitor Store service

installation-folder\agt1\store\instance-name\log\

Status Server service

installation-folder\bin\statsvr\log\

Trace log (logical host use)

Action Handler service

environment-directory#\jp1pc\bin\action\log\

Performance Management command

environment-directory#\jp1pc\tools\log\

Remote Monitor Collector service

environment-directory#\jp1pc\agt1\agent\instance-name\log\

Remote Monitor Store service

environment-directory#\jp1pc\agt1\store\instance-name\log\

#

The environment directory is the directory you specified on the shared disk when creating the logical host.

Table 7‒6: Trace log storage directories (in UNIX)

Type of log

Output source

Directory name

Trace log

Action Handler service

/opt/jp1pc/bin/action/log/

Performance Management command

/opt/jp1pc/tools/log/

Remote Monitor Collector service

/opt/jp1pc/agt1/agent/instance-name/log/

Remote Monitor Store service

/opt/jp1pc/agt1/store/instance-name/log/

Status Server service

/opt/jp1pc/bin/statsvr/log/

Trace log (logical host use)

Action Handler service

environment-directory#/jp1pc/bin/action/log/

Performance Management command

environment-directory#/jp1pc/tools/log/

Remote Monitor Collector service

environment-directory#/jp1pc/agt1/agent/instance-name/log/

Remote Monitor Store service

environment-directory#/jp1pc/agt1/store/instance-name/log/

#

The environment directory is the directory you specified on the shared disk when creating the logical host.

(3) Agent log

This subsection describes the agent logs output by Performance Management. The following tables list the name of the service or command that outputs agent logs for PFM - RM for Oracle, the name of the log file, and the disk space used by each file.

Table 7‒7: Agent log files

Type of log

Output source

Default output destination#1

File name

Default Disk usage#1 (MB)

Normal log

PFM - RM for Oracle

In Windows

installation-folder\agt1\agent\instance-name\log\

In UNIX

/opt/jp1pc/agt1/agent/instance-name/log/

agt1inf{01|02}#2

16

Error log

agt1err{01|02}#2

Normal log (logical host use)

PFM - RM for Oracle

In Windows

environment-directory#3\jp1pc\agt1\agent\instance-name\log\

In UNIX

environment-directory#3/jp1pc/agt1/agent/instance-name/log/

agt1inf{01|02}#2

16

Error log (logical host use)

agt1err{01|02}#2

#1

You can use the following methods to check and change the output destination of agent logs and the maximum file size:

  • jpcconf inst setup command

  • RM Configuration property in the PFM - Web Console window

For details about how to use the jpcconf inst setup command to change the settings, see 2.6.3 Updating an instance environment .

#2

Agent logs are output using two sequential files. The file names are suffixed with 01 or 02, which have the following meanings:

  • 01: Current file

  • 02: Backup file

For details about sequential files, see When using sequential files (jpclog) in (1) Common message log.

#3

The environment directory is on the shared disk specified when the logical host was created.