Tracing the telemetry (MQXR) service
The trace facility provided by the IBM® MQ telemetry (MQXR) service is provided to help IBM Support diagnose customer issues related to the service.
About this task
There are two ways to control trace for the IBM MQ
telemetry service:
- By using the strmqtrc and endmqtrc commands to start and stop trace. Enabling trace, using the strmqtrc command, generates trace information for the entire queue manager where the IBM MQ telemetry service is running. This includes the IBM MQ telemetry service itself, and the underlying Java Message Queuing Interface (JMQI) that the service uses to communicate with other queue manager components.
- By running the controlMQXRChannel command. Note, that turning trace on using the controlMQXRChannel command traces only the IBM MQ telemetry service.
If you are unsure which option to use, contact your IBM Support representative and they will be able to advise you on the best way to collect trace for the issue that you are seeing.
Procedure
Results
- MQ_DATA_PATH\trace.
- /var/mqm/trace.
The trace files containing the information from the MQXR service are called mqxr_N.trc, where N is a number.
Trace information generated by the JMQI is written to a trace file called mqxr_PPPPP.trc, where PPPPP is the process identifier for the MQXR Service.