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 » Load balancing problem in cluster

Post new topic  Reply to topic
 Load balancing problem in cluster « View previous topic :: View next topic » 
Author Message
fcho
PostPosted: Wed May 29, 2002 2:15 am    Post subject: Load balancing problem in cluster Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 28

I have 3 Q-manager (QM1 in NT1, QM2 in NT2, QM3 in NT1) in a cluster, QM1 & QM2 are repository to the cluster and QM3 not. I've created 2 local Q (Q1) in both QM1 & QM2 with sharing in cluster. I actually need a load balancing between QM1 & QM2.
Question 1 is when my program put message to Q1 thru QM3, all the message always go to QM1, this look like round robin not work, any body know why?
Question 2 is when I bring down QM1, is that any where to set all the messages in Q1 within QM1 will be automatic transfer to Q1 in QM2?
Question 3 is after I bring down & bring up QM1, all the previous messages in Q1 disapear, any body know why?
Back to top
View user's profile Send private message
TorpedoSTu
PostPosted: Wed May 29, 2002 4:06 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2001
Posts: 73

Dear fcho,

1. How are you putting msg's onto the QM's. ? - I suspect amqsput

To enable the round-robin, DEFBIND should be set to NOTFIXED if you are using IPNUT_AS_QDEF in your PMO, else you need to explicity set the bind to be NOTFIXED. If you don't then the msg's will always go to the first queue the the QName Resolution algorithm finds.

2. Nope. There is a support pack that goes some way towards this though.

3. Becuase you've probably used non-persistant msgs which don't survive a qm re-start.

Try the following against both Q1's

ALTER QL(Q1) DEFPSIST(YES) DEFBIND(NOTFIXED) and ret-try

Regs

Stu
Back to top
View user's profile Send private message Send e-mail
oz1ccg
PostPosted: Wed May 29, 2002 6:41 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Hi Stu,

You did mention
Quote:
2. Nope. There is a support pack that goes some way towards this though.

Quote:
Question 2 is when I bring down QM1, is that any where to set all the messages in Q1 within QM1 will be automatic transfer to Q1 in QM2?

I don't recall that, but by the way if you bring down a queuemanager hosing a local (non shared) queue, that queue will be unavailable until the queuemanager is back in business again, right ?
Otherwise there are something that I had misunderstood

Maybee what you ment was that all msgs will go to QM2 when QM1 is absent..

PLS, tell me which supportpack so I can learn about it. TIA
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
fcho
PostPosted: Wed May 29, 2002 6:05 pm    Post subject: Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 28

Hi Stu,

Thanks for the reply.

1. & 3. Done and work well.

2. May I know what is the support pack that goes some way towards this? Where can I get this?


Regs,
fcho
Back to top
View user's profile Send private message
TorpedoSTu
PostPosted: Thu May 30, 2002 12:16 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2001
Posts: 73

Sorry Boys,

Thought there was a support pack that moves msgs from one QM to another, but I can't find it. You could always use PQEDIT or similar.

Regs

Stu
Back to top
View user's profile Send private message Send e-mail
fcho
PostPosted: Thu May 30, 2002 12:23 am    Post subject: Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 28

Hi Stu,
Sorry to disturd again.
Can you please explain in more detail what is PQEDIT and how to use it?

Regs,
fcho
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Thu May 30, 2002 12:45 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Hi folks,


A way of moving msgs i clusterqueue Q1 from QM1 to QM2, could be the following, and it works for me:

on QM1:
ALTER QL(Q1) PUT(DISABLED)
run my small program on QM1
and then either shut down or ENABLE Q1 again.

My little program
Quote:
My small program opens and read the Q1 and the put msgs in Q1 (the same queue) on QM1..... What my program does is using PASS_CONTEXT, to ensure the MQMD stays unchanged.


What actually happens is that the program read from the local queue and put the msg to one of the remote cluster queues. Nice trick ?

Maybee I should publish the program some time....
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Load balancing problem in 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.