Author |
Message
|
sarasu |
Posted: Mon Feb 09, 2009 1:19 pm Post subject: How to make Circular Logging Full ? |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
I want to make circular logging full and need to do some tests on AIX 5.3.
We are using MQ 6.0.2.3 on AIX 5.3
Any help is appreciated.! |
|
Back to top |
|
 |
Vitor |
Posted: Mon Feb 09, 2009 3:23 pm Post subject: Re: How to make Circular Logging Full ? |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sarasu wrote: |
I want to make circular logging full and need to do some tests on AIX 5.3. |
Write a test application that opens a UOW, keeps putting under syncpoint and never commits the UOW!
What is the test supposed to determine / achieve? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sarasu |
Posted: Tue Feb 10, 2009 8:28 am Post subject: |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
how to put messages under sync point ? Its an internal test to make sure the problem is not from QM side.
can you give me more idea to write atest to put messages under sync point ?
Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 10, 2009 8:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sarasu wrote: |
how to put messages under sync point ? |
Set the option in the application when you put? It really is that easy.
sarasu wrote: |
Its an internal test to make sure the problem is not from QM side. |
"The problem" - what problem? That the queue manager will throw an error and roll back when the log fills? Because it will.
sarasu wrote: |
can you give me more idea to write atest to put messages under sync point ? |
Not really. A two line change is hard to describe more fully. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Feb 10, 2009 8:45 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
How about modifying the amqsput source as follows:
. specify PMO_SYNCPOINT
. continuously MQPUT the same message
Executing several instances of this death-defying program should fill your circular logs pretty quickly.
Yep, two lines of code change ought to do it... _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|