Author |
Message
|
rmah |
Posted: Thu Sep 24, 2009 2:55 pm Post subject: Subscription problem |
|
|
Centurion
Joined: 04 May 2007 Posts: 142
|
Hi all,
We're facing an issue in production.
I want to make 1 queue subscribe to 2 topics, like this:
| 2008-11-17 15:12:0600124 | ANY:q1 | *Unlimited Expiry * | 2008-11-18 00:11:06 | 772 | topic1/# | | | applIdentityData mqm |
| 2008-11-17 15:12:0600148 | ANY:q1 | *Unlimited Expiry * | 2008-11-18 00:11:14 | 772 | topic2/# | | | applIdentityData mqm |
"ANY" is a queue manager alias for my 2 brokers, broker1 and broker2. The above example is from a non-prod enviornment.
However, when I try to recreate the above in production, I cannot. When I try to create the second subscriptions with q1 and topic 2, nothing happens. Instead, I have to explicitly state the queue manager name instead of using "ANY". Therefore, it looks like this:
| 2008-11-17 15:12:0600124 | ANY:q1 | *Unlimited Expiry * | 2008-11-18 00:11:06 | 772 | topic1/# | | | applIdentityData user1 |
| 2008-11-17 15:12:0600148 | broker2:q1 | *Unlimited Expiry * | 2008-11-18 00:11:14 | 772 | topic2/# | | | applIdentityData mqm |
There aren't any error logs anywhere...
Could it be that the first q1/topic1 was created by a different user?
Anyone know why this happens? Thanks!  _________________ MQ 6.0.2.3
Broker 6.0.0.7
for Linux |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 24, 2009 3:21 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Is ANY a cluster alias accessible from both brokers?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rmah |
Posted: Thu Sep 24, 2009 3:24 pm Post subject: |
|
|
Centurion
Joined: 04 May 2007 Posts: 142
|
fjb_saper wrote: |
Is ANY a cluster alias accessible from both brokers?  |
The remote queue definition is not clustered in non-prod or prod, but the subscriptions work in non-prod. _________________ MQ 6.0.2.3
Broker 6.0.0.7
for Linux |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 24, 2009 3:41 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
rmah wrote: |
fjb_saper wrote: |
Is ANY a cluster alias accessible from both brokers?  |
The remote queue definition is not clustered in non-prod or prod, but the subscriptions work in non-prod. |
OK so is ANY a qmgr alias defined in both broker qmgrs in dev and only in 1 qmgr in prod? _________________ MQ & Broker admin |
|
Back to top |
|
 |
rmah |
Posted: Thu Sep 24, 2009 3:43 pm Post subject: |
|
|
Centurion
Joined: 04 May 2007 Posts: 142
|
fjb_saper wrote: |
rmah wrote: |
fjb_saper wrote: |
Is ANY a cluster alias accessible from both brokers?  |
The remote queue definition is not clustered in non-prod or prod, but the subscriptions work in non-prod. |
OK so is ANY a qmgr alias defined in both broker qmgrs in dev and only in 1 qmgr in prod? |
Queue manager alias "ANY" is defined on all brokers in the cluster in prod and non-prod. So broker1 has remote queue definition "ANY" and broker2 has remote queue definition "ANY", not clustered. _________________ MQ 6.0.2.3
Broker 6.0.0.7
for Linux |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 24, 2009 7:46 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Apparently qmgr ALIAS was not understood on qmgr broker2 or you did not send the right subscription message...
Try deleting the subscription and registering again...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rmah |
Posted: Fri Sep 25, 2009 12:55 pm Post subject: |
|
|
Centurion
Joined: 04 May 2007 Posts: 142
|
fjb_saper wrote: |
Apparently qmgr ALIAS was not understood on qmgr broker2 or you did not send the right subscription message...
Try deleting the subscription and registering again...  |
I figured it out!
The pre-existing subscription was created with another username.
I got rid of it, re-created it, and then I was able to create subsequent subscriptions 'ANY' as a QM alias, and where a queue can subscribe to more than one topic. _________________ MQ 6.0.2.3
Broker 6.0.0.7
for Linux |
|
Back to top |
|
 |
|