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 » pub/sub and use of clustered topics

Post new topic  Reply to topic
 pub/sub and use of clustered topics « View previous topic :: View next topic » 
Author Message
svmmq
PostPosted: Thu Mar 19, 2015 7:00 am    Post subject: pub/sub and use of clustered topics Reply with quote

Newbie

Joined: 19 Mar 2015
Posts: 6

Hi,

I have been running some tests with pub/sub to better understand the relationship between topics, subscribers and publishers. I have pub/sub environment defined which includes 4 qmgrs in the cluster. I have defined a non-clustered topic on QMGRA and a subscription on that topic on QMGRB. When I publish to the topic on QMGRA the message does not flow to the queue associated with my subscription on QMGRB. I have both the topic and the subscription defined with SUBSCOPE(ANY).

Question: Does the topic needs to be defined as a clustered topic in order for a published message to flow to a subscription on another QMGR in the cluster?

Thanks
Shannon
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Mar 19, 2015 8:30 am    Post subject: Reply with quote

Grand High Poobah

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

You might want to read this: http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.pro.doc/q005070_.htm?lang=en
and http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ref.adm.doc/q085430_.htm?lang=en

For all queue managers in the cluster to be aware of the publication the topic has to be clustered. Think about having it cluster-routed.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
svmmq
PostPosted: Fri Mar 20, 2015 4:29 am    Post subject: Reply with quote

Newbie

Joined: 19 Mar 2015
Posts: 6

Thanks.

We are just delving into pub/sub and everything I read about clustered topics makes me wary of using them.

To make sure I understand your comment...

When you say 'think about having it cluster routed' are you saying to define the unclustered topic and subscription on the same queue manager and then use regular MQ clustering to have the message routed to another queue manager in the cluster?

Shannon
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Mar 20, 2015 4:54 am    Post subject: Reply with quote

Grand High Poobah

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

svmmq wrote:
Thanks.

We are just delving into pub/sub and everything I read about clustered topics makes me wary of using them.

To make sure I understand your comment...

When you say 'think about having it cluster routed' are you saying to define the unclustered topic and subscription on the same queue manager and then use regular MQ clustering to have the message routed to another queue manager in the cluster?

Shannon

No I am saying define the cluster topic on a specific 'topic host' qmgr in the cluster. In the topic set the routing to cluster/topic host routed (V8 feature). This means that instead of being propagated across the whole cluster, publications and proxy subs will be held at the qmgr(s) that hosts the clustered topic. (Reduces traffic inside the cluster) Read again the manual on that subject. Use your play ground to determine the difference with direct routed and cluster/topic host routed clustered topics...

Make sure you set publication and subscription scope to ALL when defining the clustered topic.

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
svmmq
PostPosted: Mon Mar 23, 2015 4:31 am    Post subject: Reply with quote

Newbie

Joined: 19 Mar 2015
Posts: 6

Thanks. This has been very helpful. We are not at v8 yet but will keep this in my back pocket.

Shannon
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 » General IBM MQ Support » pub/sub and use of clustered topics
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.