Hardware load balancing with session stickiness

Hello,
          We are looking for a hardware based solution to load balance 4
          unclustered weblogic servers. These servers are software replicas of
          each other and share a common database. We need a solution that
          provides session level server stickiness based on jsessionid as both a
          cookie and url rewrite. Currently we have Cisco load balancers which
          do not handle the url rewrite due to the fact the the load balancer
          only "sees" what is after the question mark in the url and the
          jsessionid is before the question mark. Example:
          http://somehost.com/some/url.jsp;jsessionid=26D5C566075663ABD8E17AD255974323?parm=value
          I'm sure we are not the only ones trying to do this. Any suggestions
          would be greatly appreciated.
          Thanks,
          Alan George
          

          Having worked on Cisco load balancer and WLS clustered, you would loose sessions
          when the requests are failed over.
          S
          "Shawn Kircher" <[email protected]> wrote:
          >
          >Has anyone got this type of scenario working where you load balance sticky
          >sessions
          >from a Cisco load balancer between non-clustered weblogic servers?
          >
          >Thanks,
          >
          >Shawn
          >
          >"Aravind Krishnasamy" <[email protected]> wrote:
          >>F5 or BigIp provides hardware level load balancing and it injects date
          >>inside weblogic cookie and maintains server affinity.
          >>Thanks
          >>Aravind
          >>"ageorge" <[email protected]> wrote in message
          >>news:[email protected]...
          >>> Hello,
          >>>
          >>> We are looking for a hardware based solution to load balance 4
          >>> unclustered weblogic servers. These servers are software replicas
          >>of
          >>> each other and share a common database. We need a solution that
          >>> provides session level server stickiness based on jsessionid as both
          >>a
          >>> cookie and url rewrite. Currently we have Cisco load balancers which
          >>> do not handle the url rewrite due to the fact the the load balancer
          >>> only "sees" what is after the question mark in the url and the
          >>> jsessionid is before the question mark. Example:
          >>>
          >>>
          >>http://somehost.com/some/url.jsp;jsessionid=26D5C566075663ABD8E17AD255974323
          >>?parm=value
          >>>
          >>> I'm sure we are not the only ones trying to do this. Any suggestions
          >>> would be greatly appreciated.
          >>>
          >>> Thanks,
          >>>
          >>> Alan George
          >>
          >>
          >
          

