Load balancing In weblogic 6.1 JMS Cluster

          hi
          i have implemented distributed queues in weblogic as suggested in the JMS performance
          guide.but the problem is that of the 3 queues in cluster the messages always end
          up going to the same queue and the remaining 2 remainin queues are empty. i want
          to perfomr load balancing but i think this ios available only in weblogic 7.0.can
          anyone suggest any alternative workaround ??
          

I wonder if the JNDINameReplicated setting is taking effect.
          Are there any warning or error messages in your logs?
          Can you see statistics for all three JMS servers on the console?
          Does it work if you use the "./a" syntax?
          illusionz70 wrote:
          > hi,
          > 3 machines are in a cluster.all three machines have their different jms servers
          > and queues under them but target teh same connection factory.therefore all three
          > servers target 3 different machines which are in a cluster. i have weblogic 6.1
          > to which i applied the repective CR(patch) which enables the JNDIREPLICATED parameter.i
          > set this parameter to false.as a result i am able to monitor the 3 queues which
          > have the same jndi names but under different servers.but the problem is when i
          > lookup the queues from client using the machine's ip address(not the cluster ip),
          > the results are haywire.... even though i target say a ip of 30 , the msg goes
          > to ip 20... i dont know why..do you have any idea.
          > NOTE : i dont use the ./a ( where queue is the quename ) syntax in createqueue.
          > i look up the queue using the JNDI name.
          > thanks
          > Tom Barnes <[email protected].bea.com>
          > wrote:
          >
          >>Make sure that your context host and connection
          >>factory (CF) host are actually the same as what
          >>you're expecting.
          >>
          >>How, exactly, are your clients:
          >> (A) looking up their context
          >> (B) looking up their CF
          >>
          >>What are the targets for the CF?
          >>What are the URLs for the servers?
          >>What is the URL the clients are using? How is it
          >>load-balanced among the servers?
          >>Are the servers clustered?
          >>
          >>Tom
          >>
          >>illusionz70 wrote:
          >>
          >>
          >>>hi
          >>> i have implemented distributed queues in weblogic as suggested in
          >>
          >>the JMS performance
          >>
          >>>guide.but the problem is that of the 3 queues in cluster the messages
          >>
          >>always end
          >>
          >>>up going to the same queue and the remaining 2 remainin queues are
          >>
          >>empty. i want
          >>
          >>>to perfomr load balancing but i think this ios available only in weblogic
          >>
          >>7.0.can
          >>
          >>>anyone suggest any alternative workaround ??
          >>
          >
          

