Table of Contents Previous Next PDF


About Oracle Tuxedo Diagnostic Tool

About Oracle Tuxedo Diagnostic Tool
This topic includes the following sections:
Overview
Diagnostic tool is a Tuxedo command. It provides a convenient way of collecting Tuxedo runtime information, especially when system administrators analyze problems that can only be reproduced in production environment.
Installation Requirements
To use diagnostic tool, install the commands listed in the following table, depending on your platform, and set them in environment variable PATH.
 
Using Diagnostic Tool
Diagnostic tool is a Tuxedo command named diagnosetool under TUXDIR/bin.
Setting up Environment Variables
Before using the diagnostic tool, manually fill up diagnoseToolEnvFile file with the following environment variables and put it in TUXDIR/bin directory.
TUXDIR=<Value of Tuxedo Environment Variable TUXDIR>
Absolute pathname of Oracle Tuxedo
APPDIR=<Value of Tuxedo Environment Variable APPDIR>
Absolute pathname of Tuxedo application on the target managed node
TUXCONFIG=<Value of Tuxedo Environment Variable TUXCONFIG>
Absolute pathname of TUXCONFIG file on the target managed node
BDMCIBFUG=<Value of Tuxedo Environment Variable BDMCONFIG>
Absolute pathname of BDMCOBFIG file on the target managed domain
DIAGNOSEROOTDIR=<Value of Environment Variable DIAGNOSEROOTDIR>
Absolute pathname of diagnosetool
Note:
Getting Runtime Information
diagnosetool --type <error|crash|hang> [--tmtrace] [--aduitlog] [--ubb] [--dmc] [--core <core_path>] [--pid <Process_number>] [--trace <executable_with_option>]
diagnosetool.exe --type <error|crash|hang> [--tmtrace] [--aduitlog] [--ubb] [--dmc] [--core <core_path>] [--pid <Process_number>]
Diagnostic Tool Options
type <error|crash|hang>
Before using this tool, specify the bug type properly.
type error: Program Logical Error
type crash: Server/Client Crash
type hang: Process Hang
For more information about bug type, please see Debug Information.
tmtrace
Turn on TMTRACE and collect the corresponding ULOG file.
aduitlog
Turn on Audit Log and collect the corresponding Audit log if the issue relates to Tuxedo Domain.
ubb
Collect UBBCONFIG.
dmc
Collect DMCONFIG.
trace <executable_with_option>
Collect trace from a specific program by executable_with_option.
core <core_path>
This option is used with option type crash to specify the absolute pathname of core file.
pid <process_number>
This option only can be used with option type hang to specify the process ID.
Debug Information
Debug Information Categories
There are three problem types.
If a process crashes and generates a core or dump file, you can use diagnostic tool to get the stack trace written on the file. You can define the problem type as "Server or Client Crash" and get the corresponding information.
If a process enters an endless loop or keeps waiting in a function for a long time, you can use diagnostic tool to figure out what the process is doing. You can define the problem type as "Server or Client Hang" and get the corresponding information.
For all other problems, you can define the problem type as "Program Logical Error" and get the corresponding information.
Debug Information for Each Category
You can get different debug information according to different problem types.
Note:
The followings are general information.
Note:
Open the TMTRACE and get the corresponding ULOG file
Note:
Note:
The action requires you to shut down GWTDOMAIN servers. You can choose to do it by yourselves or by diagnostic tools, or choose not to shut down any server, letting the function to be useless.
You can configure other configuration files, such as $TUXDIR/$APPDIR/ubbconfig and $APPDIR/dmconfig
Note:
Note:
Note:
Under product root directory, log/<year>.<month>.<day>-<hour>.<minute>.<second> sub-directory keeps all debug information and may contain the following files.
baseInfo.txt
It is required. It contains general information.
bbdump
It is required. It is BB dump file.
patchInfo.txt
It contains OS Patch information.
Note:
trace-<executeBinaryName>.txt
It contains Get System Call Trace when specific commands are running.
Note:
UBBCONFIG
It is UBBCONFIG file, only generated when option UBB is used.
DMCONFIG
It is DMCONFIG file, only generated when option DMC is used.

Copyright © 1994, 2017, Oracle and/or its affiliates. All rights reserved.