1. Stop the broker.
mqsistop <BrokerName>
Where <BrokerName> is the name of your broker.
2. Enable broker agent trace.
mqsichangetrace <BrokerName> -t -b -l debug -c <file size in KB>
3. Enable the Execution Group startup trace.
mqsichangetrace <BrokerName> -t -e <EGName> -l debug -c <file size in KB>
Where <BrokerName> 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 <BrokerName> -t -b -l none
mqsichangetrace <BrokerName> -t -e <EGName> -l none
6. Retrieve the trace log for specified component.
mqsireadlog <BrokerName> -t -b agent -f -o agent.xml
mqsireadlog <BrokerName> -t -e <EGName> -f -o <EGname>.xml
7. Format the XML log file
mqsiformatlog -i agent.xml -o agent.txt
mqsiformatlog -i <EGName>.xml -o <EGName>.txt
8. After a PMR is open, submit the files agent.txt and <EGName>.txt to IBM Support.
mqsistop <BrokerName>
Where <BrokerName> is the name of your broker.
2. Enable broker agent trace.
mqsichangetrace <BrokerName> -t -b -l debug -c <file size in KB>
3. Enable the Execution Group startup trace.
mqsichangetrace <BrokerName> -t -e <EGName> -l debug -c <file size in KB>
Where <BrokerName> 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 <BrokerName> -t -b -l none
mqsichangetrace <BrokerName> -t -e <EGName> -l none
6. Retrieve the trace log for specified component.
mqsireadlog <BrokerName> -t -b agent -f -o agent.xml
mqsireadlog <BrokerName> -t -e <EGName> -f -o <EGname>.xml
7. Format the XML log file
mqsiformatlog -i agent.xml -o agent.txt
mqsiformatlog -i <EGName>.xml -o <EGName>.txt
8. After a PMR is open, submit the files agent.txt and <EGName>.txt to IBM Support.
本文提供了一套详细的步骤来帮助您诊断和解决MQSeries Broker遇到的问题。包括启动和停止Broker、启用跟踪日志记录、读取和格式化日志文件等关键操作。
570

被折叠的 条评论
为什么被折叠?



