This discussion is archived
1 Reply Latest reply: Mar 7, 2011 7:06 AM by ak RSS

HA Cluster and loadbalancing.

841826 Newbie
Currently Being Moderated
Hi
We are running an HA cluster of Sun Java(tm) System Message Queue 4.3 with brokers across two servers.
This is backed by an oracle database. I have a couple of very simple questions. Is any load balancing assured in this case?
or is the cluster just highly-available? we do not see messages being evenly distributed amongst the cluster queues.
What happens with JMS clients send messages with following addresslist URL ?

mq://borkerServer1?imqAddressListBehavior=PRIORITY,mq://borkerServer2?imqAddressListBehavior=PRIORITY


Is it guaranteed that brokerServer1 will always get preference? does that mean that in a healthy HA JMS server environment, messages will always flow only to brokerServer1?

Edited by: user13559021 on Mar 5, 2011 1:03 PM
  • 1. Re: HA Cluster and loadbalancing.
    ak Explorer
    Currently Being Moderated
    Please see Message Queue Administration Guide and Developer's Guide for Java Clients for the usage of imqAddressList and imqAddressListBehavior connection factory properties
    http://download.oracle.com/docs/cd/E18930_01/html/821-2438/aeooe.html
    http://download.oracle.com/docs/cd/E18930_01/html/821-2440/aeqdx.html
    and more descriptions on these attributes can also be found in GlassFish Server 3.1 High Availability Administration Guide on JMS "Connection Failover"
    http://download.oracle.com/docs/cd/E18930_01/html/821-2426/abdbv.html#abdbw

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points