Similar Messages

  • How to configure Load Balancer in front of Web Logic Cluster

    hi all,
    I installed 2 weblogic servers in cluster and now i want to deploy Hardware Load balancer in front of them, i want to know do i require any configuration on servers or i just deploy hardware Load balancer in front clustered servers with round robin technique.
    Regards,
    imran

    I think there are two important configuration when you use hardware load balancer in front of WebLogic cluster.
    1) Passive Cookie Persistance
    You need to configure hardware load balancer so that it can identify Weblogic session cookie for routing request primary server holding HTTP sesstion.
    2) External DNS
    If there is firewall between hardware load balancer and weblogic cluster and NAT (Network translation ) is used, then you need to configure "External DNS" for each weblogic server in cluster. You need to specify the hostname used by load balancer in "external DNS".
    More details about this are available at.
    http://edocs.bea.com/wls/docs92/cluster/load_balancing.html#wp1026940
    http://e-docs.bea.com/wls/docs92/cluster/planning.html#wp1088950
    Hope this will help...
    Jayesh
    Yagna Sys

  • Load balancing MQ 7.0 Foreign JMS Server and Weblogic 10 MDBs?

    We have the following configuration and we are trying to troubleshoot what appears to be a load balancing issue.
    We have 3 Solaris servers. Each Solaris server has two Weblogic managed servers running on it. There are a total of 6 managed servers in the Weblogic cluster.
    MQ Series 7.0 is also installed on each Solaris server. The MQ queue managers are in a MQ cluster. Each queue manager has the same queues defined.
    We have a foreign JMS Server configured on Weblogic that has destinations and a connection factory defined. There aren't many configuration options available for the connection factory. The destinations are bound to the queues defined on MQ using the MQ bindings file.
    The MQ bindings file was generated using the TRANSPORT(BIND) mechanism. Each bindings file points to the queue manager running on that machine. So the 2 managed servers running on one machine are accepting messages from the queue manager on that machine.
    The MDB's listenning for messages on the MQ queues are configured as follows in the weblogic-ejb-jar.xml:
         <max-beans-in-free-pool>16</max-beans-in-free-pool>
    We also created a custom work manager with min threads constraint=5 and max threads constraint=16. The dispatch-policy of all the MDBs is set to the custom work manager.
    The open input count on each MQ queue managers shows up as 32 which is expected.
    The default load algorithm on the cluster is round-robin.
    When we run a load test (injecting 40 messages per second on one MQ queue), we notice that one managed server ends up being significantly loaded than the other. Each MQ queue manager in the MQ cluster receives approximately the same number of messages in the load test. But it seems like one managed server is preferred over the other in Weblogic.
    What can be done to equally balance the load among the two managed servers on each Solaris server?
    Thanks for the help.

    Load balancing generally applies at determing how many consumer threads has to be created on each of the clustered queue instance. In that sense you have achieved perfect load balancing as your queue instances has the same no of consumer threads.
    Once you have set 'x' consumer threads on a queue, it is upto messaging provider to decide which thread to deliver a particular message and you will hardly have any control over this. Since your 32 threads are listening on the same queue, MQ can select any thread for delivering the message and the behaviour could be non deterministic.
    One option to change your design is to have a dispacther mdb which picks the messages off the MQ and then routes to a weblogic distributed destination and you can have your core mdb which does all processing listen to this distributed destination. You can enable load balancing when the disaptcher mdb routes the message to the distributed destination. Since dispatcher MDB is nothing more than a router, the unbalanced consumption off the MQ shouldn't seriously affect the server.

  • IIS 6 fails to load balance to weblogic cluster

    Hi,
    We have iis 6 which proxies request to weblogic cluster running on version 9.2 MP1. Recently we noticed the connections are overloaded on a weblogic instance while the other instance had lower connections.
    I suspect it to be the IIS load balancing to the single instance. Can anyone help please.
    I traced the IIS logs and can see the citrix IP as destination since the user access the application thru citrix sessions.
    Thanks,

    Hi,
    We have iis 6 which proxies request to weblogic cluster running on version 9.2 MP1. Recently we noticed the connections are overloaded on a weblogic instance while the other instance had lower connections.
    I suspect it to be the IIS load balancing to the single instance. Can anyone help please.
    I traced the IIS logs and can see the citrix IP as destination since the user access the application thru citrix sessions.
    Thanks,

  • Using StoneBeat WebCluster load balancing with WebLogic

              Hi,
              I have done some testing of WebLogic Server with my company's StoneBeat WebCluster
              distributed load balancing software. This might be one more option to consider
              as a load balancing solution for WLS. It is advanced in the sense that load balancing
              is really dynamic, there are no single-points of failure (distributed architecture)
              and there is a very good, configurable test subsystem that runs on each cluster
              node to check for overload situations, HW/OS failures, ...
              In the initial testing, the WebCluster load balancing works with WebLogic replication,
              although there are some cases that need mroe consideration (please see below).
              I had to get a patch to WLS6SP1 on NT to make WLS' multicast work when there are
              several NICs on the cluster nodes.
              However, there is one case which causes problems:
              - I have 3 cluster nodes
              - P: 2, S: 3 (SessionServlet = 1)
              - 2: offline - P: 3, S: 1 (SessionServlet = 2; WebCluster randomly selected a
              new node to handle the connection)
              - 2: online - P: 2, S: ? (SessionServlet = 3, WebCluster redistributes the load
              when a node goes online)
              - 2: offline
              - P: 3, S: 1 (__SessionServlet = 1__) NB!
              The log messages show that when node 2 comes back online it retrieves the replica
              from the secondary (node 1) and not from the primary (node 3). After a while (5-6
              minutes), node 3 tries to update the replica on node 1. Node 1 considers this
              a stale update request and removes the Primary 16... (node name) and then the
              secondary for 16... (the replicated object). Then there's a message (still on
              node 1) that it is unable to find object 16... Back on node 3 the primary for
              16... is removed.
              From the WLS6 documentation (under the discussion of using replication with external
              HW load balancing solutions) I thought that this case would have been handled:
              - it is stated that after the failure of a node, if the HWLB box sends the next
              request to a node where there is no replica, WLS is able to retrieve the replica
              - to be fair, this is what happens: when node 2 came back online, it retrieved
              the replica from node 1 (the secondary) - I suppose that there is an assumption
              that if a request arrives to a node without a replica, the primary __must have
              failed__
              Is there any way to get around this problem?
              Admittedly, WebCluster has a problem in that the stickyness of connections is
              not perfect: - when a node goes online, a connection that was correctly persisted
              (based on either source-ip or source-network address) may be moved to a new node
              since the load is redistributed. Our load balancing is very dynamic, but doesn't
              maintain a list of who is connected to which node when resistribution takes place
              Regards,
              Frank Olsen
              Stonesoft
              

    Rick,
    You may want to look at the Alteon and F5 configuration we have on edocs.
    Take a look at the following URLs for a possible solution
    http://edocs.bea.com/wls/docs61/cluster/alteon.html#591902
    http://edocs.bea.com/wls/docs61/cluster/bigip.html#591902
    Chuck Nelson
    DRE
    BEA Technical Support

  • HTTP Tunneling and Load Balancing with Weblogic Server 6.1

    We use T3 for Java client to application server communication (Weblogic Server
    6.1) and keep the session open for the life of the client. We many customers
    using this with load balancers and all works fine. We have just started to use
    BEA's HTTP tunneling and I have a question concerning how this will work with
    load balancers. Since the single T3 connection has been replaced with a series
    of stateless HTTP connections, does the BEA tunneling code put session information
    in the HTTP header? If so, what information does it place in the header. If
    it does we should be able to use that to make sure that the load balancer always
    sends HTTP requests with that session to the same application server.
    Thanks!
    Rick

    Rick,
    You may want to look at the Alteon and F5 configuration we have on edocs.
    Take a look at the following URLs for a possible solution
    http://edocs.bea.com/wls/docs61/cluster/alteon.html#591902
    http://edocs.bea.com/wls/docs61/cluster/bigip.html#591902
    Chuck Nelson
    DRE
    BEA Technical Support

  • T3 Load Balancing with Weblogic Server 6.1

    We are using rwo weblogic 6.1 servers A and B behind a load balancer with a DNS name (eg. www.loadbalancer.com). We are using T3 for Java client to application server communication. The client creates the Initial context with the load balancer url,creates remote objects using the context, closes the initial context and then tries to get a new initial Context. What we noticed is even though the client closes the first context and gets a new one, the client is always hooked on to only one server making load balancing ineffective. Is there a T3 configuration to release the connection when we close the context ? The documentation says only one T3 is established per client JVM.

    Rick,
    You may want to look at the Alteon and F5 configuration we have on edocs.
    Take a look at the following URLs for a possible solution
    http://edocs.bea.com/wls/docs61/cluster/alteon.html#591902
    http://edocs.bea.com/wls/docs61/cluster/bigip.html#591902
    Chuck Nelson
    DRE
    BEA Technical Support

  • Software load balancing in weblogic

    Hi All,
    we need to configure a Software load balancer for one of our evnironment as we will not be getting hardware load balancer for the same.
    we have weblogic and soa (11.1.1.5) installed on one machine and we will create two managed server which will be in a cluster.
    Please provide any pointer or input for configuring software load balancer for our requirement.
    TIA,
    Bob

    Hi,
    Have a look at OHS.
    http://docs.oracle.com/cd/E14571_01/web.1111/e16435/oracle.htm
    http://docs.oracle.com/cd/E15586_01/web.1111/e10144/intro_ohs.htm
    Regards,
    Fabio

  • Load balancing in Weblogic Server

    Hi Team,
    As per the Oracle WLS documentation,web logic cluster provides load balancing.
    I want to know,how it can achieved in web logic server for clusters.
    Any suggestions regarding the query is appreciated.
    Thanks and Regards,
    Arun K M

    You may install the the Oracle HTTP server and use it as a load balancer.

  • Load balancing to a WLS 8.1 cluster with BigIP 9.0

    We are experiencing a problem load balancing to our 8.1 cluster using f5's 1500 with BigIP 9.02. The cluster is not configured with any failover capability; we are have configured the BigIP with active cookie insertion persistence; all is well untill we take down one of the nodes in the cluster; any session associated with that node via the load balancer is bounced repeatedly between the two remaining nodes; the only solution appears to be to close all browser instances and open a new one. Has anyone experienced this behavior and have some suggestions ?

    We are experiencing a problem load balancing to our 8.1 cluster using f5's 1500 with BigIP 9.02. The cluster is not configured with any failover capability; we are have configured the BigIP with active cookie insertion persistence; all is well untill we take down one of the nodes in the cluster; any session associated with that node via the load balancer is bounced repeatedly between the two remaining nodes; the only solution appears to be to close all browser instances and open a new one. Has anyone experienced this behavior and have some suggestions ?

  • BPEL + AQ + Load Balancing + OAS Cluster

    Hi all
    Is there a way to provide load balancing when reading AQ messages (JMS queue, not topic) to a OAS Cluster?
    Explaining:
    A BPEL server reads a flat file and send JMS messages using an AQ adapter. In the other side, there is a Java application running on a OAS cluster expecting the JMS messages, reading the queue on the AQ. As there is just one queue and many consumers (6 applications instances running on the cluster), how can I provide JMS load balancing between these 6 applications?
    Sorry if this is not the correct forum to post, if you could recommend another forum I would be glad.
    Thank you
    Marcelo

    Hi,
    thanks for your answer. could you please be more specific? We have found something in the JMS specification:
    JMS Spec 1.1 / Sun:
    6.11.1 Durable TopicSubscriber
    Only one session at a time can have a TopicSubscriber for a particular durable subscription. See
    Section 4.3.2, Client Identifier, for more information.
    So only one instance (JVM) can have the JMS-connection open to the Topic. How do we load balance these messages then into the Oracle Application Server?
    As a workaround, we we have currently deployed a "singleton EAR" which acts as a messaging bridge. It transfers messages from the topic into an "incoming queue" at AQ database. That queue is configured and visible on all OC4j instances. Is this the right way to load balance messages on a OC4J/OAS cluster?
    grüße,
    \thomas
    Edited by: thavemei on 09.11.2009 02:26

  • Load balancing JMS listeners against AQ

    10g Database, simple AQ defined (point to point)
    10g App server (10.1.2) JMS Listener.
    Two load balanced App servers, with the JMS listener deployed onto each server, each listening to single AQ queue.
    Problem. It appears that each listener is picking up a message when placed on the AQ. I would have assumed that the first once it would "block" the second one from dequeing the message.
    Is there a specific configuration/set-up we need to cause each of these listeners to "honer" the other one, and for the messages to be handled on by one of the listeners at a time?
    _mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Mike,
    If your question has to do with Oracle Application Server, then there is the Oracle Application Server - General forum.
    If your question has to do with AQ, then there is the Advanced Queueing forum.
    In any case, I don't think it has to do with JDBC, does it?
    Good Luck,
    Avi.

  • Weblogic 11g load balancing configeration

    how can configure load balancing in weblogic 11 server

    Load balancing has to be done from the outside with an external load balancer, could be a Hardware or Software (such as webcache in OAS 10.1.2 ), WebLogic could do a Clustering service where several machines could host failed processes from died machine, but they nead a external Load balancer.
    Hope it helps.

  • Ironport Cluster Load Balancing

    Anyone knows if it is possible to configure a load balancing of two C100 in a cluster.
    I configured the second machine in the cluster two weeks ago. when I look in the stats, the second machine does nothing. the first machine is on 3% CPU and whe have about 120000 mail per day.
    is there any way to configure the cluster that the two machine share their work ? or is the cluster only for fail-safe ?

    Hello,
    Most mail admins know how to use MX records for load balancing (and redundancy) on their mail servers.
    Less people know you can use MX also for your outgoing mail traffic.
    Just add a MX record to your local DNS and specify a name for the record. (i.e. outgoingMX.local.domain) put the IP's or hostnames of your internal Ironport card in the data and configure your internal mail system to deliver it’s outgoing mail to smarthost outgoingMX.local.domain
    Works for most mail systems. I'm sure it is working for Exchange (5.5. and higher) and Domino (5 and higher)
    Regards, Steven

  • Intelligent Load Balancing Utility

    Hello,
    We are trying to accomplish "intelligent" load balancing on weblogic server cluster considering Memory utilization, Total number of threads running on each server, total number of services running which are being adjudicated on each business function) etc.
    We already have worked on configuration changes to achieve equal load distribution of JMS messages in a cluster. But we would like to accomplish not 'equal', but 'intelligent' load balancing.
    Any leads or thoughts would be highly appreciated.
    Thanks,
    --Kausik
    Edited by: user7051985 on Apr 18, 2013 7:50 AM

    Answer to my question: http://ieoc.com/forums/p/26385/218976.aspx#218976