Similar Messages

  • Doubt on Hardware Load Balancing?

    Hi Community,
         I think there are two ways to perform the load balancing.One of them is proxy and other one is hardware load balancing.I have know something about the Proxy related Load balancing using Apache,oracle HTTP server and others.My question,I don't know about the single bit of Hardware load balancing,i refer the some sites but it is not benefits for  me.So please guide me to configure the hardware load balancing for my cluster..
    Regards,
    Ove..

    Hi,
    Find the document for configuring the hardware load balancer with Weblogic
    1.F5 load balancer
    https://www.f5.com/pdf/deployment-guides/bea-bigip45-dg.pdf
    2.Cicso
    http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Data_Center/App_Networking/weblogicdg.html
    http://www.cisco.com/en/US/solutions/ns340/ns517/ns431/ns432/net_design_guidance09186a0080908169.pdf
    Additional Info
    http://pauldone.blogspot.in/2013/04/load-balancing-t3-initial-context.html
    Best Load Balancing Hardware | TechSource
    Oracle Weblogic Server Administration: Load Balancing in Weblogic Server
    http://www.broadband-testing.co.uk/download/ZeusBEAWebLogic.pdf
    http://www.ateam-oracle.com/using-weblogic-as-a-load-balancer/
    Hope it helps

  • ACE 4710 and load balancing with sticky cookie

    Configuring load balancing with SSL termination and stickiness for a couple of citrix xenapp servers.  I'm doing a source-NAT as the ACE resides in the DMZ and these particular servers reside on the inside arm of the firewall.  The ACE is in bridged mode to load balance web servers that reside in the DMZ.  Everything seems to work just fine, but the cookie stickiness does not seem to be working.

    Hi David,
    As you may know, using Wireshark to look at an HTTPS capture is only useful if you've installed the server SSL key.This is why I find it easier to use something like LiveHTTPHeaders or HTTPWatch.
    When using cookie-insert, the ACE will not create any dynamic cookie entries.  It will simply create one static entry for each rserver with a cookie value, such as R3911631338, and any client that gets load balanced to that rserver will receive a cookie with that value.  So what you see there is what is expected.
    You are correct in that when using location cookies that the server supplies, the ACE will create a dynamic entry when it sees the server response with the cookie.   The cookie is included in the server's response, and the ACE will look for the value as configured.  The cookie will also be sent to the client.  If the cookie is not in the server's first response, you will need enable persistence-rebalance so that it will look in subsequent server responses.  If the browser opens new connections with that cookie, then the ACE will stick to the same server.
    My suggestion would be to get sticky working with cookie-insert first.  Then if that meets your needs, go with that permanently.  If you need to use server cookies, then once cookie insert is working, migrate your sticky to cookie location.
    Sean

  • Hardware Load Balancing Configuration and Session Clustering

              I would like to know where I can find any information on Hardware Load Balancing
              Configuration in order to leverage WLS HTTPSession clustering.
              Don Ferguson mentioned white papers on this subject however I can't seem to locate
              them.
              I am particularly interested in Cisco's 11000 Content Service Switch.
              Thanks.
              Mike Jones
              

    Scroll to the bottom of this link. It discusses how to configure Alteon and Big-IP.
              The principles should apply to Cisco as well, but we don't have documentation on
              configuring it, as far as I know.
              http://e-docs.bea.com/wls/docs61/cluster/index.html
              -Don
              Michael Jones wrote:
              > I would like to know where I can find any information on Hardware Load Balancing
              > Configuration in order to leverage WLS HTTPSession clustering.
              > Don Ferguson mentioned white papers on this subject however I can't seem to locate
              > them.
              > I am particularly interested in Cisco's 11000 Content Service Switch.
              >
              > Thanks.
              >
              > Mike Jones
              

  • CF 10 Load-Balancing with Remote Instances

    I was reading an article on Clustering/LB/HA using CF8, but have not found any updates for CF10.
    Using VM VirtualBox to setup a few virtual servers, I am looking to setup a load balancing of ColdFusion 10 on 2 remote instances. The goal would be have ColdFusion Cluster Manager be able to point http request to one of the two servers based on load/availability. Not really having a hardware cluster/failover setup, just managing resources on two CF instances instead of a standalone.
    The servers are Windows Server 2008 R2 with IIS7.5 and ColdFusion 10 Enterprise on installed on 3 of these machines. Let's call them CF-LBManager, CF-Web1, and CF-Web 2. In the CF Docs, they show the Cluster Manager adding the local CF instance and "if you want" a remote instance. However, this scenario would require the main instance to be running and not fail for it to direct to the other instance.
    I am trying to set this up now with CF-LBManager as just a manager of the requests coming in. In the Enterprise Manager >> Instance Manager, the local instance is shown and I add the two remote instances with the correct Remote Port, JVM Route, etc. I also made sure the <Cluster>...</Cluster> block was added to the two remote instances (CF-Web1 and CF-Web2) \runtime\conf\server.xml file too, Jetty Services also is running. Now under the Enterprise Manager >> Cluster Manager I add the two remote instances to the cluster, not the local instance on CF-LBManager with Multicast Port and Sticky Sessions enabled. On Submit, I get a green message "You must restart all the server instances and any configured webservers for these changes to take effect.". I go ahead and reboot the servers and come back.
    I now browse to the ColdFusion page as a test on CF-Web1 and CF-Web2 to make sure CF is running properly, they do. I then browse the IP of the CF-LBManager, however it only returns the local IIS web site and not redirect to one of the two cluster members. I am not seeing any message on the coldfusion-out.log on the remote instances. Am I not setting this up correctly or not enabling the Cluster Manager to take over and pass along the requests to those in the cluster?

    Unfortunatley I don't have a lot of experience with CF10 on Windows, but if you are running CF behind IIS I think  you will need to update the Tomcat connector configuraiton to do load balancing. I'm not sure if re-running the wsconfig tool on all of the servers will do this or not, but that is what I would suggest trying first. If that doesn't work you will need to update the Tomcat connector configuraiton manually. You can find more information on load balancing with the Tomcat connector here: http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html.

  • CISCO Load Balancer with SAP on Unix and Oracle

    Hello Experts,
    Explain me the steps How CISCO Load balancing Mechanism works with SAP Enterprise Portal?
    If anyone implemented and achieved the same,please explain me the steps to follow from Initial Stage to end of implementation.
    Or If you have any documentation on this just share with me or point me to the particular link.
    I have seen the below SAP help which is somewhat helpful.
    http://help.sap.com/saphelp_nw04s/helpdata/en/d3/e12840d89d185de10000000a1550b0/frameset.htm
    I would like to know how CISCO will connect to M/essage Server /Java Dispatcher.
    And explain me the steps to follow to implement External Facing Portal using Cisco Loadbalancer.
    This should be achieved in Unix environment.
    Any help would be greatly appreciated.
    Regards,
    Karthick Eswaran
    *Points will be rewarded for helpful suggestions

    We use F5 for loadbalancing, but all hardware loadbalancing solutions should similar. They offer multiple algorithms, we use simple round robin (SAP's webdispatcher has better options for load balancing). You create virtual IP to your CISCO loadbalancer. You then configure Cisco to route traffic to each portal application server. If you have CI + 2 appservers, you configure the loadbalancer to send traffic to cihost:port, appserver1:port, appserver2:port. You also create a DNS alias to the virtual IP of the loadbalancer. End users will use the DNS alias to connect your portal. Typically you use standard ports (80 & 443) on Cisco, so that end user URL does not contain any ports (so http traffic goes to port 80, https goes to port 443). You also need to enable cookie persistence on the load balancer for session persistence.
    For external facing portal, you need to have your loadbalancer in DMZ and you want to use SSL. You also need to setup firewall rules for your portal and backend servers.
    -RK

  • General Hardware Load Balancer question

    We are considering setting up a hardware load balancing configuration for Oracle Appliaction Server. I was wondering if anyone has any helpful infroamation about this, i.e. hardware vendor, ease of setup and configuration or any other helpful hints.

    As long as they fill your minimum requirements, they are kind of equally good. In my private opinion BIG IP is the best one could get, and I have had least issues with that Load Balancer. It's also very flexible and you can do all possible configurations with it.
    However, as I said as long as any Load Balancer fulfills your requirements (balance request, sticky/persistence, SSL termination?) they should be as good as well.
    Regards,
    Martin

  • Lync Server Front End 2 Hardware Load Balancer IP

    I currently have the following Setup.
    I only have 1 Hardware Load Balanced IP for my Front End Pool. 
    After running the Lync Planning Tool it actually states that i need 2 Hardware Load Balanced IP, 1 for internal and 1 for external. 
    My question would be would i be able to configure for mobility and external access with just using 1 Hardware Load Balanced IP? 
    Because i seem to have problem with connecting to the front end server based on the following scenario.
    Without Reverse Proxy Mapping (port 80/443 internet to port 80/443 reverse proxy to port 80/443 lyncpool frontend) 
    Internal Access (No Issue)
    Lync Mobile 2013 App (Can Connect and chat but intermittent connection) *gets disconnected if i access video/audio
    Lync Client 2013 Externally (Cannot Connect to Server) 
    https://meet.domain.com (working)
    With Reverse Proxy Mapping (Port 80/443 internet to port 8080/4443 reverse proxy to port 8080/4443 lyncpool frontend)
    Internal Access (No Issue)
    Lync Mobile 2013 App (Cannot connect)
    Lync Client 2013 Externally (Cannot connect)
    https://meet.domain.com (Not working)
    Would i actually need to have a additional front end pool IP for external access? or can i maintain it as it is? 
    I do not understand why without the mapping it can work whereas if i do the mapping according to technet article it won't work.
    Everything is running windows server 2012 R2 and Lync 2013, Loadbalancer / Reverse Proxy is the same F5 Appliance
    Any assistance on this is greatly appreciated.

    Hi Greg,
    I have been making use of it (https://testconnectivity.microsoft.com/) to test my autodiscover and remote
    access.
    Like i mentioned it is weird that without doing port mapping from 80/443 to 8080/4443 i was able to pass
    the autodiscovery and all but once i changed to the proper steps to do port mapping it stopped working. 
    and im not using TMG but using a F5 Hardware Reverse Proxy which also happen to be my Load Balancing Appliance. 
    Is there anyone who can help give me more details if i need 2 VIP for the front end ? 

  • Oracle 10g webcache as load balancer with Clusterware for HA

    Hi All
    I'm trying to put together a solution for my organisation to include a resilient load balanced setup without buying hardware load balancing kit. We are implementing an Oracle Forms based product from a software supplier on the Oracle 10g Forms & Reports Services platform v10.1.2.2.0. The intention is to balance the production load of the application across 2 identical Sun T2000 servers - each could support the full load independently if necessary. The servers are geographically separated for resilience. The supplier has recommended implementing Webcache on one of these T2000 servers as a load balancer - this works fine, but presents a single point of failure and no automatic failover.
    I have read an Oracle white paper explaining that Oracle Webcache as a load balancer can be made into a HA solution by using Oracle Clusterware. What isn't clear from the paper is this;
    1. Whether I need to have Webcache as a load balancer & Clusterware installed separately on a different pair of servers ?
    2. Can I simply configure Webcache for load balancing on both of my Sun servers and use Clusterware to failover the load balancing function from one server to the other if one fails ?
    Can anyone point me in the right direction with this please ?
    Many thanks
    Dean

    Just a quick answer, please:
    If you think about Oracle WebCache as a general application, you will find some useful Technical White Papers on http://otn.oracle.com/clusterware They will explain, how Oracle Clusterware can be used to protect any kind of application.
    In general, Oracle Clusterware and Oracle WebCache must be installed on the same set of servers (cluster nodes) in this case. Regarding the question of whether or not you can re-use your 2 SUN servers: It depends.
    Oracle Clusterware requires shared storage and a private interconnect. Your current infrastructure might need to be reviewed and enhanced in those regards, especially, since your servers are geographically separated as you said.
    Just some ideas. Thanks.

  • Load Balancing with forms server 10g

    Hello,
    i've a cliente which is right now processing a migration from a client-server 6i platform (using Terminal Servers) to a forms 10g web platform with several Application Servers 10g in standalone.
    At the end, client want to enable Load Balancing in order to have some manage at each Application Server load.
    The idea to accomplish is to have an hardware Load Balancer. The client already has a CISCO CSS 11503 SSL.
    Is there any documentation where i can check more info about the compatibility/configuration to this architecture.
    Thanks for your attention.
    regards,
    Pedro Ribeiro

    You can check this doc Link:[http://download.oracle.com/docs/cd/B14099_19/hpux.1012/install.1012/install/toc.htm]
    It say all about it, and don't mention nothing about a Load Balancer, but I'll try tokeep searching.
    Greetings.

  • Load balancing with JSP

    Anyone and everyone,
    When configuring load balancing with Weblogic clusters, does load
    balancing take effect for all services or just EJB and RMI? Or another
    way of saying the same thing, can I setup weighted load balancing for
    the JSP engines across 2 weblogic servers.
    Thanks in advance,
    Mike

    The load-balancing documentation you read describing the different algorithms only applies to RMI stubs (e.g., EJB clients). Please see http://www.weblogic.com/docs51/cluster/concepts.html#1026091 for a description of how load-balancing/clustering works with servlets/JSPs.
    The short answer is that in using servlet clustering, most people want/need/use in-memory replication for HttpSession objects. In WLS 5.1 (and before), in-memory replication requires one or more proxy servers be set-up in front of the cluster. Typically, most people use something like BigIP to load-balance
    across the proxy servers and let the weblogic plug-in for the proxy server handle the routing to the cluster. The plug-in uses round-robin until an HttpSession is established for a user, then it always tries to route to the server where the user's session is located.
    Hope this helps,
    Robert
    Brian Lin wrote:
    All,
    I have a quesiton here regarding load balancing with DNS round robin. As of Chapter Adminstration of Clustering Weblogic server, Weblogic can be configured to balance by weight. How about Weblogic handle weight based balancing after DNS round robin ip response? or just can choose one way instead of both?
    What's the big difference between choosing BigIP and software balancing (WL)?
    Brian
    "Wei Guan" <[email protected]> wrote:
    I don't think you can configure this load balancing in weblogic in current
    release. However, if you have Big-IP or LocalDireoctr, you can set up
    weighted load-balancing there. Otherwise, weblogic proxy will use DNS round
    robin to do the load-balancing between JSP engins.
    My 2 cents.
    Cheers - Wei
    Michael Yakimisky <[email protected]> wrote in message
    news:[email protected]...
    Anyone and everyone,
    When configuring load balancing with Weblogic clusters, does load
    balancing take effect for all services or just EJB and RMI? Or another
    way of saying the same thing, can I setup weighted load balancing for
    the JSP engines across 2 weblogic servers.
    Thanks in advance,
    Mike

  • Multihomed eBGP load balancing with 3 ISP's

    We currently peer with 2 ISPs using BGP in an active/failover configuration.  My company wants to move to a 3 ISP model where Internet traffic is split across the 3 providers so that bandwidth is equally distributed on outgoing traffic across our 2 /22 ARIN IP ranges.  This is from our 2 edge switches that have VSS.  
    Within my limited knowledge of BGP, I have determined that we could do load sharing pretty easily by adding multiple default routes and breaking up our /22's into /24 and advertising them that way.  However, I don't think this satisfies the request that downtime must be seamless, should one link drop.  
    Currently, our ISP's advertise default routes.  From the research that I've done, we could get close to load balanced links if we receive full BGP routes and community settings and definitions.  I'm nervous about this because it looks really complicated, and I don't want our AS to turn into a transit AS.  I've been told the same can be accomplished with only partial BGP routes and community settings and definitions.  
    Personally, I think we just need a WAN load balancer.  However, given the request, is there a thread out there that can explain this, or can someone discuss this requested scenario a little bit?  
    Thanks!

    Hi there
    First question would be what is the required reconvergence time for the applications using the Internet? Should an outage occur, when do they lose their state? Once you know that, you then have a target to aim for in terms of recovery
    With regards load-balancing, with BGP we are always talking inbound and outbound.
    The outbound solution is relatively simple - each ISP advertises a default route to your Internet edge router(s). Create an eBGP session from each edge router to the core, advertise the default route and redistribute into the IGP. Ensure the IGP cost to each BGP next hop is equal and you have ECMP for outbound routing.
    Inbound influence is usually via MED (not likely in this case given 3 ISPs), adjusting local-pref in the ISP via BGP EXT communities configured your end, or via AS-PATH prepending for longer prefixes from your /22. Prepending would be simplest, but your unlikely to get an exact inbound traffic split, however a relatively even distribution should be sufficient. 

  • Load Balancing with BigIP / SSL question

    I have an oddball question. We're load balancing ColdFusion
    MX7 across 3 servers using a BigIP load balancing server. We
    decided to go the hardware approach and it has been great except
    for one small configuration issue.
    We use a mix of SSL and non SSL pages, prior to the switch
    from a single server to a load balanced setup I used to script that
    would determine if a page that was supposed to be SSL had the
    variable CGI.HTTPS turned on or off. If it was off, the page would
    redirect back to itself with the SSL turned on.
    The problem we have is that we followed BigIP's instruction
    to secure the load balancing hardware instead of the three servers
    running behind it. So what happens is that the traffic goes to the
    load balancer port 441, but then the calls from the load balancer
    to the individual servers is port 80. So even if a page is called
    as HTTPS://... the coldfusion server says that CGI.HTTPS is "off"
    since the traffic is port 80.
    This isn't much of a problem, our SSL pages are linked as
    HTTPS:// and the only problem would actually arise if someone was
    to type in the URL and call it as HTTP rather than HTTPS.
    My questions is this, does anyone know of a way that I can
    detect if the page should be HTTPS and is not without changing our
    configuration and putting SSL certificates on each individual
    server?

    Hey,
    Well the load balancing with the BigIP device is really very
    amazing. I think
    what i liked most was swapping out servers when their lease
    was up, through the
    BigIP manager I just stopped all traffic to a server, shut it
    down, plugged in
    the new one and turned traffic back on. It was really very
    easy.
    The SSL stuff still gives me a headache to think about. but
    I should mention I
    no longer work where I was, plus now I'm all .net C# but
    that's a different
    story.
    I think if I was going to do this all again I would not have
    secured the bigIP
    unit. It was nice to buy one SSL cert for all the servers I
    attached rather
    than one per server, but getting the SSL sites to work
    properly was a headache.
    We also use windows file replication where now I would go
    with like a pair of
    Dell MD1000's mirrored for storage and just have tons of ram
    and cpu on the
    front end units. Depends what you want to spend I guess. I
    think the bigIP unit
    we bought was like 20 grand, i think they are cheaper now
    though.
    Hope I helped.

  • How does load-balancing with WebCache work - is there still a bottleneck?

    Hello,
    We're migrating an old Forms 6i app to 10.1.2.0.2 (apps servers = Redhat Linux), and are starting to consider using WebCache to loadbalance between two application servers.
    My question is this - say we have apps servers A and B, both running Forms and Reports Services. We use Webcache on server A (don't have the luxury of a third apps server...) to load balance between A and B. So all initial requests come into A, which in some cases may then be diverted to start a new Forms session on B.
    For those users whose middle-tier sessions are now running on B - will all network traffic for their Forms session continue to be routed through Webcache on A, then to B, over the course of the session? Or does Webcache somehow shunt the whole connection to be straight between the client PC and server B, for the duration of that Forms session?
    If the former, does that mean that the server hosting Webcache can still be a significant bottleneck for network traffic? Have people found load-balancing with Webcache to be useful..?
    Thanks in advance,
    James

    Hi gudnyc,
    Thanks for posting on Adobe forums.
    For HDPI you do not have to do any It will adjust automatically.
    http://helpx.adobe.com/photoshop-elements/using/whats-new.html
    Regards,
    Sandeep

  • Coyotepoint E350 and OracleAs 10g Hardware Load Balancing SSL

    Hi:
    Has anyone been successful using a CoyotePoint E350 with XCEL SSL accelerator card and OracleAS 10g with SSL to hardware load balance an HTTPS site?

    You're on the right track adding the SSL certificate to the Load Balancer. I'm not really sure what you mean 'without the use of Webcache'? However, if I had the choise, I'd always add the certificate to the Load Balancer.
    A good document setting up a load balanced environment is the Enterprise Deployment Guide. Chapter 8 describes the tasks for a Forms environment.
    Regards,
    Martin

Maybe you are looking for