Author |
Message
|
Shalini |
Posted: Tue Nov 23, 2004 6:56 am Post subject: Trigerring the MQ Cluster sender channel thro "Cluster |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi All,
Quote: |
MQ 5.3 CSD5
Currently we have a hub and spoke kind of infrastructure.
i.e. the center two QM with full repo(Solaris MQ5.3 CSD5)
and other 51 QMGR as a partial repo (Win 2000 MQ5.3 CSD5) for our MQ Cluster
Practically speaking we will have one "Cluster transmit Queue" from the center QM to pass messages to all 51 partial repo QMGR.
|
Is it possible to trigger the "cluster sender channel" of Cluster in such scenario.
When ever my partial QMGR comes up the receiver channel staus of partial QMGR is " inactive" not running so we observe that the messages lying in "cluster transmit q", of center (full repo) qmgr ( for the partial qmgr which has recver chl in inactive state) messages some time still appears until I explicitly start the dynamic sender cluster channel from the center full repo QMGR which intrun starts the receive chl of partial repo.
My question is can we trigger for cluster sender cluster channel from single cluster trasmit Q
However the ratio here is 51:1 not 1:1 as in case of non MQ Cluster environment.
I know abt the DISCONNECT Interval I donot want to make it zero as it will take the resources and I want my cluster sender channel only running only when the messages comes for it.
Please suggest/comment
 |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Nov 23, 2004 1:49 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Quote: |
Is it possible to trigger the "cluster sender channel" of Cluster in such scenario.
|
The SYSTEM.CLUSTER.TRANSMIT.QUEUE is set up for triggering by default. So as long as you didn't mess around with the settings of that queue, and your channel initiator is running, your Automatic Cluster Channels will be defined and started automatically as soon as there is an available message on the SYSTEM.CLUSTER.TRANSMIT.QUEUE. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Shalini |
Posted: Tue Nov 23, 2004 8:24 pm Post subject: |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi PeterPotkay,
Even I expect that when the Cluster QMGR (Partial Repo) comes up the, the cluster receiver should be running not inactive but this only happenes for 20% of time other 80% of time I start using the dynamic channel from full repo QMGR.
I donot know why MQ Cluster are inconsistent.
My channel iniator are always up and running as soon as my QMGR (partial ) comes up.
Is there any tuning param or any thing other to be looked into
Please suggest
 |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Nov 24, 2004 12:20 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Triggering of cluster channels is not done by the usual mechanism of setting the TRIGGER TRIGTYPE INITQ attributes of the cluster xmitq, but is done inside the agent when a msg is put, or in the EC at the start of the qmgr. The actual start of the channel is done in the usual way, by the channel initiator, but the triggering is done differently.
A cluster channel will only start when the qmgr starts if there are msgs on the cluster xmitq for the channel. As with distributed channels, the RUNNING status is not preserved when a qmgr ends; only RETRYING and STOPPED are restored when the qmgr starts.
I expect the source of the inconsistency that Shalini has noticed is that sometimes there are msgs on the cluster xmitq for the PR when the FR qmgr starts, and so the channel starts, and sometimes there are not, and the channel does not start. |
|
Back to top |
|
 |
Shalini |
Posted: Wed Nov 24, 2004 2:15 am Post subject: |
|
|
Master
Joined: 30 Apr 2002 Posts: 224 Location: India
|
Hi Nigelg,
Thanks for Reply
Quote: |
I expect the source of the inconsistency that Shalini has noticed is that sometimes there are msgs on the cluster xmitq for the PR when the FR qmgr starts, and so the channel starts, and sometimes there are not, and the channel does not start. |
What I mean is the message in FR QMGR "Cluster Transmit queue" when
my partial reo QMGR comes up the receiver of the partial repo is some time running but most of the time "inactive"
 |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Nov 24, 2004 3:07 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Yes, that is what I mean too. When the qmgr starts it will start all cluster channels for which msgs exist in the cluster xmitq. If the channel does not start, it means that either there are no msgs for the channel, or the channel is STOPPED and will not automatically restart.
Ignore the CLUSRCVR on the PR; that can only be RUNNING when the CLUSSDR is RUNNING. |
|
Back to top |
|
 |
|