Author |
Message
|
jeevan |
Posted: Fri Jun 23, 2006 4:43 am Post subject: adding partial repository to a cluster |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I am setting up a cluster first time. I successfully setup full repository. I tested sending message, it works fine. But when I add a partial repository, the channel from PR to FR works but the automatic clussdr channel from FR to PR goes to retying. Is there any thing I need to take into consideration?
I am following the red book exactly.
Note: I have taken out the conname from the def of the clusrcvr channel as suggested.
Any insight /help
thanks a lot |
|
Back to top |
|
 |
bbburson |
Posted: Fri Jun 23, 2006 5:35 am Post subject: Re: adding partial repository to a cluster |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
jeevan wrote: |
Note: I have taken out the conname from the def of the clusrcvr channel as suggested. |
Where was this suggested? The PR clusrcvr channel definition has to include the conname information (including port number) for the PR itself.
Is the PR listener running? Is it listening on the correct port? From the FR can you telnet to the IP/Port of the PR? |
|
Back to top |
|
 |
jeevan |
Posted: Fri Jun 23, 2006 5:44 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
This is what I found on redbook
2. Define a CLUSRCVR channel on queue manager PARIS
Every queue manager in a cluster needs to define a cluster-receiver channel on
which it can receive messages. On PARIS, define:
DEFINE CHANNEL(TO.PARIS) CHLTYPE(CLUSRCVR)
TRPTYPE(TCP) CLUSTER(INVENTORY)
DESCR(’Cluster-receiver channel for queue manager PARIS’)
This advertises the queue manager’s availability to receive messages from other
queue managers in the cluster INVENTORY. There is no need to specify the
CONNAME, you can request WebSphere MQ to find out the connection name
from the system either by omitting CONNAME, or by specifying CONNAME(’ ’).
WebSphere MQ generates the CONNAME value using the current IP address of
the system. There is no need to make definitions on other queue managers for a
sending end to the cluster-receiver channel TO.PARIS. These will be made
automatically when needed.
Yes, linstener is running on correct port
Yes, I can telnet fromFR to PR server port
What else should I check?
Thanks |
|
Back to top |
|
 |
wschutz |
Posted: Fri Jun 23, 2006 6:09 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
Yes, linstener is running on correct port
|
Is that the DEFAULT (probably 1414) port? If you don't specify conname on the clusrcvr, it uses the default port. _________________ -wayne |
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Jun 23, 2006 6:13 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
check the amqerr01 log at both ends for possible reasons of the retry.
just to make sure this is okay: the ip/port that you use to telnet from the fr to pr is the same that is in the conname of the automatic clussdr on the fr end that points to the pr? (or is the same that you defined on the clusrcvr of the pr on the pr)? _________________ Regards, Butcher |
|
Back to top |
|
 |
jeevan |
Posted: Fri Jun 23, 2006 6:14 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Once I added the conname with port, it worked fine. I saw one more interesting sutff
When I dis chs(*) in PR, instead of
TO.PR
TO.FR ( which the PR connect)
It is showing one more channel which is retrying. This channle
TO.FR ( not the one I defined, but to second FR)
is it supposed to do? but why in RETRYING mode? I would appreciate ur help /insight
thanks |
|
Back to top |
|
 |
jeevan |
Posted: Fri Jun 23, 2006 7:39 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I have a final question
I created a local queue with the same name in another FR. I put a message from PR.
It should be available to both of the queue managers right? But when I try to get from
second FR, message is not available at second FR.
Is not this the basic premises of the cluster that making the message available more
than one queue manager?
Do I need to setup additional parameters for this?
Thanks in advance for your help |
|
Back to top |
|
 |
wschutz |
Posted: Fri Jun 23, 2006 8:26 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
which version of mq? in v5, if a local queue exists, it's always selected. In v6, that can be overridden. _________________ -wayne |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 23, 2006 2:13 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jeevan wrote: |
I have a final question
I created a local queue with the same name in another FR. I put a message from PR.
It should be available to both of the queue managers right? But when I try to get from
second FR, message is not available at second FR.
Is not this the basic premises of the cluster that making the message available more
than one queue manager?
Do I need to setup additional parameters for this?
Thanks in advance for your help |
You are getting confused again.
If using DB as persistency store and using WAS JMSEngine you can make your queue globally available in the WAS cluster -- Not With MQ.
MQ clustering offers load balancing. Read the manual carefully!!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Sun Jun 25, 2006 12:30 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I am using mq 5.3 CSD 11.
My main questions is as follows:
Lets say, we have 6 queue managers in a cluster
A cluster queue is defined in 4 different queue managers.
I send message from the the fifth queue manager as follows:
amqsput clusterQ 5THQMGR
The fifth queue manager is a PR. It is connected to FR1 which does not have the cluster queue defined.
Is this designed wrong?
Does this worK?
where does the message go? I mean which queue manager?
I am going to create this scenario, but trying to understand MQ cluster philosophy.
I would be grateful, if you could clarify this issue.
Thanks a lot |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Jun 25, 2006 1:11 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Cluster channels are automatically defined between the sending queue manager and the receiving queue manager.
Read the Cluster Manual! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Sun Jun 25, 2006 2:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Is clusterQ defined in 5THQMGR? If so, then all messages will go there. If not, then all messages will go to one of the other 4 qmgrs. _________________ -wayne |
|
Back to top |
|
 |
|