Author |
Message
|
mdncan |
Posted: Sun Apr 15, 2007 10:52 am Post subject: MQ Cluster Setup - Channel not starting |
|
|
Acolyte
Joined: 11 May 2005 Posts: 59 Location: US
|
Hi,
I have defined a simple cluster with 2 QM's on Windows XP.
QM1 listening on port 1414
QM2 listening on port 1415
CLUSSDR on QM2 starts without errors and corresponding CLUSRCVR on QM1 starts fine.
CLUSSDR channel on QM1 doesn't starts and goes to retry mode. I tried to ping the channel, I am getting reason code 2195 (AMQ4048). In the QM1 error log I see "'TO.QM2' on the remote machine is not of a suitable type" . TO.QM2 on QM2 is defined as CLUSRCVR.
I have defined the channels:
QM1: DEFINE CHANNEL(TO.QM2) CHLTYPE(CLUSSDR) TRPTYPE(TCP) CONNAME('MachineName(1415)') CLUSTER(TEST)
QM2:DEFINE CHANNEL(TO.QM2) CHLTYPE(CLUSRCVR) TRPTYPE(TCP) CONNAME(MachineName)
Any suggestions.
Thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Apr 15, 2007 4:50 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Assuming that you have a listener running on QM2 on port 1415
Your receiver channel is not setup right
It should be
Code: |
def chl(to.qm2) chltype(clusrcvr) trptype(tcp) +
conname('MachineName(1415)') cluster(test) |
With your definition the default port of 1414 is assumed and the channel type does not match...for an automatic cluster definition...
Enjoy
[edit] added the cluster name thanks Hubert[/edit] _________________ MQ & Broker admin
Last edited by fjb_saper on Mon Apr 16, 2007 12:49 pm; edited 1 time in total |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Mon Apr 16, 2007 1:11 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
Did you define the channel on QM2 with the attribute CLUSTER(TEST)? _________________ Regards
Hubert |
|
Back to top |
|
 |
mdncan |
Posted: Mon Apr 16, 2007 12:52 pm Post subject: |
|
|
Acolyte
Joined: 11 May 2005 Posts: 59 Location: US
|
Hi fjb_saper,
Thanks for pointing that. I added port number in the CONNAME parameter then it worked.
Sadly or for good, partial repository QM sender channel can start without specifying the port number for receiver channel on Full Repos QM, full repos qm uses port 1415. Is this a bug in the product?
Regards,
mdncan |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 16, 2007 1:01 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
No. The sender connection is autogenerated from the cluster receiver information. So you need to make sure that your cluster receiver has the hostname of the receiver, the port of the receiver and the cluster / namelist for which it is to be used.
See the cluster manual. It is all documented there.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mdncan |
Posted: Mon Apr 16, 2007 1:12 pm Post subject: |
|
|
Acolyte
Joined: 11 May 2005 Posts: 59 Location: US
|
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 16, 2007 1:36 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If your cluster receiver chl is defined /created properly and your cluster sender to the repository is created properly that should be enough to add a PR to the cluster. _________________ MQ & Broker admin |
|
Back to top |
|
 |
|