ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Clustering » MQ Cluster Setup - Channel not starting

Post new topic  Reply to topic
 MQ Cluster Setup - Channel not starting « View previous topic :: View next topic » 
Author Message
mdncan
PostPosted: Sun Apr 15, 2007 10:52 am    Post subject: MQ Cluster Setup - Channel not starting Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sun Apr 15, 2007 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
HubertKleinmanns
PostPosted: Mon Apr 16, 2007 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mdncan
PostPosted: Mon Apr 16, 2007 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Apr 16, 2007 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mdncan
PostPosted: Mon Apr 16, 2007 1:12 pm    Post subject: Reply with quote

Acolyte

Joined: 11 May 2005
Posts: 59
Location: US

I have followed instructions on this doc to add a Partial Repostiory QM and defining channels on Partial Repos QM:

http://www-306.ibm.com/software/integration/mqfamily/library/manualsa/csqzah/csqzah0q.htm#HDRCSQ68X2


My understanding is, Sender channel from the REPOS QM is not required to be created manually but that would created automatically when necessary. Am I right or wrong on this?

Regards,
mdnca
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Apr 16, 2007 1:36 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

mdncan wrote:
I have followed instructions on this doc to add a Partial Repostiory QM and defining channels on Partial Repos QM:

http://www-306.ibm.com/software/integration/mqfamily/library/manualsa/csqzah/csqzah0q.htm#HDRCSQ68X2


My understanding is, Sender channel from the REPOS QM is not required to be created manually but that would created automatically when necessary. Am I right or wrong on this?

Regards,
mdnca

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » MQ Cluster Setup - Channel not starting
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.