|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[Solved] error starting channel |
« View previous topic :: View next topic » |
Author |
Message
|
vivekkooks |
Posted: Tue Jul 15, 2003 3:41 am Post subject: [Solved] error starting channel |
|
|
 Voyager
Joined: 11 Jun 2003 Posts: 91
|
Hello,
I have installed MQSeries on Linux/Intel.
I want to set up queue manager clusters of two queue managers(LONDON and NEWYORK).
My configuration is as follows:
On M/C 1:
1. crtmqm LONDON
2. runmqm LONDON
3. runmqlsr -t tcp -m LONDON
4. alter qmgr repos(INVENTORY123)
5. DEFINE CHANNEL(TO.LONDON) CHLTYPE(CLUSRCVR) TRPTYPE(TCP)
CONNAME('172.30.0.43') CLUSTER(INVENTORY123)
DESCR('Cluster-receiver channel for queue manager LONDON')
6. DEFINE CHANNEL(TO.NEWYORK) CHLTYPE(CLUSSDR) TRPTYPE(TCP)
CONNAME('172.30.0.41') CLUSTER(INVENTORY123)
DESCR('Cluster-sender channel from LONDON to repository at NEWYORK')
On M/C 2:
1. crtmqm NEWYORK
2. runmqm NEWYORK
3. runmqlsr -t tcp -m NEWYORK
4. 4. alter qmgr repos(INVENTORY123)
5. DEFINE CHANNEL(TO.NEWYORK) CHLTYPE(CLUSRCVR) TRPTYPE(TCP)
CONNAME('172.30.0.41') CLUSTER(INVENTORY123)
DESCR('Cluster-receiver channel for queue manager NEWYORK')
6. DEFINE CHANNEL(TO.LONDON) CHLTYPE(CLUSSDR) TRPTYPE(TCP)
CONNAME('172.30.0.43') CLUSTER(INVENTORY123)
DESCR('Cluster-sender channel from NEWYORK to repository at LONDON')
when I am trying to run the clannels,
M/C 1:
runmqchl -c TO.NEWYORK -m LONDON
I am getting Channel not defined on remote system error(AMQ9520)
same is the error for M/C also.
Any help in this regard?
also is is correct if I use 'ipaddress' in CONNAME like: CONNAME('172.30.0.41')? |
|
Back to top |
|
 |
mqonnet |
Posted: Tue Jul 15, 2003 4:55 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Looks like you hit the same problem as your other post.
You need to include the port number that you want your listeners to listen on. runmqlsr has another command line arg -p to specify the port no.
You got it all right, or rather at least it looks right in your post. Just add the port number to your listeners and you should be fine.
As an aside, if you have repos qms involved and you are creating a clustered communication, you DO not manually start the channels, they are started automatically once they are created.
And yes, you can include the ip address in the conname.
Also whenever you have channel issues, just issue PING CHANNEL <CHANNEL NAME> from within runmqsc. If it doesnt work, then there sure is something wrong with the setup someplace.
Cheers
Kumar |
|
Back to top |
|
 |
vivekkooks |
Posted: Tue Jul 15, 2003 6:18 am Post subject: |
|
|
 Voyager
Joined: 11 Jun 2003 Posts: 91
|
thank you,
the problem is solved. I was using 1414 for previously created channel. I mentioned different port no for these channels and it worked. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|