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 » simple cluster setup

Post new topic  Reply to topic
 simple cluster setup « View previous topic :: View next topic » 
Author Message
tricky_knight
PostPosted: Wed Mar 23, 2005 10:20 am    Post subject: simple cluster setup Reply with quote

Apprentice

Joined: 12 Mar 2005
Posts: 34

I have a question. on a winodws xp running mq53.
I have a cluster CLUS1, a rep QM(the default) a sec REP, and 4 QMgrs R1-R4 which are sharing one queue only.

after I installed everything(cluster) it seems to be running fine, with the exception that the channels must be manually started (cluster channels) I realize any senders chls etc must started manualyy but I though cluster channels were automatic?

also the channels that I set up for the QM'S R1-R4 dont start at all, the ones I am referring to are the ones defined below.

I can start the sender cluster from the REP to to R1 fine but who starts the reciever?





Code:

DEFINE CHANNEL('TO.QM_R1') CHLTYPE(CLUSRCVR) TRPTYPE(TCP) +
                CONNAME('localhost(1417)') CLUSTER(CLUS1) MAXMSGL(4194304)
                
    DEFINE CHANNEL('TO.QM_REP') CHLTYPE(CLUSSDR) TRPTYPE(TCP) +
                CONNAME('localhost(1415)') CLUSTER(CLUS1) MAXMSGL(4194304)
                
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Mar 23, 2005 10:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you read the cluster manual?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tricky_knight
PostPosted: Wed Mar 23, 2005 10:48 am    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2005
Posts: 34

yes, thanks for asking.


I read:
Quote:

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)
CONNAME(PARIS.CHSTORE.COM) 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 make definitions
on other queue managers for a sending end to the cluster-receiver channel
TO.PARIS. These will be made automatically when needed.
3. Define a CLUSSDR channel on queue manager PARIS



But I guess I am confused at the line 'these will be made automatically when needed'?

can someone elaborate?

when will these channels go to a running state?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 23, 2005 1:08 pm    Post subject: Reply with quote

Grand High Poobah

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

You should have a cluster sender to a full repository.

Then the cluster senders between qmgrs in the cluster can be autodefined. They will go to a running state if/when there is activity for them.
I.e. you try to post a message to a distributed queue. The queue is not present on your queue manager.
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Wed Mar 23, 2005 1:29 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

What's the status of the "TO.QM_REP" channel.

That should autostart as soon as you define it to comminicate with the repository. Both to let the repository know that the QM exists, and also pass the information about the CLUSRCVR to the repository. Following that, the repository will build a CLUSSDR to commicate back to the QM to pass on any information that is needed. If no more activity takes place, these channels will drop into an Inactive state after DISCINT expires. They will start automatically if needed. You should never have to manually start a cluster channel. (Unles you manually stopped it. )

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » simple cluster setup
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.