Maybe you are looking for

  • WinXP-64 bit corrupts existing RAID array

    I've got an MSI K8N Neo2 Platinum motherboard running Win XP Pro SP2 on two 36 gig SATA Raptors.  Everything was working fine, but I wanted to try the 64 bit version of XP.  Grabbed an old 80 gig PATA drive and threw that in the case.  Unplugged the

  • Unable to capture with FCP5

    With correct connexions and I-link OK, FCP is unable to capture DV with the camera either with recorder. I,ve the text (in french) : "Périphériques suivants sont introuvables Apple Firewire PAL (720x576) .... " The capture is OK using a Mc-Book with

  • Can I customise the HTML code in an eCommerce online purchase web form?

    The Adora template lets me customise the html code but then after saving the form it reverts back to the default. Can anybody tell me if I can customise this form or find where the form placeholder/HTML is located so that I can try and insert the htm

  • Iphoto remove photos from iphone not working

    For the past couple months iphoto will not delete the photos from my iphone. It successfully imports them, prompts to delete, appears to delete but doesn't actually remove them. They are still on my iphone. iphoto recognizes that they have already be

  • Starting application server from IDE

    I'm trying to start the application server from an evaluation copy of Visual Cafe 4.5 Enterprise Edition. When I choose Project -> Start Application Server from the menu, a window briefly opens with "Start Application Server" as its title and a logo