Message Broker Open trace

1. Stop the broker.
mqsistop

Where is the name of your broker.

2. Enable broker agent trace.
mqsichangetrace -t -b -l debug -c

3. Enable the Execution Group startup trace.
mqsichangetrace -t -e -l debug -c

Where is the name of your broker.
This command can be run even when broker / EG are in stopped state.

4. Start the broker to recreate the problem.

5. Turn off trace

mqsichangetrace -t -b -l none
mqsichangetrace -t -e -l none

6. Retrieve the trace log for specified component.

mqsireadlog -t -b agent -f -o agent.xml
mqsireadlog -t -e -f -o .xml

7. Format the XML log file

mqsiformatlog -i agent.xml -o agent.txt
mqsiformatlog -i .xml -o .txt

8. After a PMR is open, submit the files agent.txt and .txt to IBM Support.

你可能感兴趣的:(Message Broker Open trace)