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 » WMQI/WBI and MQSeries SysAdmin?!

Post new topic  Reply to topic
 WMQI/WBI and MQSeries SysAdmin?! « View previous topic :: View next topic » 
Author Message
Testo
PostPosted: Thu Dec 04, 2003 1:06 am    Post subject: WMQI/WBI and MQSeries SysAdmin?! Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

Is it possible, from a compute node (or any other) to check the status of a channel, the depth of a queue or any other MQSeries sysadmin issue?!

Cheers,
Andrea Tedone
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jefflowrey
PostPosted: Thu Dec 04, 2003 5:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You could write a custom node that would check these things.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Testo
PostPosted: Thu Dec 04, 2003 5:51 am    Post subject: Mmmmhhhh Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

I've never done it and I'm too close to the production and struggled with tests to consider that option...

Maybe Neil Kolban has some off-the-shelf customized nodes for that??!! ;o))

Cheers,
Andrea Tedone
AMS IT Specialist
Back to top
View user's profile Send private message Send e-mail MSN Messenger
wmqiguy
PostPosted: Thu Dec 04, 2003 7:43 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

I'll shoot from the hip here.

You could create a PCF structure and send it to the QMGR. This would allow you to check on just about anything you wanted. The trick is what are you doing this for? If you are doing this as some low-level custom monitoring, then you might get away with it.

If you are trying to check the status of the channel before you actually make the data payload available for the receiving application, you're probably not going to solve this before a tight deadline.

It would be interesting to write a custom node that would issue a PCF command that would:

1. On positive state, send tree to the next node.
2. On negative state, throw exception.

If you find any custom nodes out there that match your requirement, I would love to hear about them.

Todd
Back to top
View user's profile Send private message
Testo
PostPosted: Thu Dec 04, 2003 8:00 am    Post subject: Here is my logic... Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

I need to check the status of a sender channel and the depth of a remote definition queue to be sure that the message in my flow will arrive to the remote destination, where my messages will be approved by a treasury check (I'm exchanging financial messages).

If the channel is down or if the depth is higher than a certain value, this means that I have to propagate my messages directly to the financial network withouth any control, to be sure to transfer the money within deadlines and to avoid a penalty billing.

Actually, because I log everything in a DB where I use different status for every step, I can check if too many messages are in the state for which they are supposed to be sent to the remote treasury checker and in this case, I can activate the alternative path....

Anyway, if I'll find any workaround, I'll let you know...

Cheers,
Andrea Tedone
Back to top
View user's profile Send private message Send e-mail MSN Messenger
EddieA
PostPosted: Thu Dec 04, 2003 9:53 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

What, exactly, do you mean by the 'depth of a remote definition queue'.

If you mean the remote definition on your machine, then this isn't a local queue, and so can't be queried for depth, as messages put there are routed to the XMIT queue automatically by MQ.

If you mean the XMIT queue, then yes you can do this, but is your application the only one sending messages via that channel. If messages are building up there is either because there's a problem with the channel, or you're putting messages faster than the channel can service them.

If you mean the destination queue, then you would have to make a Client connection to that queue manager in order to do the query.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Testo
PostPosted: Thu Dec 04, 2003 1:55 pm    Post subject: Ops... Reply with quote

Centurion

Joined: 26 Feb 2003
Posts: 120
Location: Italy - Milan

Sorry Eddie,

with depth of a remote definition queue I was thinking about the Transmission Queue.. probably the channel would be better...

In any case my question was a more generic one, and from the different answers I got (here but also from Craig Briscoe, a GREAT collegue in IBM) the only way to manage this from a flow is with a custom node.

So, for my specific context, I have two options: one is to rely on my DB and the status stored there... the other one is to develop a C++ adapter that will monitor the situation and route the messages consequently.

Cheers,
Andrea Tedone
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMQI/WBI and MQSeries SysAdmin?!
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.