|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Retaining the Trace information in WMQI. |
« View previous topic :: View next topic » |
Author |
Message
|
Yuvaraj |
Posted: Tue May 18, 2004 8:54 am Post subject: Retaining the Trace information in WMQI. |
|
|
Apprentice
Joined: 28 Oct 2003 Posts: 30
|
Hi,
I want to know if there is a way in WMQI to retain the trace information
over a longer period. Let me explain it in detail.
I have a broker which has say 3 execution groups. I want to start
the trace utility at the start of the day on all these components and retain
all information till end of day and do some analysis.
Also, whenever there would be errors, I should be able to read and format
the same.
Currently, I set debug level trace on all execution groups and pump in messages to the broker. I kept losing information each time I do a mqsiread log and mqsiformatlog. Only the latest information is available in the fomatted file.
So, I tried with a -c 70000 as file size to the mqsichangetrace command.
This is causing the subsequent mqsireadlog to Abort after a while.
Please let me know the way to go about this and what options do I have.
This is a testing envrionment
on AIX and I don't care about file system space and performance of the broker by enabling trace at any levels.
Your help will be appreciated.
Thanks |
|
Back to top |
|
 |
kirani |
Posted: Tue May 18, 2004 5:57 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
What are the options you specify for mqsireadlog command? Please look in the Administration manual, there is some kind of restriction on the value you specify here, it's related to how you use the mqsireadlog command.
What is the exact error message you get when mqsireadlog command is Aborted? You can try using MQSI_UTILITY_TRACE and MQSI_UTILITY_TRACESIZE variables to trace the utility itself. For more information, please refer to Problem Determination Guide. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
JT |
Posted: Wed May 19, 2004 5:56 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Also take a look at the options you specify on the mqsichangetrace command. The -r parameter will reset the log and discard all of the current trace entries. |
|
Back to top |
|
 |
Yuvaraj |
Posted: Tue May 25, 2004 8:30 am Post subject: |
|
|
Apprentice
Joined: 28 Oct 2003 Posts: 30
|
Thanks for your pointers.
I was able to get what I wanted.
I used the following commands:
mqsichangetrace RS241SI1 -u -e Phase1 -r -l debug -m fast -c 1000000
mqsireadlog RS241SI1 -u -e Phase1 -f -o $TRACE_PATH/Phase1.xml
mqsiformatlog -i $TRACE_PATH/Phase1.xml -o $TRACE_PATH/Phase1.log
Thanks again for your help.
Regards.
Yuvaraj |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|