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

Similar Messages

  • 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

  • HTTP logs not created when using software load balancer

    This is my setup:
    1. I have a server running a software load balancer - call it A
    2. There are two servers clustered under A - call it X and Y
    3. I am able to access the application deployed on X and Y through A.
    Fail-over also works. Shutting down X when the application is up and running routes the requests to Y and vice-versa. All is well until this point.
    Problem is:
    Let us take server X.
    $ORACLE_HOME/Apache/Apache/logs does not have an access log in it. (It
    however has an error log.)
    Access logs are not created when accessing the servers in the cluster (X and Y) through the load balancer URL.
    However, when accessing the individual servers in the cluster (with their URLs), access logs are created.
    Specifics on the setup:
    1. A, X, Y - all three are OAS 10.1.3.2
    2. All three are deployed on individual server machines
    3. All three servers have one OC4J instance each running in them
    4. The software load balancer used is from WebLogic 8.1sp5 - basically to create a *.war file that has the details of X and Y (servers in the cluster)
    5. This *.war file is deployed on A
    6. Server A, the one that has the software load balancer, DOES NOT have AS control. One of the other servers in the cluster does.
    Has anybody encountered this problem before? Or is there anything wrong
    with the setup? What is the resolution for the same?
    Any help is greatly appreciated.
    Thank you.

    Thank you, Jacco. You are right in saying that the software load balancer does not route the request to Apache and hence the logs are not created.
    While the logs are not critical to the component we are working on, was just wondering why they were not being created.
    As regards your comment on FastCGI, there is a FastCGI directory created under $ORACLE_HOME/Apache/Apache/logs - but there is nothing in it. Neither do the error logs have any information pertaining to FastCGI.
    Anyway, I am not going to worry about this issue anymore - may be sometime in the future will try to use a different software load balancer and see if it makes any difference.

  • Software load balancer

    Hi,
    os platform= oracle linux
    database = 11g 11.1.0.7
    apps = 12.1.2
    regarding choosing load balancer which load balancer is good for Ebusiness suite instance
    Hardware level or software level
    kibndly advice

    If we want to go with hardware level do we have to do something with Apache loadbalancer or skip that step?Which configuration you are planning to go with? You still need to do configuration changes at the application tier nodes.
    If we choose Hardware level load balancer its configuration has few steps compare to software level ?Going with hardware load balancer still requires many changes and configurations at the application tier nodes as well as the hardware load balancer and I would say the steps are not less comparing to software load balancer.
    what is the major difference between hardware level and software levelI believe this is not answered in any of the docs/links referenced above, so please log a SR to get the correct/proper answer.
    Thanks,
    Hussein

  • OCS on a cluster with Load balancing and fail safe environment

    Dear all,
    i want to ask is there any documat or hints on how to do an OCS R2 installaiotn on 3 server with RAC option (clustered Fail Safe), how can i install OCS on a cluster with Load balancing and fail safe environment.
    plz i need ur help
    thanking u
    [email protected]

    Dear all,
    i want to ask is there any documat or hints on how to do an OCS R2 installaiotn on 3 server with RAC option (clustered Fail Safe), how can i install OCS on a cluster with Load balancing and fail safe environment.
    plz i need ur help
    thanking u
    [email protected]

  • CF8/JRun4 Cluster for Load Balancing

    Does anyone have an example of how to set up a CF8/JRun4
    cluster for load balancing?
    I have three servers:
    x004 - Linux - Apache2 (10.0.0.54,10.1.0.54)
    x020 - Linux - JRun4/CF8 (10.0.0.70,10.1.0.70)
    x021 - Linux - JRun4/CF8 (10.0.0.71,10.1.0.71)
    Every server in our network has two network cards. One
    network card is attached to 10.0.x.x which has a gateway to the
    internet and runs at 100Mbps and is firewalled, and the other is
    attached to 10.1.x.x which runs at 1Gbps and is internal with no
    gateway. I'm trying to set it up so web traffic arrives on
    10.0.0.54 into Apache and mod_jrun20 bootstraps a cluster named
    STST using 10.1.0.54 which consists of STST_x020 coldfusion server
    running on x020 and STST_x021 running on x021. I want the
    communications between JRun4 on x020 and x021 to occur on the
    10.1.x.x network and eventhough JRun and ColdFusion will only use
    the 10.1.x.x network I still need the 10.0.x.x network card
    attached for other purposes which require a gateway. I have
    installed JRun4/CF8 about 10 times already and it seems I have no
    control over what network JRun4 clusters on... sometimes it will
    communicate on one, sometimes the other and without being able to
    set which network is being used there always seems to be "network
    error" on at least one of the two CF8 servers. I was able to get
    everything working fine by disabling the network cards on the
    10.0.x.x network and re-installing everything... but as soon as I
    added the network cards back the whole thing was broken again.
    How is this supposed to work? Most of the examples are either
    no clustering or clustering on the same machine with Apache running
    on the same box... I don't see any clustering across machines
    examples.
    How do I install a connector on a web server which doesn't
    have JRun on it and get wsconfig to connect to a multi-machine
    cluster when wsconfig only accepts a single IP address as a host
    and the cluster is not listed?
    How do I get JRun to bind to a specific network card?
    Does this work if I choose a J2EE server other than JRun?
    Any help anyone can provide is greatly appreciated. I'm
    getting close to giving up which means staying on the non-clustered
    environment and figuring out how we can deal with scalability by
    switching to something else.

    The article at
    http://www.adobe.com/go/1e8e9170
    is specific to configuring two or more cluster nodes that reside on
    separate networks, e.g. 10.0.1.0/24 and 10.0.2.0/24. (The article
    doesn't state it, but you can only use unicast peers if your
    cluster nodes host a single instance of JRun or multiple instances
    of JRun in the same cluster domain. When performing unicast
    discovery, JRun looks for all Jini groups and not just the cluster
    group.)
    Anyhow, that's not your problem. The simplest solution is you
    haven't enabled the jrun.servlet.jrpp.JRunProxyService service. I'm
    most familiar with the Windows version of JRun, but I'm assuming
    the directory structure is similar across platforms. In
    <jrun_root>/servers/<name>/SERVER-INF/jrun.xml, set the
    deactivated attribute of the jrun.servlet.jrpp.JRunProxyService
    service to false and restart JRun. You should now see JRun
    listening on the appropriate port. (The default for the first
    manually created instance is 51000.) You can limit the proxy
    service to a single interface using the interface attribute.
    If you have enabled the proxy service, verify your security
    settings in <jrun_root>/lib/security.properties. It's usually
    best to limit access to specific hosts. Comment out the
    jrun.subnet.restriction parameter and set the jrun.trusted.hosts to
    the IP address of your web server, e.g. 10.1.0.54.
    Forcing all JRun processes/services to listen on a single
    interface isn't difficult, but it does require modifying quite a
    few configuration files by hand. If you need assistance with that,
    I can elaborate.
    Configuring the JRun module under Apache is pretty
    straightforward. If you're not using virtual hosts, it's very
    simple. If you are using virtual hosts, it's still simple, but your
    JRun configuration can be virtual host-specific.
    On your Apache server, you'll want to create a directory
    structure for the JRun module. I'll assume
    /opt/jrun/lib/wsconfig/1, but you can use anything you want. Once
    the directory structure is created, extract the appropriate JRun
    module from wsconfig.jar to the new directory. You're most likely
    interested in the Apache 2.0 module,
    wsconfig.jar/connectors/apache/intel-linux/prebuilt/mod_jrun20.so.
    Let's assume you've extracted the module to
    /opt/jrun/lib/wsconfig/1/mod_jrun20.so. Your Apache service account
    should have read, write, and execute permissions on the
    /opt/jrun/lib/wsconfig/1 directory.
    The JRun module configuration is normally appended to your
    current httpd.conf file by wsconfig. Here's a sample configuration:
    LoadModule jrun_module
    "/opt/jrun/lib/wsconfig/1/mod_jrun20.so"
    <IfModule mod_jrun20.c>
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ssl false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore
    "/opt/jrun/lib/wsconfig/1/jrunserver.store"
    JRunConfig Bootstrap 10.1.0.70:51000
    #JRunConfig Errorurl <optionally redirect to this URL on
    errors>
    #JRunConfig ProxyRetryInterval 600
    #JRunConfig ConnectTimeout 30
    #JRunConfig RecvTimeout 30
    #JRunConfig SendTimeout 30
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
    .cfswf
    </IfModule>
    You may also want to update your DirectoryIndex directive
    with an appropriate index page, e.g. index.cfm.
    After the first request to a page handled by the JRun module
    is received, the module will query the boostrap server,
    10.1.0.70:51000, for a list of cluster peers. If you've configured
    your cluster correctly, a line similar to following will be written
    to /opt/jrun/lib/wsconfig/1/jrunserver.store:
    proxyservers=10.1.0.70:51000;10.1.0.71:51000
    You can create/edit this file manually as well.
    Unfortunately, the bootstrap option only accepts one server. If
    your bootstrap server is down, the JRun module will use the values
    in jrunserver.store directly, if the file exists.
    Here's a complete list of JRun module options:
    metrics *
    debugger *
    ssl *
    verbose
    traceflags
    serverstore
    bootstrap
    errorurl
    apialloc
    ignoresuffixmap
    proxyretryinterval
    connecttimeout
    recvtimeout
    sendtimeout
    sslcalist
    Options flagged with an asterisk can only be configured at
    the Apache server level. All other options can be configured at the
    server level and/or the virtual host level. The usage of these
    options is in the JRun documentation, and the JRun module source
    code is included in wsconfig.jar. Keep in mind that versions of the
    JRun module shipped prior to ColdFusion 8 were coded to assign the
    connecttimeout and sendtimeout options to the socket connection
    timeout. Whichever option appeared last in your configuration ended
    up as the final value. This has been fixed in ColdFusion 8 and
    presumably the next release of the JRun updater.
    I think that's a good start. If you need more information or
    can't find what you need in the JRun or ColdFusion documentation,
    let me know.
    If you're looking for resiliency, I highly recommend
    expanding your configuration to include a second web server and a
    hardware load-balancer (preferably one that supports redudancy via
    multiple paths and devices, e.g. devices from Cisco, F5, or Foundry
    Networks). Often, however, running Apache on the ColdFusion
    server(s) provides adequate performance, and round-robin DNS
    records coupled with the ability to update DNS quickly in the event
    of a failure may be all you need for load-balancing and
    failover.

  • How to setup Adobe Media Server Professional x 2 run as cluster for load balance?

    How to setup Adobe Media Server Professional x 2 run as cluster for load balance?

    Hi,
    Welcome to adobe forums,
    Please refer to these help files in order to setup AMS as a cluster : https://helpx.adobe.com/adobe-media-server/config-admin/load-balancing.html
                                                                                                                https://helpx.adobe.com/adobe-media-server/tech-overview/scaling-server.html
    Let me know if you need any help.
    Regards,
    Puspendra

  • Validation required on software load balancing

    We have created software load balancing between two web servers with 80/20 load shared in SP 2013 farm configuration. How could we validate this is working as disired while user access the site. Is there any there any monitoring tool auilable to monitor
    this.

    Hi TanGrren,
    Software loadbalancing, you mean NLB which come by dafault on windiows server?
    if ther is any other third party software then they would have the option to show the load. (if possible please name the software which is being used)
    If not i would rely on Perfmon (performance monitoring)and place some pointers on the URl and get the stats.       
    Satyam

  • How to configure software load balancer for R12.1.3

    Dear All,
    I need to configure software load-balancer on application tiers and i need to know if its possible to have a software load-balancer in place of hardware load balancer if i need to route the load on two application nodes.
    Thanks !

    As we do not certify, nor support 3rd party loadbalancers we can not confirm that the Piranha loadbalancer will perform as expected with EBS. The basic minimum requirements or loadbalaning is that it has death detection, and session / cookie persistence We also typically require that a hardware loadbalancer is used. Internally we use F5 loadbalancers, and Cisco ACE.
    What are the limitations of a software load balancer compared to hardware ? As mentioned above, your software balancer should has the capability of "death detection, and session/cookie persistence" -- More details can be found in (Implementing Load Balancing On Oracle E-Business Suite - Documentation For Specific Load Balancer Hardware [ID 727171.1]).
    Oracle Web Cache can be used as a software load balancer (which is an Oracle product), but Oracle recommends you do not use it in production instances.
    Thanks,
    Hussein

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

  • Distributed HA cluster with load-balancing and failover: advice?

    My workplace has a Xeon Xserve, which acts as our primary external server, with an attached ActiveStorage XRAID. We have just purchased a second Xserve/XRAID set to act as a mirror, which we will colocate. Both have Leopard Server installed, along with an array of additional software.
    What we want to do is have both servers load-balance between the two, with failover in case of a server or XRAID fault. I plan on using RSYNC to mirror static files between the two, and I'm looking into PostgreSQL replication and load-balancing solutions for our database. I gather that Apache supports web-server failover and load-balancing, as well. But, that still leaves the actual host and network setup to arrange.
    Does Leopard server support such a thing? The only information I found on IP failover instructs the user to place the two servers on the same subnet, directly connected via ethernet cable; obviously, this would not work in my case.
    Ideally, what we'd end up with is a situation in which the two systems kept each other in sync, both in static files and database data, and load-balanced between themselves; in cases of failure, the remaining system would transparently assume all duties until the other was restored, at which time they would resynchronize
    Any suggestions on how I could arrange such a thing?

    Interesting. Does this DNS-based approach support session tracking, though? I would need to have a user directed to just one of the two servers for the duration of their session, to avoid having to synchronize temporary files and such.
    You can't have it both ways. You need to build tolerance into the app.
    At the simplest level where you run all traffic to one site and use the second site as a failover/standby site you'll be OK most of the time - all users will go to the same server and their sessions will be intact.
    However, under any failover situation (your primary site is down for some reason), there is going to be some level of session traffic that it going to switch over to the other site. If your site depends on sessions then you're going to need to tolerate this kind of situation - your app will need to be able to fail gracefully if a user comes in with an invalid session cookie.
    Note, though, that this may be less of an issue than you at first think - all DNS clients will cache DNS data for whatever TTL you set. This means that if a user looks up your site name and you return an IP address with a 30 minute TTL, then that user is going to use the same IP address for the next 30 minutes and isn't going to ask the server again. This should negate most chance of a user suddenly switching from one server location to the other in mid-session.
    The trick comes in setting the DNS TTL low enough to effect a failover, yet not so long that you impact performance - e.g. you don't want the user to perform a DNS lookup on every page load. You may find that 10 minutes is appropriate. Just bear in mind that this affects how long a user could see your site 'down' before the failover DNS kicks in. Clearly you don't want to set the DNS TTL to a day since that may prevent the user switching to the secondary site for 24 hours by which time, hopefully, the primary site is back up, anyway.
    The 'right' TTL value may take some analysis on your traffic to see how long a typical user 'session' is. If the average user spends 20 minutes on your site, then it would make sense to set your TTL to somewhere around 20 minutes to give the best chance of their entire session staying on the same server.

  • OAM 11g integration with Kerberos on cluster with load-balanced virtualhost

    Hello!
    I need to make a Kerberos integration with OAM.
    I find following notes about OAM 11g: WNA Configuration for HA Clusters [ID 1365888.1] (https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=223640518878014&type=DOCUMENT&id=1365888.1&displayIndex=1&_afrWindowMode=0&_adf.ctrl-state=14ehvbh4z2_61).
    "In an OAM Clustered environment, the OAM Principal for WNA must be the same on all tiers i.e. the load-balanced virtualhost for the OAM cluster.
    Therefore each OAM managed server will reference the same keytab file, generated for Principal HTTP/<virtualhost.domain>, and the keytab file will be in the same location on all OAM managed servers.
    For example: ${DOMAIN_HOME}/domains/${DOMAIN_NAME}/config/fmwconfig/oam/<keytab filename>.
    After copying the keytab file to the same directory on all OAM managed server machines, complete the configuration of the Kerberos authentication module in OAM Administration Console (/oamconsole).
    The AdminServer will ensure that the oam-config.xml file on all OAM managed server tiers in the cluster is updated with this configuration."
    The question is; When I generate oam.keytab with following command, What is the name of the server that I will must put in the command? Virtualhost (load-balanced), Node1 or Node2?
    ktpass -princ HTTP/<servername>@DOMAIN -pass XXXXXXX mapuser DOMAIN\user -out oam.keytab.
    Thanks in advance and best regards!
    PS: Sorry if my english is not clear.

    David,
    Your Principal name should be the SSO LB URL.(ie :sso.mycomany.com)
    ktpass -princ HTTP/sso.mycomany.com@DOMAIN -pass XXXXXXX mapuser DOMAIN\user -out oam.keytab.
    Also make sure sso.mycomany.com has a reverse DNS configured correctly.
    you can check using dig command
    ping sso.mycomany.com
    What ever the ip-address
    dig -x <IP-ADDRESS>
    Check in the reverse DNS section there should be 1 record.
    ;; ANSWER SECTION:
    1.1.1.1.in-addr.arpa. 3600 IN PTR sso.mycomany.com.
    Let me know if you have more questions.
    Thanks
    Saurabh

  • OCS 10g Cluster Installation  - Load Balancing

    Hi all,
    Anybody have sucessfully install and configure OCS 10g Cluster ?, with load balancing ?
    I'm trying to install OCS 10g cluster with a two node server setup, and using Oracle web Cache as the load balancer, but not sucessfull. Any hints ?
    Regards
    Lanang

    Just found out that Oracle Web Cache support HTTP and HTTPS only, no LDAP traffic yet. That why the cluster node installation failed. Trying using iptables NAT for the LDAP traffic, and the HTTP will use web cache.
    Regards
    Din

  • OBPM Enterprise Deployment on WLS - No Cluster, But Load Balanced

    All,
    Does anyone know of any gotchas when deploying BPM to WLS on 2 separate nodes, sharing the same directory, but not clustered. The system is load balanced based on F5. Basically we are talking a hot server/cold server deployment.
    When we deploy projects, they default to the hot server even if the cold server is specified for deployment.
    Anyone done this before?
    TIA,
    IGS

    Hi,
    Sorry, but I could not understand completely your architecture.
    Are you talking about the Workspace (not clustered but load balanced). That's supported.
    Or, are you trying to load balance the engine? (a single engine with 2 or more nodes)
    If so.... I wouldn't recommend that you to do that.
    Let me explain you why.
    The engine uses the queue to balance the work among the different nodes. (that's why you have to configure a Distributed Queue and disable the server affinity in the connection factory).
    Even more, the engine has some internal mechanism of synchronization among nodes so as to avoid some inter-node locking. If your engine nodes are not in a cluster, that mechanism will be disabled and the overall engine performance will be significantly degraded.
    I'm not sure if I have answered your question. If not, please add more details of your configuration.
    Hope this helps,
    Ariel

  • Question about Cluster/DSync/Load Balance

    According to the admin doc of iplanet, primary server is
    the "manager" for data sync, is there any impact on
    load balance when the iAS run as primary or backup?
    will the primary kxs get the request first and do dispatching?
    Thanks.
    Heng

    First of all lets discuss load balancing....
    The type of load balancing you are using will determine which process manages the load balancing. If you are using Response time (per server or per component response time) or round robin (regular or weighted) the web connector does the load balancing. If you are using User Defined (iAS based) load balancing then the kxs process becomes involved with load balancing of requests since the "Load Balancing System" is part of the kxs process.
    Now for Dsync and how it impacts load balancing.
    When a server is a sync primary or a sync backup role it is doing more work. For the sync primary the extra work is making sure the backup has the latest Dsync Data and processing requests from the other servers in the cluster about the Distributed data. All state/session information is updated/created/deleted on the sync primary, when this happens the sync primary immediately updates the sync backup(s) with this new information. As you can guess managing the Dsync information and making the updates to the sync backups causes extra processing on the sync primary, so this will impact the overall performance of the machine (whether it be in server load or response time of processing). All lookup of state/session information is done on the sync primary only so the more lookups/updates you have to more impact on the server.
    The sync backup(s) also have the extra work of managing their copy of the Dsync Data which will impact server performance but to a lessor degree of the sync primary.
    Ultimately the extra overhead involved does have an impact on loadbalancing due to the extra load on the sync primary and sync backups.
    Hope that helps,
    Chris Buzzetta

Maybe you are looking for

  • CS5 Encore Animated Menu Rendering Problem

    Anybody who could help! I am still experimenting but haven't find the solution (either very simple, or a serious bug ). Here is the problem: If I do any edit on the menu after setting the poster frames and/or inserting a motion (avi) or still (wav) b

  • RAC Oracle 10.2.0.1 - Turning off software raid.

    Hello to everyone ! I have a RAC installed on Windows Server 2003 Oracle 10.2.0.1. with ASM option. I am running out of space and need to free some. My database is 230 GB but my storage space is about 500 GB. I have used all the space with my tablesp

  • Linux Partitions  - tmpfs

    We have installed oracle linux 5.x using the custom partitioning and the OS installation was successfully completed and we were able to access the Linux OS without any issues. But, while observing the /etc/fstab file, it has an additional partition e

  • Acrobat 8 quitting unexpectedly upon manual quit

    I'm running Adobe Acrobat 8.1.2 on Mac OS 10.4.11 with plug-ins for Fusion Pro, PitStop, and Kodak Prinergy. Every time I quit Acrobat, instead of quitting normally and saving all of my settings, it gives me a "the application Acrobat has quit unexpe

  • Warehouse Builder Installation

    Hello, I would like to know whether if I install Oracle Database 10 Rel 2, select database option as Warehouse, do I need to install warehouse builder 10g again? Or I need to seperately install wb again? Kindly someone provide some insight. Regards