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.

Similar Messages

  • Load balancing BSSV multiple instances - what is your experience?

    Hi,
    we encountered an issue: we have three weblogic instances running BSSV Server instances for our JDE. THE BSSV instances are being communicated by SOA mostly and we would like to load balance the traffic between those three bssv servers. The problem is we need to use a certificate in order to load balance https.
    The question is: has anyone of you performed such or similar operation before? What approach would you advise/recommend based on your experience? We will not use weblogic/webcache load balancing.
    Thanks.

    I haven't found a specific JDE forum to have this question addressed by JDE. So, I will try to help from Weblogic Server perspective.
    Is JDE installed in a SOA weblogic server environment?
    If so you can follow SOA EDG which covers load balancing.
    Enterprise Deployment Overview
    Preparing the Network for an Enterprise Deployment - 11g Release 1 (11.1.1)
    Best Regards
    Luz

  • Load balancing not happening on UDQ in weblogic 11g

    Hi Team,
    I have a 2 clusters with two managed servers each on different machines
    Cluster A(On machine 1)
    Managed server A (on machine 1)
    Managed server B(on machine 2)
    I have created 2 JMS servers
    JMS Server A on Managed server A
    JMS Server Bon Managed server B
    and a JMS module on Cluster A
    and JMS connection factory targeted on Cluster A and a uniform distributed queue targeted on JMS server A and JMS Server B
    But load balancing is not happening only one managed server is loaded at a time.. Using weblogic 11(aka 10.2.3)
    Tried disabling server affinity but it did not help ...Can any one please let me know how to fix this?

    Hi,
    When you say load is not balanced and reaching only one managed server.
    I assume both the UDD's targets are reachable and are visible in JNDI tree ?
    also , what kind of application is it - i,e is it clustered app that would be seen as consumers on each UDQ ?
    take a look at the app and check if its clusterred . along with that also take a look at the number of consumers on UDQ instances.
    Let me know what you find.
    Sri

  • Problem with WLIOTimeoutSecs in weblogic and apche  CSS load balancer

    Hi,
    We are using Weblogic 11g, apache 2.2 and CSS load balancer for load balancing.
    we have huge reports which take minutes to generate and hence we need higher value for WLIOTimeoutSecs. This works fine when we use server url but WLIOTimeoutSecs is not working when we use CSS load balancer.
    We checked with our load balancing team they said CSS load balancer will not repost the request.
    Here is the plugin configuration
    <Location /*****>
    SetHandler weblogic-handler
    PathTrim /
    WebLogicHost 'serevrip'
    WebLogicPort 'port'
    WLIOTimeoutSecs 3600
    Idempotent OFF
    WLProxySSL ON
    DefaultFileName /***/***/index.jsp
    Debug On
    WLLogFile /***/***/***/***.log
    </Location>
    Could some please help me on this.
    Thanks in advance
    Regards,
    Venkat

    Hi Tarun,
    The problem occurs when the SSL is enabled on apache. If I access the same URL over HTTP, the parameter WLIOTimeOut works fine.
    Also I observed that, none of the parameters are getting applied to the plugin. I had switched on 'DebugConfigInfo'. With this the HTTP URL with ?__WebLogicBridgeConfig as query parameter returned the complete configuration. However when accessed with HTTPS the server did not return the configuration.
    Is there a specific configuration to be applied when apache is used with SSL?
    Thanks for your help,
    Shashi

  • Load balancing of DB RAC using weblogic server

    Hi All,
    I want to test the load balancing of Data base RAC for my application. I got the box which is installed RAC in it with two nodes. I configured the multidatasource which points to individual data sources to each node.
    Is this configuration is correct or not? to test the load balancing of the Database. I come to know that there is something called SCAN from oracle 11g but it is not supported 100% by web-logic server(we are using weblogic server 9.2MP3).
    How many requests I made all the requests are going to the Node1 only not even one is gone to the node2. Any specific reason.
    Thanks,
    Venkat.

    Another alternative is, keep the property file in any pre-defined location. Write a class which reads the properties from the file and returns the one which is requested by caller and deploy this class. Whenever you have to change the properties just update the property file on server and next call to fetch the property should return the updated one.
    Downside of this approach is file I/O everytime. To overcome that you can actually "cache" the properties in a hashmap. Basically when any property if requested, first check the hashmap, if not found then only read from property file and also update in hash map. Next time same property will be returned from hash map itself. The hash map will be cleared at every server restart since its in the memory. You will also need to build a method to clear the hashmap when you update the values in the property file on server.
    This solution would be suitable for small size files and when network overhead of calling a DB needs to be avoided.

  • Weblogic cluster software load balancer

    Hi,
    We are currently using Weblogic domain as a Proxy Plug-In for High Availability test as it’s explained in this blog http://andrejusb.blogspot.com/2009/04/weblogic-load-balancing-for-oracle-adf.html.
    Its working fine for POC project but what software load balancer would you recommended for production environment on Linux? (Assume that we don’t have a hardware load balancer).
    - Oracle active-passive OHS web-tier clustering.
    -Using Linux open source Linux Software(e.g. HAProxy and KeepAlived as explained here http://biemond.blogspot.com/2010/04/high-availability-load-balancer- for.html
    -Using any other software load Balancer
    I would appreciate if anybody can provide some recommendations/links etc.
    Thanks
    Alex

    Hi Alex,
    Yes you should never use HttpClusterServlet, not even for fun ;-)
    We use mod_wl (Web Server Plug-In) for Apache for several customers and that works fine.
    Check this:
    http://docs.oracle.com/cd/E23943_01/web.1111/e14395/toc.htm
    Regards Peter

  • Weblogic Apache Plugin - Load Balancing

    Hi,
    I have two Apache servers each with the WLS Apache Plugin installed. These sit in front of two WL servers each having two managed servers.
    Each plugin is setup with the list of servers as follows:
    <IfModule mod_weblogic.c>
              WebLogicCluster Server_1:7030,Server_1:7040,Server_2:7010Server_2:7020
              Debug           OFF
              WLLogFile logs/cws_proxy.log
              WLTempDir "logs"
              DebugConfigInfo OFF
              WLProxySSL On
              KeepAliveEnabled ON
              KeepAliveSecs 15
              MatchExpression *.xhtml
              MatchExpression *.jsp
         </IfModule>
    Look OK so far?
    Anyway, looking at the WL access.log I can see that server 1 is only receiving requests from one Apache, and the same goes for the other access.log. So... it's not really load balancing is it?
    Can anyone offer any advice or comments on my plugin configuration or why it is not load balancing properly?
    Much Appreciated,

    I came across this link which says ‘WebLogic Server does not always load balance an object’s method calls.” And has few more details about the load balancing strategy of weblogic.
    http://download.oracle.com/docs/cd/E11035_01/wls100/cluster/load_balancing.html#wp1026599
    http://download.oracle.com/docs/cd/E11035_01/wls100/cluster/load_balancing.html
    This might help.

  • Load balancing in Oracle RAC 11g (11.1.0.6.0)

    Hi!
    One of our customers use load balancing, now all users get connected against node 2.
    --The configuration of load balancing will be correct I think, have worked before
    --How do I verify the load on each node ?
    --What can be wrong?
    --Need help, what to check?
    --tnsnames.ora looks like
    X.world =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = X)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = X)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = X.X.se)
    Regards
    T

    Hi,
    --The configuration of load balancing will be correct I think, have worked before
    --How do I verify the load on each node ?
    --What can be wrong?
    --Need help, what to check?
    Services
    Traditionally an Oracle database provided a single service and all users connected to the same service.
    A database will always have this default database service that is the database name.This service cannot be modified and will always allow you to connect to the database.
    Do not use the default database service, create at least one service.
    With Oracle Database 11g, a database can have many services (up to a maximum of 115 per database).
    The services hide the complexity of the cluster from the client by providing a single system image for managing work. Applications and mid-tier connection pools select a service by using the Service Name in their connection data.
    http://www.oracle.com/technetwork/database/clustering/overview/awmrac11g-133673.pdf
    http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/hafeats.htm
    Regards,
    Levi Pereira

  • Oracle Weblogic Load Balancing/Clustering

    Can anyone tell me what the recommendation from Oracle is on how to best set up load balancing?
    We currently use the configuration.properties file to identify the 2 servers we load balance.  We will be implementing additional servers in the near future and we were wondering if this is the best way to load balance 4 or more weblogic servers or if there is some other way.
    We set up one cluster address to utilize these servers and use a separate hardware load balancer device.
    HRDEV\webserv\hrdev\applications\peoplesoft\PORTAL.war\WEB-INF\psftdocs\hrdev\configuration.properties
    # To enable jolt failover and load balancing, provide a list of application server
    # domains in the format of;  psserver=AppSrvr:JSLport,...
    # For example:  psserver=SERVER1:9000,SERVER2:9010,SERVER3:9020

    As this is peoplesoft specific configuration
    Please try positing here:
    https://community.oracle.com/community/oracle-applications/peoplesoft_enterprise/peoplesoft_general_discussion?customTheme=otn
    Best Regards
    Luz

  • 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.

  • Load balancing is not happening on RAC (oracle 11g Rel 2) on Linux 5.1

    Hi,
    Load balancing is not happening on Oracle 11g RAC. We have defined the SCAN listener and confured the TNS accordingly. Still we get the load maximum on node2 and less load on Node1 or vice versa. Please suggest me what to do?

    This is not the right forum to ask this question.
    regards

  • Weblogic DB connection pool load balancing problem

    hi all,
    here is a strange issue. We have a clustered weblogic environment with2 servers. And the application is deployed to cluster. But strangely when we check the active connections for the connection pool that is being used by the application, we see that 2nd server has more connections when compared to 1st server, lets say 1st server has 4 active connections, 2nd server has 50 connections, What might be the problem.
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/jdbc-data-source" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/jdbc-data-source http://www.bea.com/ns/weblogic/jdbc-data-source/1.0/jdbc-data-source.xsd">
    <name>##########</name>
    <jdbc-driver-params>
    <url>jdbc:oracle:thin:@hostname:portnumber:Schema</url>
    <driver-name>oracle.jdbc.OracleDriver</driver-name>
    <properties>
    <property>
    <name>user</name>
    <value>#####</value>
    </property>
    <property>
    <name>portNumber</name>
    <value>#####</value>
    </property>
    <property>
    <name>SID</name>
    <value>######</value>
    </property>
    <property>
    <name>serverName</name>
    <value>hostname</value>
    </property>
    </properties>
    <password-encrypted>##########</password-encrypted>
    <use-xa-data-source-interface>false</use-xa-data-source-interface>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <initial-capacity>0</initial-capacity>
    <max-capacity>75</max-capacity>
    <capacity-increment>5</capacity-increment>
    <shrink-frequency-seconds>900</shrink-frequency-seconds>
    <highest-num-waiters>2147483647</highest-num-waiters>
    <connection-creation-retry-frequency-seconds>0</connection-creation-retry-frequency-seconds>
    <connection-reserve-timeout-seconds>10</connection-reserve-timeout-seconds>
    <test-frequency-seconds>60</test-frequency-seconds>
    <test-connections-on-reserve>true</test-connections-on-reserve>
    <profile-harvest-frequency-seconds>300</profile-harvest-frequency-seconds>
    <ignore-in-use-connections-enabled>true</ignore-in-use-connections-enabled>
    <inactive-connection-timeout-seconds>0</inactive-connection-timeout-seconds>
    <test-table-name>SQL SELECT 1 FROM DUAL</test-table-name>
    <login-delay-seconds>0</login-delay-seconds>
    <statement-cache-size>10</statement-cache-size>
    <statement-cache-type>LRU</statement-cache-type>
    <remove-infected-connections>true</remove-infected-connections>
    <seconds-to-trust-an-idle-pool-connection>10</seconds-to-trust-an-idle-pool-connection>
    <statement-timeout>-1</statement-timeout>
    <profile-type>0</profile-type>
    <pinned-to-thread>false</pinned-to-thread>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>##########</jndi-name>
    </jdbc-data-source-params>
    </jdbc-data-source>

    are you using any front end web server or hardware load balancer ? verify your load balancing if it's happening or not properly between your clustered managed servers.
    Regards
    Mukesh Negi
    http://weblogicserveradministration.blogspot.com/

  • 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

  • Load Balancing in Clustered Weblogic 12c

    Hi,
       Weblogic.........: 12.1.3
       OS..................: Oracle Enterprise Linux 6.3
    We have configured a Clustered Weblogic (2 virtual servers) successfully. Now we are searching for some good Load Balancing solutions. I've tested a ProxyServlet, but it didin't really solve the question, because this kind of load balancing only balances apps in the same server.
    Is it mandatory to use a third-party solution, like an Apache Httpd Server, or Big IP? In fact, i would like to know initially for some viable solutions to provide a load balancing solution to a 2-server Weblogic 12c Solution.
    Thanks in advance.

    Hi,
    It is not manadatory, and it is possible to load balance apps on different servers with the ProxyServlet. It's only that this will be running on a server from where the others need to be accesable.
    Also, it depends on what you are using this environment for. The ProxyServlet is a good solution if you want to replicate an Enterprise environment and test the load balancing with a WebLogic cluster. However, if you want to run Production applications in this environment, then consider the above suggestions: either a WebServer or a dedicated external Load Balancer.
    Regards

  • Load balancing, failover and fallback in Non-Clustered WebLogic environment

    hi,
    Has anyone implemented WebLogic 10.3.3 (or 10.3.4) in a Non-Clustered environment, but also got load balancing, failover and fallback work?
    We were successful in getting failover working using t3://server1:7001,server2:7002 provider URL, but not load balancing or fallback.
    The fallback is working when it was connecting to server2 and if we kill server2, then it switches to server1, but not when server2 is still running while server1 comes back.
    All we need to find a way to enforce fallback to primary site, even if secondary which the client connected is still up and running and primary site comes back.
    Any help appreciated.
    Thanks.
    Best regards,
    Bala

    hi,
    Has anyone implemented WebLogic 10.3.3 (or 10.3.4) in a Non-Clustered environment, but also got load balancing, failover and fallback work?
    We were successful in getting failover working using t3://server1:7001,server2:7002 provider URL, but not load balancing or fallback.
    The fallback is working when it was connecting to server2 and if we kill server2, then it switches to server1, but not when server2 is still running while server1 comes back.
    All we need to find a way to enforce fallback to primary site, even if secondary which the client connected is still up and running and primary site comes back.
    Any help appreciated.
    Thanks.
    Best regards,
    Bala

