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 » General IBM MQ Support » [RESOLVED] How to determine channel in paused state from SDR

Post new topic  Reply to topic
 [RESOLVED] How to determine channel in paused state from SDR « View previous topic :: View next topic » 
Author Message
KeeferG
PostPosted: Fri Oct 15, 2004 3:23 am    Post subject: [RESOLVED] How to determine channel in paused state from SDR Reply with quote

Master

Joined: 15 Oct 2004
Posts: 215
Location: Basingstoke, UK

Hi,

I have a situation where the SYSTEM.CLUSTER.TRANSMIT.QUEUE is filling up with messages. It seems that the target queue on the target queue manager is full and the CLUSRCVR is in paused state however the CLUSSDR is running state. I am wondering if this is normal behaviour (I suspuect it is), and if so how do i detected a paused state fromt he sending end as i would like to reroute if this siutation occurs. I dont want to bring down the channel though.

Any help/pointers appreciated
_________________
Keith Guttridge
-----------------
Using MQ since 1995


Last edited by KeeferG on Thu Nov 25, 2004 2:38 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Fri Oct 15, 2004 8:30 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

There is no way to know from the sending side. This is MQ working as designed. You could drop the values on the RCVR's side for Message Retry Interval / Count, which will keep that side PAUSED a lot less of the time.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Oct 18, 2004 1:45 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

If the MRRTY and MRTMR attributes are reduced in the CLUSRCVR, then certainly the channel will spend less time in PAUSED. However, the
channel will then become RETRYING. This situation can be detected by monitoring the channel event queue.

When a cluster channel ends normally, the msgs on the xmitq may be automatically rerouted to an alternative destination in the cluster.
if the msg was put with BIND_NOT_FIXED and there are 2 instances of the destination queue in the cluster the msgs are put through the workload balancing algorithm. This may mean that the msgs will still go to the RETRYING qmgr if there is no other destination - see other posts on how the qmgr is selected to receive a msg.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Oct 18, 2004 6:26 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Nigel, are you saying that after the CLUSRCVR channel has exhausted its Message Retrys, the message will get returned back up to the sender, where the algorithim will try and put it to an alternate destination?

That's cool if would actually do that.

However, I would think that if the algorithim selected a destination for the message, and sent it down that path, that if the CLUSRCVR could not put it (and the only scenario where I think this could happen is the queue is full), then it would go to the DLQ, and NOT be returned to the SNDR. All other scenarios where a CLUSRCVR would be retrying (queue inhibited, etc.) would preclude the algorithim from even sending it down that path in the first place.

Please clarify.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Oct 19, 2004 12:23 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Sorry, my second paragraph did not really follow on from the first.

Peter is right, if the msg cannot be put to the destination queue such that the channel becomes paused, then the msg is put to the DLQ (if there is one) after the retries are exhausted. If there is no DLQ then the msgs are returned to the SDR, but the cure (do not define a DLQ) is worse than the disease.

The situation where msgs are automatically rerouted does apply when cluster channels stop, but only affects msgs currently on the xmitq.
Back to top
View user's profile Send private message
KeeferG
PostPosted: Wed Oct 20, 2004 1:46 am    Post subject: Reply with quote

Master

Joined: 15 Oct 2004
Posts: 215
Location: Basingstoke, UK

Thanks for the info. Has confirmed waht i was thinking.

Cheers
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
Shalini
PostPosted: Wed Oct 27, 2004 8:29 pm    Post subject: Reply with quote

Master

Joined: 30 Apr 2002
Posts: 224
Location: India

Hi All,

What if the network between the two QMGr is down in such case will it be rerouted to another QMGR Channel.

I am telling the situation when my Client sending the message to partial repository and one Of full Repo QMGR network is down in such case the message lies in XMITQ or ????



Please clarify

Back to top
View user's profile Send private message Send e-mail
KeeferG
PostPosted: Fri Nov 19, 2004 6:13 am    Post subject: Reply with quote

Master

Joined: 15 Oct 2004
Posts: 215
Location: Basingstoke, UK

The message will just stay in the XMITQ until a valid channel is started.

I am wondering if I write a message retry exit can i get it to fail the put or change the state of the channel. We really need to know that if the target queue is full then to route messages elsewhere and not just load the SYSTEM.CLUSTER.TRANSMIT.QUEUE.

Any ideas people
_________________
Keith Guttridge
-----------------
Using MQ since 1995
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » [RESOLVED] How to determine channel in paused state from SDR
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.