ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WebSphere Message Broker commandline gurus.

Post new topic  Reply to topic
 WebSphere Message Broker commandline gurus. « View previous topic :: View next topic » 
Author Message
friedl.otto
PostPosted: Mon Jan 19, 2009 12:42 am    Post subject: WebSphere Message Broker commandline gurus. Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Mon Jan 19, 2009 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Jan 19, 2009 2:54 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Hari
PostPosted: Mon Jan 19, 2009 11:13 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Mon Jan 19, 2009 11:33 am    Post subject: Reply with quote

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
View user's profile Send private message
friedl.otto
PostPosted: Tue Jan 27, 2009 6:47 am    Post subject: Reply with quote

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.

Hari wrote:

Friedl.otto, here's a link its somewhat related to what you are looking for.

http://www.mqseries.net/phpBB2/viewtopic.php?t=47167


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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WebSphere Message Broker commandline gurus.
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.