Author |
Message
|
dzifchock |
Posted: Thu Dec 04, 2008 1:44 pm Post subject: ICS, MQ connector and MQ Clustering |
|
|
Apprentice
Joined: 21 Feb 2007 Posts: 41
|
Does anyone use ICS in an MQ Cluster with an MQ Connector? I cannot start the connector because it is looking for a local queue alias for a remote queue that it cannot find on its local qmgr. When I setup the cluster I moved this qalias to another qmgr and made it a clustered qalias. I can put to this qalias from the server where ICS and its qmgr reside using amqsput without any issues. In the connector configuration in ICS it forces you to fill out messaging type, hostname, qmgr, client channel and port for the QMGR if the message transport is MQ.
ICS 4.3.0.4
MQ 6.0.2.2
HPUX 11.11
thx in advance. |
|
Back to top |
|
 |
dzifchock |
Posted: Thu Dec 04, 2008 1:45 pm Post subject: |
|
|
Apprentice
Joined: 21 Feb 2007 Posts: 41
|
Forgot the error: 2085 0x00000825 MQRC_UNKNOWN_OBJECT_NAME |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 04, 2008 3:15 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
OK, Don't know what the adapter tries to do...
but I sure hope you are aware that you can only GET a message if the queue is defined as a Queue Local to the qmgr you (the adapter) are connected to.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
dzifchock |
Posted: Thu Dec 04, 2008 3:26 pm Post subject: |
|
|
Apprentice
Joined: 21 Feb 2007 Posts: 41
|
The adapter is trying to move messages from one queue on qmgr A (get) to another, the queue that it is trying to put to is the clustered qalias on qmgr B, so because it cannot connect to that queue on startup it fails is what I am guessing. I haven't found much information on this and will most likely need to open a PMR, but in the mean time ill keep searchin away. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 04, 2008 3:39 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Make sure that the queue the adapter tries to put to is defined with an empty qmgr (spaces). If you have to pass a qmgr use a cluster alias.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
dzifchock |
Posted: Fri Dec 05, 2008 6:49 am Post subject: |
|
|
Apprentice
Joined: 21 Feb 2007 Posts: 41
|
if the MQOPEN or MQPUT call by the MQ adapters specifies the qmgr, will it always try to put to a locally defined queue or qalias instead of putting to a cluster queue? I've tried using a local qalias to the remote cluster queue and using a remote clustered qalias and amqsput works fine in both situations but the adapter throws mqrc 2082 and 2085 respectively. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 05, 2008 6:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
dzifchock wrote: |
if the MQOPEN or MQPUT call by the MQ adapters specifies the qmgr, will it always try to put to a locally defined queue or qalias instead of putting to a cluster queue? I've tried using a local qalias to the remote cluster queue and using a remote clustered qalias and amqsput works fine in both situations but the adapter throws mqrc 2082 and 2085 respectively. |
Open a PMR.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
dzifchock |
Posted: Fri Dec 05, 2008 12:58 pm Post subject: |
|
|
Apprentice
Joined: 21 Feb 2007 Posts: 41
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 05, 2008 2:13 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looking at it you should be using the output queue with following uri:
"queue:///Queue?targetClient=1" or
"queue://clusteralias/Queue?targetClient=1"
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|