|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Load Balancing | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | MK8570 | 
		  
		    
			  
				 Posted: Mon Jul 25, 2011 6:42 pm    Post subject: Load Balancing | 
				     | 
			   
			 
		   | 
		 
		
		   Apprentice
 
 Joined: 18 Jul 2007 Posts: 26 Location: PA, USA 
  | 
		  
		    
			  
				I am testing a newly built Cluster with Qmgr QM1 active on Node A and QM2 active on NodeB .  QM1 and QM2 are FR 
 
 
After migrating all the queue objects from existing MQ (6.0) to MQ V7,  I am unable to get load balancing working from QM1. When I put messages to the TEST.IN queue using amqsput, all messages goes to local defined queue.  However, it works fine from QM2. 
 
 
dis QC(TEST.IN)
 
     2 : dis QC(TEST.IN)
 
AMQ8409: Display Queue details.
 
   QUEUE(TEST.IN)                          TYPE(QCLUSTER)
 
   ALTDATE(2011-07-25)                     ALTTIME(21.58.4 
 
   CLUSDATE(2011-07-25)                    CLUSTER(PAWMBCL)
 
   CLUSQMGR(PAQ7)                          CLUSQT(QLOCAL)
 
   CLUSTIME(21.58.4                       CLWLPRTY(0)
 
   CLWLRANK(0)                             DEFBIND(NOTFIXED)
 
   DEFPRTY(0)                              DEFPSIST(NO)
 
   DEFPRESP(SYNC)                          DESCR( )
 
   PUT(ENABLED)                            QMID(PAQ7_2011-06-30_13.42.46)
 
AMQ8409: Display Queue details.
 
   QUEUE(TEST.IN)                          TYPE(QCLUSTER)
 
   ALTDATE(2011-07-25)                     ALTTIME(21.54.15)
 
   CLUSDATE(2011-07-25)                    CLUSTER(PAWMBCL)
 
   CLUSQMGR(PAQ6)                          CLUSQT(QLOCAL)
 
   CLUSTIME(21.55.56)                      CLWLPRTY(0)
 
   CLWLRANK(0)                             DEFBIND(NOTFIXED)
 
   DEFPRTY(0)                              DEFPSIST(NO)
 
   DEFPRESP(SYNC)                          DESCR( )
 
   PUT(ENABLED)                            QMID(PAQ6_2011-06-30_14.26.09)
 
 
Any thoughts on what could be the issue. ? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Mon Jul 25, 2011 8:09 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 Location: LI,NY 
  | 
		  
		    
			  
				what happens if you switch the clusqt attribute from qlocal to any?
 
I would expect that cluster work load rank and cluster work load priority attributes are the same for all the instances of the  queue involved.   _________________ MQ & Broker admin | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | MK8570 | 
		  
		    
			  
				 Posted: Mon Jul 25, 2011 9:04 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Apprentice
 
 Joined: 18 Jul 2007 Posts: 26 Location: PA, USA 
  | 
		  
		    
			  
				CLUSQT is set to QLOCAL. I believe you mean CLWLUSEQ property. This is set to ANY for both the instances of this queue. 
 
 
Also, to clarify the issue, when I put messages from NodeA , all messages go to the local queue defined on Node B .  No messages are going to the local instance of the queue on Node A. 
 
 
However when doing a amqsput from Node B  to this queue , messages are split 50-50 to both the queues. 
 
 
DIS QL(TEST.IN) ALL
 
     1 : DIS QL(TEST.IN) ALL
 
AMQ8409: Display Queue details.
 
   QUEUE(TEST.IN)                          TYPE(QLOCAL)
 
   ACCTQ(QMGR)                             ALTDATE(2011-07-25)
 
   ALTTIME(21.54.15)                       BOQNAME( )
 
   BOTHRESH(0)                             CLUSNL( )
 
   CLUSTER(PAWMBCL)                        CLWLPRTY(0)
 
   CLWLRANK(0)                             CLWLUSEQ(ANY)
 
   CRDATE(2011-07-25)                      CRTIME(15.22.54)
 
   CURDEPTH(39)                            DEFBIND(NOTFIXED)
 
   DEFPRTY(0)                              DEFPSIST(NO)
 
   DEFPRESP(SYNC)                          DEFREADA(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)                            PROPCTL(COMPAT)
 
   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) | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | exerk | 
		  
		    
			  
				 Posted: Mon Jul 25, 2011 11:13 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Jedi Council
 
 Joined: 02 Nov 2006 Posts: 6339
  
  | 
		  
		    
			  
				Anything reported in queue manager logs reference differences in attributes between the clustered queues? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | MK8570 | 
		  
		    
			  
				 Posted: Tue Jul 26, 2011 8:14 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Apprentice
 
 Joined: 18 Jul 2007 Posts: 26 Location: PA, USA 
  | 
		  
		    
			  
				I had to delete the cluster queue from both the nodes and recreate the queue .
 
 
Now, I can get the balancing. | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |