Author |
Message
|
belchman |
Posted: Tue Dec 04, 2018 11:11 am Post subject: PUB/SUB over cluster |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 327 Location: Ohio, USA
|
I chose to post this to clustering using a coin flip
I am trying to put together a POC for PUB/SUB using MQ as the broker. Here is what I have built and tested.
I have created a cluster named PUBSUB that has 2 full repositories (FRs) and 1 partial repository (PR).
I have created 3 topics that are visible on the FRs but not on the PR.
Via MQ Explorer v9, on the 2 FRs, I can issue test subscription and get two messages on each. If I do the same thing from PR, I do not get any messages.
If I perform a dis clusqmgr(*) on FR[1] I see PR.
Am I missing something? I would think I should be able to test the subscription on PR and see the same thing I see on FRs.
After this post, I will share a regular queue on the FR[1} and verify that PR can see it. _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Dec 04, 2018 11:25 am Post subject: Re: PUB/SUB over cluster |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 8304 Location: US: west coast, almost. Otherwise, enroute.
|
belchman wrote: |
If I do the same thing from PR, I do not get any messages.
|
Did you receive some kind of error code on the PR when you subscribed?
Any errors in the error logs for this qmgr? _________________ There are two types of people in this world:
1) Those that can extrapolate from incomplete data |
|
Back to top |
|
 |
belchman |
Posted: Tue Dec 04, 2018 11:30 am Post subject: |
|
|
Partisan
Joined: 31 Mar 2006 Posts: 327 Location: Ohio, USA
|
*Blush
It was a cluster issue. I had a bad conname value in the clusrcvr of the PR
Sorry broheims! _________________ Make three correct guesses consecutively and you will establish a reputation as an expert. ~ Laurence J. Peter |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Dec 05, 2018 6:02 am Post subject: |
|
|
 Grand Poobah
Joined: 18 Nov 2003 Posts: 19882 Location: LI,NY
|
belchman wrote: |
*Blush
It was a cluster issue. I had a bad conname value in the clusrcvr of the PR
Sorry broheims! |
Don't forget with V9 you need a bigger cluster than 3 nodes for testing. You can define cluster publication/subscription nodes in the cluster to avoid broadcasting the pub/sub messages to the full cluster.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|