7.4.2 In UNIX
- Organization of this subsection
(1) Log information about the OS
Collect the information about the OS. The following table lists the information about the OS:
Type of information |
Details |
Default file name |
Collected by jpcras command |
---|---|---|---|
System log |
syslog |
/var/log/messages |
Y# |
Process information |
List of processes |
-- |
Y |
System file |
hosts file |
/etc/hosts |
Y |
services file |
/etc/services |
Y |
|
OS information |
Patch information |
-- |
Y |
Kernel information |
-- |
Y |
|
Version information |
-- |
Y |
|
Network status |
-- |
Y |
|
Environment variable |
-- |
Y |
|
Host name |
-- |
Y |
|
Dump information |
core file |
-- |
Y |
- Legend:
-
Y: Can be collected
--: Not applicable
- #
-
This information will not be collected by the jpcras command if it is output to a path or file other than the default. In this case, manually collect the information.
(2) Information about Performance Management
Collect the information about Performance Management. If the problem relates to a network connection, also collect information from the machine that is the connection target.
The following table lists the information about Performance Management:
Type of information |
Details |
Default file name |
Collected by jpcras command |
---|---|---|---|
Common message log |
Message log output by Performance Management (sequential files) |
/opt/jp1pc/log/jpclog{01|02}#1 |
Y |
Performance Management (wraparound files) |
/opt/jp1pc/log/jpclogw{01|02}#1 |
Y |
|
Configuration information |
Configuration information files |
-- |
Y |
Output of jpcconf inst list command |
-- |
Y |
|
Version information |
Product version |
-- |
Y |
Log information |
-- |
Y |
|
Database information |
Remote Monitor Store service |
/opt/jp1pc/agt1/store/instance-name/STPD The following files under the /opt/jp1pc/agt1/store/instance-name/STPI directory: *.DB *.IDX |
Y |
Trace log |
Trace information for Performance Management services |
--#2 |
Y |
Agent log |
Normal log for processing related to acquisition of PFM - RM for Oracle records |
/opt/jp1pc/agt1/agent/instance-name/log/agt1inf{01|02}#3 |
Y#4 |
Error log for processing related to acquisition of PFM - RM for Oracle records |
/opt/jp1pc/agt1/agent/instance-name/log/agt1err{01|02}#3 |
Y#4 |
|
Install log#5 |
Standard log for Hitachi Program Product Installer |
/etc/.hitachi/.hitachi.log |
N |
- Legend:
-
Y: Can be collected
N: Cannot be collected
--: Not applicable
- #1
-
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.
- #2
-
For details about the storage directories for trace logs, see 7.3.2 List of log files and directories.
- #3
-
For details about the output format of an agent log and how to change the storage folder, see 7.3.2 List of log files and directories.
- #4
-
The jpcras command collects agent log information only from the currently specified output destination folder. If you change the output destination folder for agent logs, you need to manually collect data from the agent log files that were output before the change.
- #5
-
Collect this information if installation failed.
(3) Operation information
Collect the following information about the operation that was being performed when the problem occurred:
-
Details of the operation
-
Time when the error occurred
-
Machine configuration (version of each OS, host name, configuration of PFM - Manager and PFM - RM for Oracle)
-
Whether the error is reproducible
-
Name of any Performance Management user who logged in from PFM - Web Console
(4) Error information
Collect the following error information:
-
Messages output to the console when an error occurs during command execution
(5) Information about performance data
Collect the following information about performance data. If a problem occurred during network connection, you must also collect files located on the machine, command results, and registry information.
The following table shows information about performance data that is specially collected by PFM - RM for Oracle in an environment in which PFM - RM for Oracle is installed.
Type of information |
Details |
File name |
Collected by jpcras command |
---|---|---|---|
Error information during Oracle connection#1 |
Error code when an error occurs for the Oracle connection |
/opt/jp1pc/agt1/agent/instance-name/pdia_xxxxx_status.db#2 |
Y |
Internal maintenance information |
Log file for OCI functions |
/opt/jp1pc/agt1/agent/instance-name/ocilog.txt |
Y |
- Legend:
-
Y: Can be collected
- #1
-
This file may be created when an error occurs during an Oracle connection.
- #2
-
xxxxx is replaced with any string.
(6) Other information
- Also collect the following information:
-
-
Arguments specified in the command when an error occurs during command execution
-