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 » Workload balancing

Post new topic  Reply to topic
 Workload balancing « View previous topic :: View next topic » 
Author Message
Trainee
PostPosted: Wed Jan 23, 2008 8:23 am    Post subject: Workload balancing Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Hi,

MQ:6.0.2.2
OS:AIX 5.3
Qmgrs TESTQM1,TESTQM2 on differenet aix servers and they are full repositories and in cluster.
There is cluster alias queue A on TESTQM1 andTESTQM2 .
Base queue is QA which got created on TESTQM1,TESTQM2.

Question: When ever I send the message from TESTQM1 messages are endingup on the same queue manager instead of getting distributed to other queue manager. Same from TESTQM2.

As I remember from MQ6 onwards the property CLWL use queue to 'any' of base queue then messages will get distributed among CLUSTER QMGRS equally.


Please throgh some clues on it.

Thank you
Trainee
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 23, 2008 8:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Moved to Clustering Forum
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 23, 2008 8:30 am    Post subject: Re: Workload balancing Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Trainee wrote:
Question: When ever I send the message from TESTQM1 messages are endingup on the same queue manager instead of getting distributed to other queue manager. Same from TESTQM2.


Is the application using bind on open? Or the queue default, and if so is that bind on open?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 23, 2008 9:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Did you set CLWLUSEQ ?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Trainee
PostPosted: Wed Jan 23, 2008 10:13 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Default Bind type to cluster alias queue is "On open".

I did set CLWLUSEQ "ANY" to the base queues.

I am using amqsputc to load the messages not any application.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 23, 2008 10:14 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Trainee wrote:
Default Bind type to cluster alias queue is "On open".

I did set CLWLUSEQ "ANY" to the base queues.

I am using amqsputc to load the messages not any application.


AMQSPUTC is an application.

AMQSPUTC uses DEFBIND.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Trainee
PostPosted: Wed Jan 23, 2008 11:02 am    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

Hi Jeff,

I changed DEFBIND(Not fixed) also.I got the same result.

Can you explaing bit more to get it round robin when I load the messages on to the cluster alias queues.

Thank you

Trainee
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 23, 2008 11:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Do you see two copies of the queue, when you do "dis qcluster(*)" on the qmgr you are connected to?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jan 23, 2008 11:04 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Did you restart amqsputc after changing the q?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Trainee
PostPosted: Wed Jan 23, 2008 12:06 pm    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

I am able to see both the cluster alias queue instaces from one queuemanager.

I did restarted amqsputc to put the messages.

This is what I am seeing from both the QueueManagers.
dis qc(*)
1 : dis qc(*)
AMQ8409: Display Queue details.
QUEUE(A) TYPE(QCLUSTER)
AMQ8409: Display Queue details.
QUEUE(A) TYPE(QCLUSTER)
dis qc(A)
2 : dis qc(A)
AMQ8409: Display Queue details.
QUEUE(A) TYPE(QCLUSTER)
ALTDATE(2008-01-23) ALTTIME(14.53.54)
CLUSDATE(2008-01-22) CLUSTER(CLUS.TEST)
CLUSQMGR(TESTQM2) CLUSQT(QALIAS)
CLUSTIME(18.59.15) CLWLPRTY(0)
CLWLRANK(0) DEFBIND(NOTFIXED)
DEFPRTY(0) DEFPSIST(NO)
DESCR( ) PUT(ENABLED)
QMID(TESTQM2_2008-01-22_14.10.50)
AMQ8409: Display Queue details.
QUEUE(A) TYPE(QCLUSTER)
ALTDATE(2008-01-23) ALTTIME(14.53.46)
CLUSDATE(2008-01-22) CLUSTER(CLUS.TEST)
CLUSQMGR(TESTQM1) CLUSQT(QALIAS)
CLUSTIME(17.57.5 CLWLPRTY(0)
CLWLRANK(0) DEFBIND(NOTFIXED)
DEFPRTY(0) DEFPSIST(NO)
DESCR( ) PUT(ENABLED)
QMID(TESTQM1_2008-01-22_14.10.52)
DIS QA(A)
3 : DIS QA(A)
AMQ8409: Display Queue details.
QUEUE(A) TYPE(QALIAS)
ALTDATE(2008-01-23) ALTTIME(14.53.46)
TARGQ(QA) CLUSNL( )
CLUSTER(CLUS.TEST) CLWLPRTY(0)
CLWLRANK(0) DEFBIND(NOTFIXED)
DEFPRTY(0) DEFPSIST(NO)
DESCR( ) GET(ENABLED)
PUT(ENABLED) SCOPE(QMGR)


Thankyou
Trainee
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 23, 2008 12:14 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are the cluster channels running to both qmgrs?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 23, 2008 12:19 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

And you're sure CLWLUSEQ is ANY?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Trainee
PostPosted: Wed Jan 23, 2008 12:48 pm    Post subject: Reply with quote

Centurion

Joined: 27 Oct 2006
Posts: 124

All cluster channeles are running .

Here it is base queue details.

dis ql(QA)
3 : dis ql(QA)
AMQ8409: Display Queue details.
QUEUE(QA) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2008-01-23)
ALTTIME(15.42.32) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLWLPRTY(0)
CLWLRANK(0) CLWLUSEQ(ANY) CRDATE(2008-01-22) CRTIME(18.01.26)
CURDEPTH( DEFBIND(NOTFIXED)
DEFPRTY(0) DEFPSIST(NO)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR( ) DISTL(NO)
GET(ENABLED) HARDENBO
INITQ( ) IPPROCS(0)
MAXDEPTH(5000) MAXMSGL(4194304)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
NOTRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS( )
PUT(ENABLED) QDEPTHHI(80)
QDEPTHLO(20) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(NONE) QSVCINT(999999999)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(NORMAL)


Thankyou
Trainee
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jan 23, 2008 1:33 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Assuming everything else is correct, don't forget that a starting channel is giving less priority by the cluster workload algorithm. So if you put 10 messages and the channel to TESTQM1 is in the process of starting up it may take so long that all 10 messages go to the local q on TESTQM2 first. Make sure the channels are running and put a lot of messages.


The other possibility is lets say you are putting from QM1 to clustered queue MYQUEUE on QM2 and QM3. Normally the distribution should be about 50% to each MYQUEUE. But if there is a lot of traffic from QM1 to QM3 and QM4 for THATOTHERQUEUE (that only lives on QM3 and QM4 and not QM2), the cluster workload algorithm will see that the channel is more heavily used to QM3 than QM2, and will send more of your messages to QM2. Unfortunately one putting app can effect another's distribution in an MQ cluster.
_________________
Peter Potkay
Keep Calm and MQ On
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 » Workload balancing
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.