Author |
Message
|
chirayu |
Posted: Wed Mar 28, 2012 2:02 am Post subject: Broker posting message on cluster queue |
|
|
Apprentice
Joined: 04 May 2011 Posts: 30
|
MB version 6003
MQ version 6.0.1.1
Broker queue manager is into cluster as partial repository
Flow is putting message onto alias queue which is in broker queue manager and alias it targetted to a cluster queue manager.
but getting error saying 2082 MQRC_UNKNOWN_ALIAS_BASE_Q
is it the problem with qm configuration or message broker problem |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 28, 2012 4:38 am Post subject: Re: Broker posting message on cluster queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
chirayu wrote: |
is it the problem with qm configuration or message broker problem |
It's a problem with your configuration of the queue objects; the queue manager's configuration is probably fine. Evidence for this is the presence of a WMQ reason code rather than a broker abend.
If there is a problem with the queue manager it's that it's ridiculously far back in terms of maintenance and it's missing a ton a fixes. And a back version.
The only problem with the broker is that it's further back in maintenace and version as the WMQ installation and out of support by a mile.
So if this turns out to be a broker problem you're stuck with it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 28, 2012 8:49 pm Post subject: Re: Broker posting message on cluster queue |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
chirayu wrote: |
MB version 6003
MQ version 6.0.1.1
Broker queue manager is into cluster as partial repository
Flow is putting message onto alias queue which is in broker queue manager and alias it targetted to a cluster queue manager.
but getting error saying 2082 MQRC_UNKNOWN_ALIAS_BASE_Q
is it the problem with qm configuration or message broker problem |
Why would you want to use an ALIAS queue instead of directly entering the clustered queue name?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Esa |
Posted: Wed Mar 28, 2012 10:45 pm Post subject: Re: Broker posting message on cluster queue |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
fjb_saper wrote: |
Why would you want to use an ALIAS queue instead of directly entering the clustered queue name?  |
Cluster alias queues can be quite useful. But it seems that the OP is trying to put in an alias queue with a target cluster queue. Although this is a bit unclear:
Quote: |
alias it targetted to a cluster queue manager |
The base object (or was it called target in V6?) of an alias queue should be a queue, not a queue manager. You certainly cannot put messages into a queue manager object. And this is a wrong way to try to put messages in a transmission queue that has the same name as the target qm. |
|
Back to top |
|
 |
Esa |
Posted: Wed Mar 28, 2012 10:52 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
If you wrote the name of the cluster queue manager in the queue manager field in MQOutput, you would probably get the reason code you did. Because it is a cluster qm, there is no matching transmission queue. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Mar 29, 2012 4:23 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
chirayu,
Post the runmqsc output that shows the queue definition of the Alias queue your flow is directly accessing, and the queue definition of the targte queue that the Alias queue refers to.
It is likely a problem with the way the queues are defined.
Its potentially a problem with the way your MQ Cluster is or is not communicating because the cluster is not set up right, or perhaps there are temporary network problems.
This specific problem is not a problem with your message flow.
Read what the 2082 MQ Reason Code means in the MQ Manual, and follow the advice provided in the manual to resolve the issue. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Mar 29, 2012 7:33 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I stand by my question:
Why is the op using a local ALIAS queue to put a message on a cluster queue with the broker?
The options can be set on the MQOutput node and the authorization is mqm (broker service user is part of mqm group right? V6.1).
Why not hit the cluster queue directly, or if need be, use a cluster alias to force load balancing?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Mar 29, 2012 10:01 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
A reason for using an alias is that the underlying queue names may differ between environments.
So you code your flow to use aliases and handle it in the WMQ config.
Therein may lie the cause of the problem. The Alias queue def is messed up.
Just one possible use of an alias. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Mar 30, 2012 1:15 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
My point was, I would not have used an alias queue I would have used a remote queue for the same purpose... A little more forgiving to network hickups... and if using an alias, it's easier if the alias is defined as clustered and local to the queue it aliases....
It looks like here the OP is defining the alias queue on the broker qmgr for a target that is not on the broker qmgr...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|