Load Balancing multiple web servers

Hi All:
I need to load balance 2 different web servers using sticky connections on a LocalDirector 416.
I need to use cookie-passive mode, which of course relies on a cookie set by the web server.
Problem: The name of the session cookie is different on each web server (IIS) and I'm not sure that I can change it.
Question: What do I pass to the sticky command as the name of the cookie?
Any ideas?
craig

fortunately the cookie are different on the 2 servers otherwise this feature would not work.
The value you enter after the keyword cookie-passive is a 'name' and can be whatever you want (you can also leave it blank/empty).
The LD will learn the cookie directly from the server.
See the documentation at :
http://www.cisco.com/univercd/cc/td/doc/product/iaabu/localdir/ldv42/421guide/42ch05.htm#xtocid8565101
I hope this answer your question.
Gilles.

Similar Messages

  • Load balancing multiple J2ee servers - each running it's own CI

    Is it possible to load balance multiple J2ee servers(running Portal), both running it's own Central Instance?
    We do not have the resources (SAN storage) to implement MSCS for Portal...so instead we want to use two complete Portal servers HW load balanced with the ability to keep running in case one fails.
    thanks for any info !
    Linwood

    Hi Linwood,
    in a nutshell, the difference between an ordinary J2EE server instance and the central instance are the central services. The central services (enqueue server, message server) are only needed once. Basically, they are required for the communication between the server instances (and to the load balancer). What you should go for is a cluster installation with one central instance and another ordinary server instance (both running the SAP NetWeaver Portal). But be aware that you have to use the same database for both server instances (otherwise you cannot guarantee consistent data).
    For load balancing the two server you can use the SAP Web Dispatcher  or any other load balancer tool you like. 
    You will find more and detailed information on load balancing in the SAP Library. Have a look into section <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/611724f410254ca12a3f396ec5ae85/frameset.htm">Java Cluster Architecture</a>.
    Hope I could help!
    Best regards,
    Martin

  • Load balancing of web servers in Siebel Analytics v 7.7.1?

    Hi Experts,
    Can we load balance the Webservers in Siebel Analytics 7.7.1 version? If Yes, can you please give me the steps how to setup this?
    Thanks,
    Madhukar

    Hello Mr. Tripathi ,
    Option 2 is the more typical way to increase capacity.   Of course you can also increase capacity by simply adding additional server nodes to a single instance.  if you are trying avoid downtime due to loss of one of the application servers, option 2 will still work.  Just because the primary application server goes down does not mean the secondary will become unavailalbe.  There are some cases where the secondary server could be interrupted, such as if the jms provider was on the primary instance, but there is an automatic fail-over of jms provider and other funcionality such as user sessions.
    I think option 2 is the most easy to implement for you.  Having 2 seperate systems  access the same database could cause some complications with DB locking which are hard to troubleshoot.
    Regards,
    Nathan

  • Recommended configuration for load balanced Portal with load balancer, multiple gateways and multiple servers.

    Does anyone have a recommended network, hardware and software configuration guide for a Portal installation running with multiple gateways load balanced (ie one URL) that talk to multiple servers?

    David,
    We've used Resonate (software) to load balance the gateways. It allows
    you to group all the gateways under 1 virtual URL and load balance the
    incoming connections over each gateway depending on the rules that you
    define in Resonate. Look in the SUN portal whitepapers there is one that
    talks about it specifically.
    As far as load balancing the calls to the portals, the gateways will
    automatically load balance across all the portals that they know about
    using a simple round-robin rotation. You may be able to use Resonate in
    front of the portals but you may need to activate persistance within
    Resonate to ensure that the user always ends up on the portal that he
    established his initial connection on (if you want that), check with Sun
    on this one.
    David Broeren wrote:
    Recommended configuration for load balanced Portal with load balancer,
    multiple gateways and multiple servers.
    Does anyone have a recommended network, hardware and software
    configuration guide for a Portal installation running with multiple
    gateways load balanced (ie one URL) that talk to multiple servers?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Advantages of using a webserver inbetween a load balancer and application servers

    I am building out a new weblogic domain.
    I am wondering which one of these configuration to go with:
    1. Load balancer > weblogic servers
    2. Load balancer > web server > weblogic servers
    Could someone tell me what are the specific advantages of having web servers inbetween a load balancer and application servers (besides caching static data content and acting as a proxy)?
    Thanks in advance
    Srini

    Other than hosting the static content, nothing much really.   We have our load balancer go straight to WL for applications without static content and route to web server if there is static content.   Easy enough to do it both ways, best of both worlds.

  • Load balancing SMA web service and SMA end point URL

    Hi,
    We have set up the recommended 3 servers with Azure Pack, SMA Web Service and Runbook Worker.  We are now wanting to configure the Azure pack portal to setup the SMA endpoint url for the web service.  Before we do that, we are assuming we should
    load balance the web services to answer on 1 url (ie, smaws.domainname.com).
    1. Is there any guidance or things to consider when load balancing the 3 web services to answer to 1 url.  We will probably use f5 since that is what we use.
    2. The end point url that we configure for Azure Pack automation should be this load balanced URL correct?
    3. Should we have the Azure pack installed on just one of the servers or all 3.  We did all 3 but it seems like server2 and 3 just redirect to 1 anyway so I am assuming the URL for Azure pack is stored in a db somewhere.
    4. Are there any other components of SMA/Azure Pack that should also be load balanced?
    Thanks
    Thanks Lance

    So in this case you need to register the SMA Runbook Workers (do this on machine 1):
    $webService
    = "https://localhost"
    $workers
    = (Get-SmaRunbookWorkerDeployment
    -WebServiceEndpoint
    $webService).ComputerName
    if($workers
    -isnot [system.array]) {$workers
    = @($workers)}
    $workers
    += "MachineName2"
    $workers += "MachineName3"
    New-SmaRunbookWorkerDeployment
    -WebServiceEndpoint
    $webService -ComputerName
    $workers

  • Load balance multiple URLs on single VIP

    Hello,
    I have a fairly typical load balance configuration on a pair of ACE appliances running (A3)2.5 and now I need to load balance multiple URIs to these same servers on port 80 to the one VIP. Can someone direct me to a doc that shows a good example of this, or explain it below?
    Thanks,
    Dave
    serverfarm host application
    rserver webserver1 80
    probe server-80-PROBE
    inservice
    rserver webserver2 80
    probe server-80-PROBE
    inservice
    sticky ip-netmask 255.255.255.255 address source application-80-STICKY
    replicate sticky
    serverfarm application
    class-map match-all application-80-CLASS
    2 match virtual-address 1.1.1.1.1 tcp eq www
    policy-map type loadbalance first-match application-80-POLICY
    class class-default
    sticky-serverfarm application-80-STICKY
    insert-http X-Forwarded-For header-value "%is"
    class application-80-CLASS
    loadbalance vip inservice
    loadbalance policy application-80-POLICY
    loadbalance vip icmp-reply
    nat dynamic 22 vlan 424
    appl-parameter http advanced-options CASE_PARAM

    Sean,
    Maybe a little confused.
    I have built the new serverfarm, policy-map and class-map in bold, I am just not sure how it gets referenced. Do I add it to the multi-match class statement?  My complete config for this particular app is below.
    Thanks,
    Dave
    serverfarm host application-80
      rserver server1 80
        probe server-80-PROBE
        inservice
      rserver server2 80
        probe server-80-PROBE
        inservice
    serverfarm host application-L7
      rserve rserver1 80
        probe server-80-PROBE
        inservice
      rserver server2 80
        probe server-80-PROBE
        inservice
    class-map match-all application-80-CLASS
      2 match virtual-address 1.1.1.1 tcp eq www
    class-map type http loadbalance match-any application-L7-CLASS
      3 match http url /uri1/
      4 match http url /uri2/uri2
      5 match http url /uri2/uri3.htm
    policy-map type loadbalance first-match application-80-POLICY
      class class-default
        sticky-serverfarm application-80-STICKY
        insert-http X-Forwarded-For header-value "%is"
    policy-map type loadbalance first-match application-L7-POLICY
      class application-L7-CLASS
        serverfarm application-L7
    policy-map multi-match POLICY-424
    class application-80-CLASS
        loadbalance vip inservice
        loadbalance policy application-80-POLICY
        loadbalance vip icmp-reply
        nat dynamic 22 vlan 424
        appl-parameter http advanced-options CASE_PARAM

  • URL Load Balancing through Web Dispatcher

    Dears,
    We are facing heavy load on our portal server.
    We are planning to installed one J2ee Dialog instance for it.
    Please suggest how can we configure Url Load Balancing through Web Dispatcher.
    Regards,
    Shivam

    HI Shivam,
    While installing webdispatcher you provide Hostname and http message server port of j2ee of CI .
    So , webdispatcher communicate directly with message server, where message server check which application server is free and hence forward the request to that specify application server of j2ee instance.
    Pls find the below link for configuring webdispatcher
    http://help.sap.com/saphelp_nw04/helpdata/en/42/5cfd3b0e59774ee10000000a114084/content.htm
    Thanks
    Anil

  • Cisco Load balancer and Web Dispatcher to the same portal

    Hello Experts,
    We have implemented intranet portal with Cisco as the load balancer. Now we need to expose this intranet to the outside world as an extranet portal. So the same portal will be accessed from both intranet and from outside. We are thinking of installing a web dispatcher in the DMZ so that outside users can access the Web Dispatcher URL to access the intranet portal. In effect intranet users will use load balancer and extranet users will use Web Dispatcher to access the same portal. Now my question is if we configure Load Balancer and Web Dispatcher to the same portal, will the portal be able to load balance properly? Is this the right approach?
    Thank You,
    mansooralip1

    Dear Andrew,
    We need to provide access to our intranet to some outside companies for them to also use some of our portal applications. As per your answer, I understand that I can configure Web Disptacher to talk to the Cisco Load Balancer of our portal. In this case Web Dispatcher will work just as a reverse proxy. But when I discussed this with one of our basis resource, he told me that when we install and configure Web Dispatcher, it always ask for the Message Server URL and Port number, even if I just want to use Web Dispatcher as a Reverse Proxy. If his concerns are valid, I do not think I will be able to configure Web Dispatcher to access the cisco Load Balancer because I cannot put Cisco load banacer URL and port instead of the Message Server URL and Post Number. Can you kindly share your comment on the same?
    Now the second part of my question, if Web Dispatcher cannot be configured to talk to Load Balancer(as mentioned by our basis resource), I will have to use two load balancers. One web Dispatcher in DMZ as a Load Balancer *** Reverse Proxy for the external users. Second the internal Cisco Load Balancer for the intranet users. So the same portal will be accessed by two load balancers. My question here is, in this set up, can the portal work efficieintly here by distributing equal loads two both the server instances?
    Thank You,
    mansooralip1

  • Solution load Balancing for two Servers  run Sun One Web Server 7.0

    Hi All ,
    I must configure load balancing web server for two server . Could you tell me Solution ?
    Please help
    Thanks .

    The following should help you configure Web Server to reverse proxy (load balance) to your two backend servers.
    [http://blogs.sun.com/amit/entry/setting_up_a_reverse_proxy|http://blogs.sun.com/amit/entry/setting_up_a_reverse_proxy]

  • Load balancers with web servers & policy agents

    I have a pair of host machines, hostA and hostB, running multiple web server instances, portalA, portalB, contentA, contentB, serviceA, serviceB, etc.
    The two hosts, hostA and hostB, are sitting behind load balancers. ServiceA and serviceB must be protected by login and I have a policy agent installed on hostA and hostB for these two instances.
    The load balancers respond to https://service/* and forward requests to http://serviceA:3456/* or http://serviceB:3456/* depending on the host selected by round-robin.
    I've been told that serviceA and serviceB cannot be running on the default 443 port (although we could enable SSL if we wanted) in order to work nicely with the other web server instances that are behind the load balancers.
    The problem is that the policy agent knows that it is running as http://serviceA:3456/.
    The user makes a request to the load balancers for:
    https://service/protected.html
    The load balancer passes the request to:
    http://serviceA:3456/protected.html
    The agent sends a redirect to login which sends the user to:
    http://service:3456/protected.html
    This final URL is not available through the load balancers and it's obviously not the public URL.
    I have fqdnDefault set to 'service.x.x' so the URL is rewritten to that extent. Is there a way to tell the agent that the port it's running on is not the public port (ie. that it's behind a NAT device)? Is there a way to tell the agent that it's should actually redirect to https and not http?

    Hi,
    CQ authoring does not leverage server side sessions, therefor you'll never loose data because of this.
    But: As the cluster has a small delay on synchronisation, it could be, that on a write and subsequent read you'll get the old content, if you don't have sticky sessions (because both requests are not processed by the same server). Therefor I advise you to use sticky sessions in front of a CQ authoring cluster.
    Jörg

  • What's the best way to load balance multiple protocols on one vserver?

    Hi,
    We have a CSM blade on a 6513, in bridge mode. I'm just wondering what is the best way to serve HTTP and HTTPS (or any two or more ports) from the same group of servers. As I see it, we have two options:
    1. Don't set a port on the vserver, so it is load balancing "any" or "tcp". This is easy but I want to be sure there isn't a downside to this, other than the obvious security issue.
    2. Create multiple vservers and point them at the same serverfarm. I tried this and I got some odd results with the health checks.
    Any ideas? Thanks a lot.

    you listed the only 2 options available.
    The advantage of solution #2 is that you can apply specific config for each protocol ie: for HTTP you can turn 'persistent rebalance' if needed.
    If you want to use specific probes [not icmp], it is also a good practice to create a different serverfarm for each protocol.
    Like this, if the HTTP service goes down but not the server, you can still have other protocols loadbalanced.
    Regards,
    Gilles.
    Thanks for rating this answer.

  • Load balancing multiple SSO mid-tier with single SSO database

    I want to load balance SSO middle tier servers and have them access a single SSO database. When you install infrastructure and select SSO only it creates a new infrastructure database. How can I install multiple SSO servers and point them to a single database. I am doing Load Balancing with F5 and read an Oracle WP where they mentioned an Oracle supported configuration where they load balanced SSO servers with F5.
    KB

    Two possible solutions:
    1.) Oracle 10gAS Enterprise Deployment Guide (B13998-03) follow the configuration for SSO configuration in Chapter 5.
    2.) I have not tried this but it should be logically possible with the SSO. 10gAS Administrators guide (B13995-05) Part III Advanced Administration. The success of this method assumes you have OID and SSO each installed in separate homes. You would be cloning the SSO home to another box as if it were a middle tier (it is still part of the infrastructure) then re-configuring it on the new box.
    Personally solution 1 is the best method. We are using F5 Big-IP with this configuration and it is working great.
    Hope this helps!

  • IPTV load balancing across broadcast servers.

    I know that across Archive servers in the same cluster that IPTV control server will load balance , is there is a similar function with Broadcast servers. I know broadcast servers use a different delivery mechanism (Multicast). We have multiple broadcast servers that take in an identical live stream, but the only way to advertise thru a URL is a seperate URL per server. Is there some way to hide the multiple URL's to the client population?

    No. There is no way to load balance across multiple broadcast servers for live streams. Since this is going to be multicast, there should not be any additional load on the servers when the number of users are more.

  • CSS10500 Load Balancing Multiple Hosts

    Hello,
    I have a CSS10500 switch and i would like to load balance the connections to a couple of hosts. My setup (roughly) is as follows
    int e1-RTR1-------->int e2-Host1
                     -------->int e3-Host2
    and
    int e5-RTR2------>int e6-Host1
                     ------>int e7-Host2
    How can i assing different interfaces to the two sets of hosts??? I want all ports (0-65535 and tcp/udp)  to go to both sets. I made a circuit vlan 1 and assigned it an ip address but i cannot make a circuit vlan 2 and when i assign multiple addresses to vlan1 i cannot somehow assign interfaces to each ip.
    Is there anything i can do??
    Sorry for all the fuss i am new to the CSS concept.

    Let's start with the basic
    http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_example09186a008009438d.shtml
    If you can't make it work, get back to us with whatever you have configured.
    Verify that you can ping the CSS from the router and the server.
    Gilles.

