In HP SUM 5.x, HP SUM generates a set of debug trace logs located in the %TEMP%\HPSUM
directory on Windows systems. These files contain internal process and debug information which can be useful in determining HP SUM failures. In HP SUM 6.x, the files are stored in the %temp%\HP SUM for 6.x
directory.
In HP SUM 5.x, the debug trace files are located under %temp%\hp_sum
for Windows. The log files are located under C:\cpqsystem\hp\log
. These files provide the following information and are appended in each HP SUM session.
HP SUM 5.0.0 and later includes a utility named GatherLogs.bat
(Windows) or Gatherlogs.sh
(Linux) to create a compressed .zip (Windows) or tar.Z (Linux) file with all the logs. If you need to review the log files, you can run this utility to gather all the logs in one file.
|
|
NOTE: Exit HP SUM before running the GatherLogs utility. |
|
|
The following are the debug files for HP SUM 5.x.
Debug Trace Files |
Function |
---|---|
|
Contains details of the component inventory from the repositories. |
|
Includes general settings information of HP SUM such as Force downgrade or upgrade. |
|
Includes trace data of repository manager and general errors if any. |
|
Contains trace data for HP SUM SOAP server sessions. |
|
Contains remote trace data for HP SUM SOAP server sessions. |
|
Contains information of the HP SUM SOAP server. |
|
Contains the data and time each session started. This file is saved in a separate directory named with the date. |
|
Provides the repository and component information. This directory can be excluded in the trace data when collecting the trace files. |
|
Provides the details of interaction between the Operations Manager and the remote discovery client. If a discovery tool fails, it is reported to this trace file and surfaced as a |
|
Provides the interaction between the Operations Manager and the remote discovery client. If a discovery tool fails, it is reported to this trace file and surfaced as a |
|
Provides the trace data from operations manager for a specific target.
|
|
Provides general settings information of HP SUM such as Force downgrade or upgrade for a specific target. |
Log Files |
Function |
---|---|
|
Contains information of HP SUM discovery, installation status and errors if any.
|
|
Contains the log data of the components. |
|
Stores persistent data on the user's system. |
HP SUM 6.0.0 trace directories
In HP SUM 6.x, trace directories are stored in the /tmp/HPSUM (Linux) and %temp%\HPSUM (Windows) directories. HP SUM creates trace directories for each function and node that HP SUM updates.
If you are running HP SUM in offline mode, use the following instructions to collect trace directories and logs.
-
Launch the command prompt from the HP SUM GUI by pressing CTRL+ALT+D+B+X.
NOTE: After approximately 30 seconds, the command prompt appears over the HP SUM GUI window.
-
Change the directory to the one running HP SUM. For example,
cd /mnt/bootdevice/SPP2012060B/hp/swpackages
. -
Type
./gatherlogs.sh
to collect the HP SUM logs. All logs are collected in a.tar.gz
file in the directory where you placed HP SUM or in a temp directory if the HP SUM directory is read-only. The log file is namedHPSUM_Logs_$(datetime).tar
. -
Place the logs on a removable media if you want to view them on another computer.