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 » Clustering » Message still send to stopped Qmgr in the cluster

Post new topic  Reply to topic
 Message still send to stopped Qmgr in the cluster « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Tue Apr 08, 2014 6:53 am    Post subject: Message still send to stopped Qmgr in the cluster Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

We are running MQ V701 MQ cluster on Linux.

We have a stopped QMGR (QM1) in our cluster test environment with 5 Qmgrs. A Q (MY.CQ) is shared in the cluster. We found a few messages stuck in the cluster xmitq of a Qmgr in the cluster. The header of these stuck message has the name QM1 and MY.CQ in it. I think the reason for the stuck message was because QM1 is stopped.
I believe QM1 is only stopped but not suspended from the cluster.
Can dis clusqmgr on another Qmgr show me if a QM1 is suspended ? I cannot restart QM1 at this time to check.
Can some one confirmed if MQ cluster logic will still send message to a stopped but not suspended Qmgr ?
Back to top
View user's profile Send private message
fatherjack
PostPosted: Tue Apr 08, 2014 7:47 am    Post subject: Re: Message still send to stopped Qmgr in the cluster Reply with quote

Knight

Joined: 14 Apr 2010
Posts: 522
Location: Craggy Island

KIT_INC wrote:
Can dis clusqmgr on another Qmgr show me if a QM1 is suspended ?


Try it and see. Create your own test cluster if you have to.

KIT_INC wrote:
Can some one confirmed if MQ cluster logic will still send message to a stopped but not suspended Qmgr ?


Read about the BIND option when opening a queue.
_________________
Never let the facts get in the way of a good theory.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Apr 08, 2014 10:12 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

Go to your Full Repositories. They know if any QMs are suspended or not.

There are several cases where MQ will send messages to a queue manager that is suspended, and where it will attempt to send messages to a QM that is stopped. In all these cases its because you gave it no other choice.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
KIT_INC
PostPosted: Tue Apr 08, 2014 10:34 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I did the cleanup and ensure that QM1 is suspened and removed from the cluster.
DIS CLUSQMGR(*) shows QM1 not in the list anymore. I asume that my clean up is done properly.

But when I display cluster q on a QMGR, I still see

dis qc(*) clusqmgr
AMQ8409: Display Queue details.
QUEUE(MY.CQ.QA) TYPE(QCLUSTER)
CLUSQMGR(QM1)

MY.CQ.QA is an alias to MY.CQ.QL. Both the local Q and the alias were shared in the cluster. After I suspend and remove QM1 from the cluster, MY.CQ.QL no longer shows up in dis qc(*). But this QA still shows. How can I get ride of it ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 08, 2014 11:13 am    Post subject: Reply with quote

Grand High Poobah

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

That's because although you removed the cluster attribute from the QL you did not do so on the corresponding QA.

If QM1 is still part of the cluster, remove all cluster information from all objects defined in QM1, then remove QM1 from the cluster.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
KIT_INC
PostPosted: Tue Apr 08, 2014 11:58 am    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

Quote:
remove all cluster information from all objects defined in QM1, then remove QM1 from the cluster


This the point that was not clear in the manual. I was wondering if I first need to remove all cluster Qs specified in QM1 from the cluster before removing QM1 from the cluster. I took the easy way out thinking that removing the entire QMGR from the cluster will also remove the Qs

When I look a little more, I did find other QMGRs in the cluster still show QM1 as the cluster Qmgr when doing a display QC


AMQ8409: Display Queue details.
QUEUE(OTHER.OUT.QL) TYPE(QCLUSTER)
CLUSQMGR(QM1)


If it is true that all cluster Q should be removed from cluster first before removing the cluster Qmgr, now that I have QM1 already removed from the cluster, can I put it back to cluster and removing cluster Qs and remove it again? I guess I'll have to try.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Apr 08, 2014 12:25 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Look at the RESET CLUSTER command. If used carefully and wisely, it will delete leftover cluster definitions.

IMS, unused cluster definitions will stale-date in 60 days. Wait patiently, and they will disappear.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 08, 2014 1:27 pm    Post subject: Reply with quote

Grand High Poobah

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

bruce2359 wrote:
Look at the RESET CLUSTER command. If used carefully and wisely, it will delete leftover cluster definitions.

IMS, unused cluster definitions will stale-date in 60 days. Wait patiently, and they will disappear.


I thought that was 90 days?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
KIT_INC
PostPosted: Tue Apr 08, 2014 7:01 pm    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

We do not mind waiting for 90 days. We just concern if there is a left over definition that says
AMQ8409: Display Queue details.
QUEUE(OTHER.OUT.QL) TYPE(QCLUSTER)
CLUSQMGR(QM1)

Will some messages going to OTHER.OUT.QL get into the cluster Xmitq wirh header OTHER.OUT.QL QM1 and they will never get there.
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 » Clustering » Message still send to stopped Qmgr in the cluster
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.