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 » General IBM MQ Support » adding partial repository to a cluster

Post new topic  Reply to topic
 adding partial repository to a cluster « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Fri Jun 23, 2006 4:43 am    Post subject: adding partial repository to a cluster Reply with quote

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
View user's profile Send private message
bbburson
PostPosted: Fri Jun 23, 2006 5:35 am    Post subject: Re: adding partial repository to a cluster Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Fri Jun 23, 2006 5:44 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Jun 23, 2006 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Mr Butcher
PostPosted: Fri Jun 23, 2006 6:13 am    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Fri Jun 23, 2006 6:14 am    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Fri Jun 23, 2006 7:39 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Jun 23, 2006 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Fri Jun 23, 2006 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jeevan
PostPosted: Sun Jun 25, 2006 12:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Sun Jun 25, 2006 1:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Sun Jun 25, 2006 2:48 pm    Post subject: Reply with quote

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

MQSeries.net Forum Index » General IBM MQ Support » adding partial repository to a cluster
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.