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 » IBM MQ API Support » Need Sample

Post new topic  Reply to topic Goto page Previous  1, 2, 3
 Need Sample « View previous topic :: View next topic » 
Author Message
fjb_saper
PostPosted: Thu Mar 03, 2005 6:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20763
Location: LI,NY

klamerus wrote:
Hmmm. I don't think we have any events set up. Is there a quick way to check? Some comand statement or such.

Also, if we turn these off, would this work against remote queues?

The idea here would be to create the program that we're going to use to check for "flow" through our queues (the dequeues) on one of the servers in our MQ cluster and want it to send us e-mail in the situation that a queue has depth, and yet nothing has been dequeued for 5 minutes. That would indicate that the program processing items from the queue has "died".


If when your program "dies" there is a proper disconnect you might as well try to check for iprocs qdepth > 0 and iprocs=0 means the queue is not being serviced.

Enjoy
Back to top
View user's profile Send private message Send e-mail
klamerus
PostPosted: Thu Mar 03, 2005 4:45 pm    Post subject: Reply with quote

Disciple

Joined: 05 Jul 2004
Posts: 199
Location: Detroit, MI

Hmmm. Well, what I want to do is connect up (from my desktop) to a remote cluster manager and evaluate the condition of it's queues. Those are remote to me, but I would expect to connect to the remote system. Similarly, once I get to running this on the servers, I would only want to install it on one of the servers (all of them are in the same cluster). Would it work then?
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
klamerus
PostPosted: Thu Mar 03, 2005 4:49 pm    Post subject: Reply with quote

Disciple

Joined: 05 Jul 2004
Posts: 199
Location: Detroit, MI

Sorry, separately to your comment, we don't know when the programs are dead (they stop working but don't actually exist), so we need some sort of indicator. That's why we need to constantly (say every 5 minutes or something) check on queue activity.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Fri Mar 04, 2005 5:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

PCF messages are just that. Messages.

In order to be effective, they have to be given to the command server of the queue manager you want to work with.

This means they have to go onto the SYSTEM.ADMIN.COMMAND.QUEUE on that QM.

Which means if you want to install your PCF code on one server, and have it work with other queue managers...

You need to either network all your queue managers together in a way that allows for the PCF messages to get where they need (which is described in System Administration Guide in chapter 6.

OR

You need to establish client connections to each of your queue managers.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3 Page 3 of 3

MQSeries.net Forum Index » IBM MQ API Support » Need Sample
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.