Author |
Message
|
WBI_User21 |
Posted: Sun Nov 16, 2008 7:54 am Post subject: Performance events : |
|
|
 Voyager
Joined: 12 Jun 2007 Posts: 98
|
Hi MQ Experts.
I want to enable performance events on my 5.3 Qmgrs .
I am running following version of MQ :
Quote: |
Name: WebSphere MQ
Version: 530.12 CSD12 CMVC level: p530-12-L051208 BuildType: IKAP - (Production) |
I had created queue as mentioned in documentation and enabled performance events .
Quote: |
ALTER QMGR PERFMEV(ENABLED)
DEFINE QLOCAL('MYQUEUE1') MAXDEPTH(1000) QDPMAXEV(DISABLED) QDEPTHHI(2) QDPHIEV(ENABLED) QDEPTHLO(2) QDPLOEV(DISABLED)) |
As per my understanding , the Performance event will be generated by QM and event will be lying in SYSTEM Queue SYSTEM.ADMIN.PERFM.EVENT when curr depth of queue reaches to 20 (2% of MAXDEPTH) .
But this is not happening !!
Am I doing any thing wrong here? Does MQ 5.3 support Performance events. Because I found it working in MQ 6. 0 Solaris box.
Thanks in advance ..
 |
|
Back to top |
|
 |
exerk |
Posted: Mon Nov 17, 2008 1:28 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Change you QDEPTHLO watermark and try again. From experience (with that version of WMQ) I've seen strange results where HI/LO settings were close - the LO event was received before the HI. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
WBI_User21 |
Posted: Mon Nov 17, 2008 2:33 am Post subject: |
|
|
 Voyager
Joined: 12 Jun 2007 Posts: 98
|
Hi exerk,
I had changed QDEPTHLO to 1 . But still doesn't works ..
Any help ..
Ranga |
|
Back to top |
|
 |
exerk |
Posted: Mon Nov 17, 2008 2:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Check whether the queue has IPPROC > 1, which would indicate something has the queue open and is removing the messages. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Nov 17, 2008 6:31 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
SYSTEM.ADMIN.PERFM.EVENT queue put(enabled)? _________________ 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 |
|
 |
markt |
Posted: Mon Nov 17, 2008 7:03 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
As the book says, Low Depth events are caused when the depth DECREASES across the threshold. So if you're just putting messages to the queue you will not see them. You have to start getting the messages. The purpose of the Low Depth event is to show that a previously busy queue is now "healthy" - it's not an early warning that the queue might be filling. |
|
Back to top |
|
 |
WBI_User21 |
Posted: Mon Nov 17, 2008 7:14 am Post subject: |
|
|
 Voyager
Joined: 12 Jun 2007 Posts: 98
|
Hi ,
But I am not interested in Qdepth low events .I want to enable on queue depth high events. Is it possible ?
Ranga |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 17, 2008 7:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
WBI_User21 wrote: |
I want to enable on queue depth high events. Is it possible ? |
Of course it is.
Does the queue on which you're testing have any messages on it? The event will only fire once the number of messages goes through the threshold. In your example, where the threshold is set to 20 messages, it will fire when the 20th message is put. It won't fire if the queue has 200 messages on it when the threshold is set, even though it exceeds the threshold. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Nov 17, 2008 7:30 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
This is all explained in the WMQ Monitoring manual, "Understanding depth events." _________________ 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 |
|
 |
Vitor |
Posted: Mon Nov 17, 2008 7:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bruce2359 wrote: |
This is all explained in the WMQ Monitoring manual, "Understanding depth events." |
Just trying to underline the relevant part, as it were. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Nov 17, 2008 7:47 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Have you tried restarting the qmgr after the alter?
I seem to recall having to do that but this could be just age creeping up on me.  |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Nov 17, 2008 7:53 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
Performance event attributes do not require qmgr restart. But, like chicken soup, it couldn't hurt.  _________________ 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 |
|
 |
WBI_User21 |
Posted: Mon Nov 17, 2008 8:45 am Post subject: |
|
|
 Voyager
Joined: 12 Jun 2007 Posts: 98
|
Ok ... i didnot try restarting qmgr. Will try and update you on that ? |
|
Back to top |
|
 |
WBI_User21 |
Posted: Wed May 20, 2009 4:00 am Post subject: |
|
|
 Voyager
Joined: 12 Jun 2007 Posts: 98
|
Sorry for delayed reply .
I found that command server must be running for PCF to work .
In MQ 5 Command server does not start with strmqm . We have to start them manually using strmqcsv.
Where as In MQ6.0 Command server starts when starting queue manager |
|
Back to top |
|
 |
|