Author |
Message
|
kishankumar.v |
Posted: Tue Jan 08, 2002 6:55 am Post subject: |
|
|
Apprentice
Joined: 26 Nov 2001 Posts: 47
|
Hi,
"If the broker
and the Configuration Manager do not share a queue manager, you must
define the channels and transmission queues that support communications
between the two queue managers."
Can you please specify what resources have to be defined for the two queue managers to communicate as specified above. I mean exacltly what channels and queues have to be created in each of the queue managers.??
TIA,
Regards,
Kishan |
|
Back to top |
|
 |
Ward |
Posted: Tue Jan 08, 2002 3:01 pm Post subject: |
|
|
 Voyager
Joined: 27 Jun 2001 Posts: 98 Location: Europe
|
Hi Kishan,
Given a Broker queue manager named MQSIBKQM on machine PLATFORM1 and a Configuration Manager queue manager MQSICMQM on machine PLATFORM2. And given that both queue managers have listeners on the default port 1414.
The following shows how to create the required channels and transmission queues by using the runmqsc command line interface. Note this is the bare minimum you need to get it working, these are no recommendations for a production environment...
On MQSIBKQM:
DEFINE CHANNEL(MQSIBKQM.MQSICMQM) CHLTYPE(SDR) CONNAME('PLATFORM2') XMITQ('MQSICMQM')
DEFINE CHANNEL(MQSICMQM.MQSIBKQM) CHLTYPE(RCVR)
DEFINE QLOCAL(MQSICMQM) USAGE(XMITQ)
On MQSICMQM:
DEFINE CHANNEL(MQSICMQM.MQSIBKQM) CHLTYPE(SDR) CONNAME('PLATFORM1') XMITQ('MQSIBKQM')
DEFINE CHANNEL(MQSIBKQM.MQSICMQM) CHLTYPE(RCVR)
DEFINE QLOCAL(MQSIBKQM) USAGE(XMITQ)
Good luck,
Ward.
_________________ IBM Certified Solution Designer -- WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
----------------------------
Visit Boat Dimensions |
|
Back to top |
|
 |
kishankumar.v |
Posted: Tue Jan 08, 2002 11:38 pm Post subject: |
|
|
Apprentice
Joined: 26 Nov 2001 Posts: 47
|
Hi,
I followed the commands given .. the difference is that I have both in the same machine..that should not change the command in anyway right..after creating the necessary when i start the channel i get the following error
"The operation requested cannot be performed because channel 'QMGSUB.QMGCFG' on the remote machine is not of a suitable type. For example, if the local channel is defined as a sender the remote machine must define its channel as either a receiver or requester. "
"Channel program 'QMGSUB.QMGCFG' ended abnormally. "
I followed the same channel and xmitq definition provided by you. Can you specify what Iam missing.
TIA,
Regards,
Kishan
|
|
Back to top |
|
 |
Ward |
Posted: Wed Jan 09, 2002 6:08 am Post subject: |
|
|
 Voyager
Joined: 27 Jun 2001 Posts: 98 Location: Europe
|
Are you sure you followed the definitions as provided ? The names are only slightly different so channel MQSIBKQM.MQSICMQM is a sender on one queue manager but a reciever on the other queue manager.
If you still have problems please send me the definitions as you have them (do a display of the channels and send the results)
cheers,
Ward
_________________ IBM Certified Solution Designer -- WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
----------------------------
Visit Boat Dimensions |
|
Back to top |
|
 |
kishankumar.v |
Posted: Wed Jan 09, 2002 8:43 am Post subject: |
|
|
Apprentice
Joined: 26 Nov 2001 Posts: 47
|
Hi,
Thanks for the efforts..The error was I dint specify the port number in the connection field..so it was expecting 1414 wqhereas listener was another port.
Thanks,
Kishan |
|
Back to top |
|
 |
jhalstead |
Posted: Thu Jan 10, 2002 2:50 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Try and keep yourself to posting a thread once! |
|
Back to top |
|
 |
|