Author |
Message
|
amkumar |
Posted: Thu Jun 27, 2002 3:03 am Post subject: How to set the propogation between two MQ Server !!! |
|
|
Newbie
Joined: 27 Jun 2002 Posts: 5
|
Hi,
I had installed MQ Series 5.1. (ma88 Patch is not installed)
I tried to set two way communication between two MQ servers.
But it is not working.
In MQ Server1 created a local queue, remote defn., one transmission que, one server connection channel, one sender channel and one receiver channel.
The same set of queues were created in the remote server. (MQ Server2).
When I put some messages in local queue (QLOCAL_COLUMBIA) of MQ Server1.
When I recieved from local queue (QM_HOBART) MQ Server2, I found that there is no message in the local queue.
The messges are getting transmitted to MQ Server2.
Donno where I am going wrong.
Can anyone help me to solve this problem ?
Immediate help will be appreciated
Thanks,
-Muthu
For more clarity, following are the commands which i used to create setup:
==============================================================================================
MQSERVER1 COLUMBIA (WinNT)
1.crtmqm QM_COLUMBIA
2.strmqm QM_COLUMBIA
3.runmqsc QM_COLUMBIA
4.DEFINE QREMOTE(REMOTEHOBART) PUT(ENABLED) XMITQ(QM_HOBART) RNAME(QLOCAL_HOBART) RQMNAME(QM_HOBART)
5.DEFINE QLOCAL(QM_HOBART) USAGE(XMITQ) PUT(ENABLED) GET(ENABLED) TRIGGER TRIGTYPE(FIRST) INITQ(SYSTEM.CHANNEL.INITQ) PROCESS(TO_HOBART)
6.DEFINE PROCESS(TO_HOBART) APPLTYPE(WINDOWSNT) USERDATA(TO_HOBART)
7.DEFINE CHANNEL(TO_HOBART) CHLTYPE(SDR) TRPTYPE(TCP) XMITQ(QM_HOBART) CONNAME('HOBART')
8.DEFINE CHANNEL(SERVCON) CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER(' ')
9.END
1.strmqm QM_COLUMBIA
2.runmqsc QM_COLUMBIA
3.DEFINE QLOCAL(QLOCAL_COLUMBIA) PUT(ENABLED) GET(ENABLED)
4.DEFINE CHANNEL(TO_COLUMBIA) CHLTYPE(RCVR) TRPTYPE(TCP)
3.END.
MQSERVER2 HOBART (Win2K)
1.crtmqm QM_HOBART
2.strmqm QM_HOBART
3.runmqsc QM_HOBART
4.DEFINE QLOCAL(QLOCAL_HOBART) PUT(ENABLED) GET(ENABLED)
5.DEFINE CHANNEL(TO_HOBART) CHLTYPE(RCVR) TRPTYPE(TCP)
6.DEFINE CHANNEL(SERVCON) CHLTYPE(SVRCONN) TRPTYPE(TCP) MCAUSER(' ')
7.END
1.strmqm QM_HOBART
2.runmqsc QM_HOBART
3.DEFINE QREMOTE(REMOTECOLUMBIA) PUT(ENABLED) XMITQ(QM_COLUMBIA) RNAME(QLOCAL_COLUMBIA) RQMNAME(QM_COLUMBIA)
4.DEFINE QLOCAL(QM_COLUMBIA) USAGE(XMITQ) PUT(ENABLED) GET(ENABLED) TRIGGER TRIGTYPE(FIRST) INITQ(SYSTEM.CHANNEL.INITQ) PROCESS(TO_COLUMBIA.PROCESS)
5.DEFINE PROCESS(TO_COLUMBIA.PROCESS) APPLTYPE(WINDOWSNT) USERDATA(TO_COLUMBIA)
6.DEFINE CHANNEL(TO_COLUMBIA) CHLTYPE(SDR) TRPTYPE(TCP) XMITQ(QM_COLUMBIA) CONNAME('COLUMBIA')
7.END
============================================================================================== |
|
Back to top |
|
 |
vmcgloin |
Posted: Thu Jun 27, 2002 4:00 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
As far as I can see the only route from QM_COLUMBIA to QM_HOBART is by putting to REMOTEHOBART on QM_COLUMBIA.
Can you see the messages on QLOCAL_COLUMBIA when you try this?
Presumably the channel iniators are running too? You do say
Quote: |
The messges are getting transmitted to MQ Server2. |
How do you know this?
Hope that helps a little. |
|
Back to top |
|
 |
amkumar |
Posted: Thu Jun 27, 2002 4:19 am Post subject: |
|
|
Newbie
Joined: 27 Jun 2002 Posts: 5
|
Hi,
Actually there is typo error. The messges are NOT getting transmitted to MQ Server2.
And I just want to in which queue we have to put the message.
Do we need to put in local queue or in remote queue.
Thanks,
-Muthu |
|
Back to top |
|
 |
vmcgloin |
Posted: Thu Jun 27, 2002 4:36 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
The QREMOTE is actually a "local definition of a remote queue" so to end up with the message on the remote queue you need to put to this queue.
The local queue that you described is just that, so messages put on it will stay there unless something else moves them off.
Cheers,
Vicky |
|
Back to top |
|
 |
amkumar |
Posted: Thu Jun 27, 2002 5:00 am Post subject: |
|
|
Newbie
Joined: 27 Jun 2002 Posts: 5
|
After setting everything I have restarted both the servers.
Now it says
Closure reason = 22
MQJE001: Completion Code 2, Reason 2009
what ever queue I have given it is throwing the same error.
But both the sides the QM's are running.
When I checked the Post card, from server2, it is sending mesg to server1
where as from server1 it is not sending to server1. It says that your computer should be in same tcp domain.
actually we are in the same domain.
Thanks, |
|
Back to top |
|
 |
amkumar |
Posted: Thu Jun 27, 2002 5:05 am Post subject: |
|
|
Newbie
Joined: 27 Jun 2002 Posts: 5
|
Now. I am able to send and receive post card from both the systems
The problem was with entry the host file. Domain was entered in lower case where as in host file it was entered as Upper case. AFter changing to lower case, I am able to send post card both the ways. |
|
Back to top |
|
 |
amkumar |
Posted: Thu Jun 27, 2002 5:06 am Post subject: |
|
|
Newbie
Joined: 27 Jun 2002 Posts: 5
|
But still the 2009 error code is not solved |
|
Back to top |
|
 |
|