IBM MQ 7.5 was EOS 30th April 2018.Click EOS notice for more details
Tracing the telemetry (MQXR) service
Follow these instructions to start a trace of the telemetry
service, set the parameters that control the trace, and find the trace
output.
Before you begin
Tracing is a support function. Follow these instructions if
an IBM® service
engineer asks you to trace your telemetry (MQXR) service. The product documentation does not document the format of the trace file, or how to use
it to debug a client.
About this task
You can use the IBMWebSphere® MQ
strmqtrc and endmqtrc commands to start
and stop IBMWebSphere MQ trace. strmqtrc
captures trace for the telemetry (MQXR) service. When using strmqtrc
, there is a delay of up to a couple of seconds before the telemetry
service trace is started. For further information about IBMWebSphere MQ trace, see
Using trace. Alternatively, you can trace the telemetry (MQXR) service
by using the following procedure:
Procedure
Set the trace options to control the amount of detail and
the size of the trace. The options apply to a trace started with either
the strmqtrc or the controlMQXRChannel
command.
Set the trace options in the following files:
mqxrtrace.properties
trace.config
The files are in the directory:
On Windows,
WebSphere MQ data directory\qmgrs\qMgrName
\mqxr.
On Linux®, var/mqm/qmgrs/
qMgrName/mqxr.
Open a command window in the following directory:
On Windows systems, WebSphere MQ installation directory\mqxr\bin
.
On Linux systems
/opt/mqm/mqxr/bin.
Run the following command to start an SYSTEM.MQXR.SERVICE
trace:
Mandatory parameters
qmgr=qmgrName
Set qmgrName to the queue manager name
mode=starttrace|
stoptrace
Set starttrace to begin tracing or to
stoptrace to end tracing
Optional parameters
clientid=ClientIdentifier
Set ClientIdentifier to the ClientIdentifier
of a client. clientid filters trace to a single
client. Run the trace command multiple times to trace multiple clients.