Maybe you are looking for

  • NiRFSG_CheckGenerationStatus fails periodically

    Hello: I keep observing this strange effect once in a while with my 3 channel PXI-5673 system. Just to make it clear - I have yet to find a way to reproduce this problem. NI-RFSG 1.6.3. There are three generators, daisy chained. I set them to generat

  • MSSQLServer4 - Accessing columns from a select with the same name

    The following describes a problem I'm encountering using the MSSQLServer4 driver...I have the following 2 tables (greatly simplified): Create Table BOOK( BookId int, Name varchar(50), AuthorId int ) Create Table AUTHOR( AuthorId int, Name varchar(30)

  • BPM: ICWebClient Monitoring

    Hi Colleagues, I'm searching for information on ICWebClient performance monitoring. Anyone can tell me what tools we could use? Is there any "monitoring alert" in Solman BPM? I'm posting a similar thread in CRM Interaction Center forum. Regards, Rena

  • Accents not displaying in pdf reports

    We are currently using Oracle Application Server 10G 10.1.2.0.2 (Oracle Forms and reports) and moving to 11g database with a AL32UTF8 character set. Our forms call the reports and generate them in pdf format. Our problem is that the accents are not b

  • How to add search criteria to Query Reqion (11i RUP6)

    I'd like to get some directions on how to add a field that would be used in the search criteria when Go button is submitted. Thanks in advance