Maybe you are looking for

  • Any other ways to get parameters of a URL in a window method ?

    Hi, In SDN, i find the below two ways to extract the URL parameters, when i pass them while opening a new window. But, unfortunately they dont work for me. so, would like to know, if any other ways are existing to extract the URL parameters. 1) HANDL

  • Is there a way to use the G4 with a MacBook?

    Using my old work horse G4 for a juke box since using a MacBookPro for all video now. It's a shame to not be using it more. Is there a way I could use the G4 to help with some of the processing chores of HD video that are weighing heavy on the MacBoo

  • To MacMini or To MacBook Pro, That Is the Question

    Hi, I am getting rather frustrated in transporting my MacBook Pro 15" about from Home Office to Work Office (50% of time in each) have iPad and Air but need to run VMware for windows applications; arghhh! so require a little extra RAM, 8GB works fine

  • Screen Distortion (Horizontal lines) Across Display

    For quite some time now my Macbook display has had horizontal lines along the right side of it. These lines go from the very top to the bottom and are about an inch or two in width. Sometimes goes away when i have a Pages document open. But is consta

  • Space for public folders

    Hello, I am worried that there is not enough space for my public folder replica move to Exchange 2010. Where does exchange store the public folders. Are they stored within the exchange mailbox databases or are they stored separately please? Also how