Author |
Message
|
friedl.otto |
Posted: Mon Jan 19, 2009 12:42 am Post subject: WebSphere Message Broker commandline gurus. |
|
|
Centurion
Joined: 06 Jul 2007 Posts: 116
|
Is there an elegant way to see whether a flow in an execution group on a
broker is healthy. Knowing that it has been deployed is great (mqsilist),
but it may experience some issues, like a queuemanager that was
magically killed under it, or something equally daft.
Is there some quick way like say:
mqsireportflowstats <broker_name> -a -g -j
...to find out that one (or all) of your flows is coughing blood?  _________________ Here's an idea - don't destroy semaphores unless you're certain of what you're doing! -- Vitor |
|
Back to top |
|
 |
zpat |
Posted: Mon Jan 19, 2009 1:39 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If the input queue has an open input count > 0 that is one indication. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jan 19, 2009 2:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
if you have no execution group running...
ps -ef | grep DataFlow | grep <brokername>
or if the broker log is growing faster than you expect....
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Hari |
Posted: Mon Jan 19, 2009 11:13 am Post subject: |
|
|
 Centurion
Joined: 21 Nov 2002 Posts: 117 Location: USA
|
zpat wrote: |
If the input queue has an open input count > 0 that is one indication. |
This could not be advisable, since some other application might be accessing the queue (also mentioned by elvis_gn in the link below)
Friedl.otto, here's a link its somewhat related to what you are looking for.
http://www.mqseries.net/phpBB2/viewtopic.php?t=47167 |
|
Back to top |
|
 |
zpat |
Posted: Mon Jan 19, 2009 11:33 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If the queue input count is zero - then there is a problem.
So I would contend that it is still useful as an alert (but not as the only one perhaps). Depends what other options you have. |
|
Back to top |
|
 |
friedl.otto |
Posted: Tue Jan 27, 2009 6:47 am Post subject: |
|
|
Centurion
Joined: 06 Jul 2007 Posts: 116
|
zpat wrote: |
If the input queue has an open input count > 0 that is one indication. |
I think Hari and others have pointed out the innate risk of assuming
that all connections to a queue are neccesarily mqsi connections, and it
may even be possible (I am speculating here, since I am not sure
whether it would be possible to leave a connection open after an MQ_GET)
that a flow has gone into an endless loop, which would leave the queue
connections open. And if one is operating with some shady concurrent
programming ... may even consume more messages off the queue.
Just what I was looking for ... even if it implies that I will have to write
some custom Java code which I would really have liked to steer clear of,
since I don't like foisting my non-standard (and quite possibly non-best-
practice) coding efforts on poor unsuspecting victims who were lured into
the trap of support years after my departure.
Would have been nice if there were a simple but robust command that
could identify sick flows, other than actually sending he proverbial radio-
active iodene through the ol' plumbing. _________________ Here's an idea - don't destroy semaphores unless you're certain of what you're doing! -- Vitor |
|
Back to top |
|
 |
|