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 » IBM MQ Installation/Configuration Support » Clustering newbie

Post new topic  Reply to topic
 Clustering newbie « View previous topic :: View next topic » 
Author Message
pwills
PostPosted: Thu Feb 14, 2002 8:33 pm    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2002
Posts: 7

Any help would be greatly appreciated.
I'm running MQ on 2 AIX boxes. On box1 I've got QM1 defined with Q1 as qlocal attached to cluster C1. On box2 I've got QM2 defined with Q1 as qlocal attached to cluster C1. On both boxes the sender and reciever channels for C1 are running. My application puts messages on box1->QM1->Q1, fine. How can I ever, get my application to put messages on box2->QM2->Q1? I would like to have the cluster serve as a work-load leveling system, but all them messages go to the local queue on QM1. I've defined MQOO_BIND_NOT_FIXED in my application, but no luck.

thanks
Paul
Back to top
View user's profile Send private message Yahoo Messenger
NickB
PostPosted: Fri Feb 15, 2002 12:48 am    Post subject: Reply with quote

Centurion

Joined: 20 May 2001
Posts: 107
Location: Zurich Financial Services

It's quite likely that QM1 is always servicing your requests as it is always able to do so. In a heavier loaded system (i.e. more messages being posted), then QM2 would be brought in to play when it was needed. The base workload algorithm is not that sophisticated and works on a simple round-robin basis.
Back to top
View user's profile Send private message
TonyD
PostPosted: Fri Feb 15, 2002 3:15 am    Post subject: Reply with quote

Knight

Joined: 15 May 2001
Posts: 540
Location: New Zealand

It depends where your application runs. If the queue manager finds a local instance of a cluster queue it will use it. If your application ran on box3 using QM3, and there was not a local instance of the queue on that machine, you would see messages alternately going to the queue instances on boxes 1 and 2.
Back to top
View user's profile Send private message Send e-mail
bduncan
PostPosted: Mon Feb 18, 2002 4:39 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Tony is right. If you are running your application on machine 1 (hosting QM1) then the messages will always be routed to the instance of QL1 on machine 1, because it is local. To see true round-robin workload balancing, you will need to run your application from a third machine, that doesn't host a copy of the queue (QL1). Then the messages will alternately go to QM1 and QM2.


_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
pwills
PostPosted: Mon Feb 25, 2002 7:50 am    Post subject: Reply with quote

Newbie

Joined: 13 Feb 2002
Posts: 7

Thanks for the help. If I'm running my application on a 3rd machine, how
do I make it aware of the queue names in the cluster. Do I define the qmanager on the 3rd machine to be part of the cluster, but simply not locally define the queues? if so does a simple 'ALTER QMGR REPOS(CLUSTER_NAME)' work?

thanks
Back to top
View user's profile Send private message Yahoo Messenger
EddieA
PostPosted: Mon Feb 25, 2002 12:59 pm    Post subject: Reply with quote

Jedi

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

Define Cluster Sender and Cluster Receiver channels that have the name of the Cluster specified. Make sure the Sender points to a full repository. Viola, the Queue Manager is now part of the Cluster and should see the defined Cluster queues.

The command you suggested would be used if you wanted to make the 3rd machine a full repository, which is probably not what you want.

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
jfluitsm
PostPosted: Tue Feb 26, 2002 12:52 am    Post subject: Reply with quote

Disciple

Joined: 24 Feb 2002
Posts: 160
Location: The Netherlands

To be precise, you need a 3th Queue-manager, not necessary on a 3th box.

_________________
Jan Fluitsma

IBM Certified Solution Designer WebSphere MQ V6
IBM Certified Solution Developer WebSphere Message Broker V6
Back to top
View user's profile Send private message Send e-mail
bduncan
PostPosted: Wed Feb 27, 2002 11:10 am    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Yes. Any queue manager that has a cluster sender/receiver channels to one of the repositories. That is all you need. If you make a local copy of the queue you are trying to put to however, it'll never round-robin to the other instances...


_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Clustering newbie
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.