ACE howto: ¿Classic round-robin if cookie not present?

Hello team:
My server farm behind the ACE will be used for applications that may or may not send cookies.
So I have been asked to configure the ACE to be aware of a certain cookie in order to stick client to server as expected. In paralell, I have also been asked to execute a classic round robin algorithm if no cookie is present on the HTTP sessions.
Then my question is: ¿ will my ACE, configured with the "sticky http-cookie ..." command, default to a classical round-robin algorithm if no cookie is detected in the HTTP request from the client?
Your hints will be greatly appreciated.
Best regards, Rogelio

Rogelio,
*/ Create a http parameter-map, if you did not do so already:
parameter-map type http HTTP
  case-insensitive
  persistence-rebalance
  set header-maxparse-length 65535
  set content-maxparse-length 65535
  length-exceed continue
*/ Match the cookie, and whatever value PHP created:
class-map type http loadbalance match-any PHPSESSID
  2 match http cookie PHPSESSID cookie-value ".*"
*/ Create a policy map, add the PHPSESSID class-map, and assign the sticky serverfarm.
*/ Assign your real servers to the default class (class-default)
policy-map type loadbalance http first-match STICKY_SLB_LOGIC
class PHPSESSID
  sticky-serverfarm STICKY_SERVERS
class class-default
  serverfarm REAL_SERVERS
*/ Add it to the service policy
policy-map multi-match CLIENT_VIPS
  class VIP-30
    loadbalance vip inservice
    loadbalance policy STICKY_SLB_LOGIC
    loadbalance vip icmp-reply active
    appl-parameter http advanced-options HTTP
Cheers mate,
Søren Elleby Sørensen

Similar Messages

  • Isdn bchan-number-order ascending round-robin is applied but not working

    isdn bchan-number-order ascending round-robin is applied but not working
    ios c3825-spservicesk9-mz.124-21.bin
    relevant config
    controller E1 0/3/0
     framing NO-CRC4
     pri-group timeslots 1-31
    interface Serial0/3/0:15
     no ip address
     encapsulation hdlc
     no logging event link-status
     no snmp trap link-status
     isdn switch-type primary-net5
     isdn overlap-receiving
     isdn incoming-voice voice
     isdn bchan-number-order ascending round-robin
     trunk-group 1
     no cdp enable
    my problem is this:-
    At the moment calls are leaving on the first available channel of my h323 voice gateway PRI, I can apply this command to the interface fine but it makes no difference the b cannels are always being picked on a first come  first served basis . I have also tried combination "isdn bchan-number-order decending" and "isdn bchan-number-order descending round-robin" but it makes no difference , the first b channel is always selected .
    Any ideas , if you think its a bug can u identify the bug id as I cannot find it .

    Hello
     I can see that you use ascending , that why you hit 1st channel.You have to choose one of these commands ascending or descending
    I have a question here , for your incoming calls which channel hits ?.FYI isdn bchan-number-order descending is enable by default , so if you need to change you have to type ascending. Can you just share incoming calls which channel hits?.This is because before you define your outgoing calls , you have to check your service provider channel used, and this to avoid error channel is not available.
    Command
    Router(config-if)# isdn bchan-number-order {ascending | descending}
    Purpose
    Enables B channel selection for outgoing calls on a PRI interface (optional).
    Thanks
    please rate all useful information

  • Command Tilde round robins between windows of an application but does not work in Most Recently Used mode

    Hi All,
    Suppose I have 5 excel sheets open and I want to toggle between 2 excel sheets on which i'm working on currently. How do it do it in Mac ? Cmd-~ round robins between all the open excels. Alt-Tab in windows work on the Most Recently Used concept. Is there a way to achieve this in Mac ?
    Regards,
    Avinash

    Not a reply to this specific question, just a quasi-relevant comment that might help some folks.
    In Leopard, and with (for example) English and Russian chosen in System Prefs under "Language" and the keyboard shortcut set to command+space, I would always see the flag change in the menu bar as soon as command+space were chosen. Now, under Snow Leopard, hitting command+space seems not to make the change. But it does make the change, you just need to take your fingers off the keys first, then the flag will change.

  • Round Robin was not happening for my cluster with WebLogic Proxy Plugin

              Hi,
              I configured my cluster with software load balancer, HTTPClusterServlet. By default,
              it is load balancing with Round Robin Algorithm. That means one HTTP request
              goes to server1, and the other HTTP request goes to server2. However, it is not
              what I can see no matter for the requests in one HTTP session or not.
              Say I open two browser, and log into my application with two different users,
              one is "cyang", the other is "xpression". Then the HTTP request (for servlet/jsp)
              from two browsers always go to the same server1, server2 is not invoked at all.
              I did see one time, with only one session (one browser with "xPression" user log
              in), the most requests go to server1, suddenly I am brough into log in page, then
              I noticed that the request for "xPression" moved to server2 although server1 is
              still alive. Therefore, at most, I can say it is "Random", rather than "Round
              Robin".
              What is the real meaning for HTTP servlet/jsp load balancing algorithm? Does
              Round Robin mean request go to each server in turns? Does it have to be different
              session or it can be within one session?
              

    It should be sticky. If not, then bug / config error.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Carole Yang" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Thanks. Yeh, with two kind of browsers, I do see the request goes to
              different
              > servers.
              >
              > That goes back to the original question. Does "Round Robin" here fall
              into the
              > scope of a HTTP session. However, that is not always true for my tests.
              Sometimes,
              > HTTP request just randomly goes to another server while in the same HTTP
              session.
              > It is not sticky to one particular server during one session.
              >
              >
              >
              > --Carole
              >
              >
              > "Cameron Purdy" <[email protected]> wrote:
              > >Has to be different sessions to go to different machines.
              > >
              > >Best way to test is to run one session in IE and the other in Mozilla
              > >or
              > >Netscape.
              > >
              > >Peace,
              > >
              > >Cameron Purdy
              > >Tangosol, Inc.
              > >http://www.tangosol.com/coherence.jsp
              > >Tangosol Coherence: Clustered Replicated Cache for Weblogic
              > >
              > >
              > >"Carole Yang" <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> Hi,
              > >>
              > >> I configured my cluster with software load balancer,
              HTTPClusterServlet.
              > >By default,
              > >> it is load balancing with Round Robin Algorithm. That means one HTTP
              > >request
              > >> goes to server1, and the other HTTP request goes to server2. However,
              > >it
              > >is not
              > >> what I can see no matter for the requests in one HTTP session or not.
              > >>
              > >> Say I open two browser, and log into my application with two different
              > >users,
              > >> one is "cyang", the other is "xpression". Then the HTTP request (for
              > >servlet/jsp)
              > >> from two browsers always go to the same server1, server2 is not invoked
              > >at
              > >all.
              > >>
              > >> I did see one time, with only one session (one browser with "xPression"
              > >user log
              > >> in), the most requests go to server1, suddenly I am brough into log
              > >in
              > >page, then
              > >> I noticed that the request for "xPression" moved to server2 although
              > >server1 is
              > >> still alive. Therefore, at most, I can say it is "Random", rather
              > >than
              > >"Round
              > >> Robin".
              > >>
              > >> What is the real meaning for HTTP servlet/jsp load balancing algorithm?
              > >Does
              > >> Round Robin mean request go to each server in turns? Does it have
              > >to be
              > >different
              > >> session or it can be within one session?
              > >
              > >
              >
              

  • Exchange 2013 CAS - Round Robin DNS not working properly

    I have exchange 2013 server (2MB, 2CAS) server. I created two dns records for mail.test.com, autodiscover.test.com pointing to my two CAS servers.
    But the problem is if i switched of one cas server, client outlook not connecting automatically to other CAS server. By restarting the outlook also its not working. By restarting the system or running the command ipconfig /flushdns in command prompt, it
    working.
    is there any configuration iam missing, please advice how to achieve decent load balancing in Exchange 2013 CAS without going for third party Loadbalancer...

    I have exchange 2013 server (2MB, 2CAS) server. I created two dns records for mail.test.com, autodiscover.test.com pointing to my two CAS servers.
    But the problem is if i switched of one cas server, client outlook not connecting automatically to other CAS server. By restarting the outlook also its not working. By restarting the system or running the command ipconfig /flushdns in command prompt, it
    working.
    is there any configuration iam missing, please advice how to achieve decent load balancing in Exchange 2013 CAS without going for third party Loadbalancer...
    If a CAS role server is down or unable to service clients, you have to remove it from  DNS round-robin consideration manually. There is no health check with DNS round-robin unlike a true load balancer.
    Also, I would set the TTL to a low value for the CAS servers in the round-robin.
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • WLS Cluster Servlet not "sticky" - continuous round robin (WLS 6.1 SP2)

              We have WLS serving as a proxy (with HttpClusterServlet) to a cluster of WLS servers
              running a WebApp with in memory HttpSession replication.
              However, subsequent calls from a browser continue to round robin through the cluster
              instead of returning to the same server.
              We have enable cookies in the browser.
              We have configured replication in the web.xml file.
              Is this an issue with SP2 perhaps?
              thanks in advance,
              -Mark
              

              We've noticed this as well, see my recent post. It definetly seems to be different
              from WL5.1.
              Sometimes we also see the same HTTPRequest going to BOTH servers in our cluster.
              We were testing with only one browser window and one user, and occasionally both
              clusters process the same request.
              We are using IIS with the proxy plugin and Round Robin. We installed the WL6.1
              verison of the plug in aswell.
              It would be great if you could configure WL6.1 to be sticky where one user sticks
              to one server until failover.
              "Mark" <[email protected]> wrote:
              >
              >We have WLS serving as a proxy (with HttpClusterServlet) to a cluster
              >of WLS servers
              >running a WebApp with in memory HttpSession replication.
              >
              >However, subsequent calls from a browser continue to round robin through
              >the cluster
              >instead of returning to the same server.
              >
              >We have enable cookies in the browser.
              >
              >We have configured replication in the web.xml file.
              >
              >Is this an issue with SP2 perhaps?
              >
              >thanks in advance,
              >-Mark
              

  • WebLogic Apache Round Robin Failure

    I am using a cluster configuration of WebLogic.
    I've been testing the fail-over of weblogic in two cases:
    - The two members of the cluster are running and answering to requests
    in
    round-robin without any problem. One client is doing a request.
    Monitoring
    the weblogic.log files, we stop (kill) one application server (the one
    the
    client was talking to).
    => Then the next requests are sent to the other member. OK
    - The two members of the cluster are running and answering to requests
    in
    round-robin without any problem. One client is doing a request.
    Monitoring
    the weblogic.log files, we stop (disconnect from the network) one
    application server (the one the client was talking to).
    => The next request goes to the previous app server (white page for a
    really long time / time out).
    If another client is doing a request (different IP address) it will go
    to the app server still
    connected -> OK.
    Next client will however go to the app server disconnected (idem,
    white
    page...).
    And so on, OK, time out, OK, time out.
    Therefore it seems that our bridge is still doing round-robin on the two
    app
    server, and that it didn't notice that one was not on the network
    anymore if
    the server physically disappears (instead of the first case were the
    server
    is still there but nothing listening on port 7001 where it works). We
    didn't find any particular setting that allow to control the behaviour
    of
    the bridge (e.g. timeout parameters...) and I will be glad to learn more
    on
    the possible tuning of it.
    Moreover, do you have any idea about how the application server is
    talking to the web server. I have heard that the web server was using
    cookies sent by the application server to check its availabilities.
    Therefore, how these cookies are refreshed?
    Thank you for your help.
    Erwan,

    I am using a cluster configuration of WebLogic.
    I've been testing the fail-over of weblogic in two cases:
    - The two members of the cluster are running and answering to requests
    in
    round-robin without any problem. One client is doing a request.
    Monitoring
    the weblogic.log files, we stop (kill) one application server (the one
    the
    client was talking to).
    => Then the next requests are sent to the other member. OK
    - The two members of the cluster are running and answering to requests
    in
    round-robin without any problem. One client is doing a request.
    Monitoring
    the weblogic.log files, we stop (disconnect from the network) one
    application server (the one the client was talking to).
    => The next request goes to the previous app server (white page for a
    really long time / time out).
    If another client is doing a request (different IP address) it will go
    to the app server still
    connected -> OK.
    Next client will however go to the app server disconnected (idem,
    white
    page...).
    And so on, OK, time out, OK, time out.
    Therefore it seems that our bridge is still doing round-robin on the two
    app
    server, and that it didn't notice that one was not on the network
    anymore if
    the server physically disappears (instead of the first case were the
    server
    is still there but nothing listening on port 7001 where it works). We
    didn't find any particular setting that allow to control the behaviour
    of
    the bridge (e.g. timeout parameters...) and I will be glad to learn more
    on
    the possible tuning of it.
    Moreover, do you have any idea about how the application server is
    talking to the web server. I have heard that the web server was using
    cookies sent by the application server to check its availabilities.
    Therefore, how these cookies are refreshed?
    Thank you for your help.
    Erwan,

  • CSM : Strange Round-Robin behaviour

    Hi,
    During validation tests, I am observing a strange server selection behaviour, on independent GET requests (no cookie included) : When a connection request arrives in the CSM within a time window of about 20 seconds after the previous request, then the CSM correctly selects the next real server in the farm (round-robin). However, if the second connection arrives more than 20 sec after the previous request, the CSM selects the same server as for the previous one. Everything looks like the round-robin algorithm would be "reset" after this periood of time.
    Is it a normal behaviour ?
    By the way, how is the server list organized in the CSM RR algorithm ?
    Thank you
    Yves Haemmerli

    Gilles,
    As you requested, I send you the traces showing that when sessions are established with long delay between them, the round-robin load balancing is not consistent.
    Here are some important infos :
    - Client IP address is 141.122.142.197
    - VIP address is 160.213.139.14
    - We NAT the client with the VIP address
    - Servers addresses are :
    -> 160.213.139.163
    -> 160.213.139.164
    -> 160.213.139.165
    -> 160.213.139.166
    -> 160.213.139.171
    -> 160.213.139.172
    -> 160.213.139.173
    -> 160.213.139.174
    I ran two tests. Fore each of them I send you one trace showing the frames (HTTP on TCP port 26000)between the client and the CSM, and a second trace showing the frames between the CSM and the servers. In the trace, please forget about the HTTP code 401 returned by the servers). Also, note that the sessions are kept open by my session generator, in order to do the test.
    In the first test, I sent 16 sessions in the raw without delay between them. Load balancing is perfect, each of the eight servers receives 2 sessions.
    Than, I sent 16 sessions, one after the other, with several seconds between them. As you can see, the load balancing is uneven in this case.
    I can't understand the behaviour as the GET requests in both tests are exactly the same...
    Thank you for your help,
    Yves Haemmerli

  • Exchange 2013 and DNS Round Robin downside?

    Hi guys,
    I have a question regarding Exchange Server 2013 (SP1) and the use of DNS round robin.
    I have a customer that currently is running 2 CAS servers with NLB and we are currently investigating if it would be appropriate to move to a DNS RR solution so we can remove the CAS servers and install the CAS role on the Mailbox servers.
    (yes I know that CAS with NLB and Mbx with DAG cannot be used on the same server)
    What would be the downside of DNS RR?
    Request 1 will go to first MBX server, Reqeust 2 to second MBX server, Request 3 to third MBX server and then start over again. If MBX server 1 goes offline, it will still be used within the DNS RR solution and clients will be redirected towards that server.
    But how will clients react? Will Outlook 2010/2013 timeout since the server is not responding and do a autodiscover lookup again and then hopefully jump on the DNS that points towards another server?
    Is this true for pop/imap or a receive connector for SMTP relay aswell?

    Hi Fredrik,
    Hope this helps  out...
    Round robin doens't check the load on the network interfaces.It just passes on to the next one; for example Server1, Server2
    If server1 has a lot of traffic on his nic he still get more traffic onto his nic when round robin wants to.
    NLB gives some checkes on the load on the interfaces. Therefore it will make sure that that all servers has about the same amount of traffic.
    In Windows NLB we can able to create port rules for the virtual ip which is not applicable when you go DNS Round Robin
    DNS round robin the clients will see different IP addresses Wherea NLB uses single IP Address
    DNS round robin is not a good solution for redundancy. If one of the nodes goes down, you first have to go and remove its A record from the DNS server but then it may take some time before such a change is propergated. In the meantime you may have a number
    of clients attempt to access the dead IP.
    With load balancing you can remove a host from the set immediately (if it doesn't detect an unresponsive host automatically). The only affect of a downed server on the clients would be if some of the clients had session
    data on that server.
    Exchange Queries

  • Round robin DNS for load balancing between multiple network adapters (Xserve)

    I'm attempting to use 'round robin' DNS to load balance between the two ethernet adapters of an Xserve.
    Both ethernet adapters are connected to the same LAN and have static IP addresses of 192.168.2.250 and 192.168.2.251.
    The DNS zone for the server's local domain/host (macserver.private) has a machine record with both IP addresses (set up in the Lion Server UI).
    Having read up on round robin DNS, I would have expected DNS requests for 'macserver.private' to be answered with the two IP addresses ordered at random, achiving my aim of requests being served at random via each ethernet adapter.
    However this doesn't seem to be the case. Doing a 'nslookup' from any of the network clients results in the two IP addresses being listed in the same order everytime. And pinging 'macserver.private' only ever results in a response from the same address.
    Does anyone know why this is the case? Does Lion Server use a non-standard DNS configuration? Are there any additional settings I need to configure in Lion's DNS server to make adopt a round robin approach to responding to requests?
    Thanks in advance for any help!

    Be careful what you wish for
    Round Robin DNS is rarely the best option for 'load balancing'. At the very least it's subject to caching at various point on the network - even at the client side, once the client looks up the address it will cache that response - this means that subsequent lookups may be served from the client's cache and not refer back to the server. Therfore any given client will always see the same address until the cache expires.
    I suspect this is what you're seeing.
    You can minimize this by setting a lower TTL on the records. This should result in the response being cached for a shorter period, meaning the client will make more requests to the server, with a higher change of using the 'other' address.
    However, you're also going to run into issues with the server having two interfaces/addresses in the same LAN. This isn't recommended.
    As Jonathon mentioned, you may be better off just bonding the two interfaces. This will provide an automatic level of dynamic load balancing without the latency of DNS caches, as well as automatic failover should one link fail (as opposed to round robin DNS which will cause 50% of requests to fail until the client cache expires and a new lookup is performed (and, even then, there's still a chance the client will try to use the failed link).

  • Load Balancing With Round Robin

    Hi,
    I have two iAS instances, each on their own box, and one iWS instance
    running on a third box. I have setup the web connector to use round
    robin and added the server weights. I believe that is all that is to it
    to do simple load balancing with iAS. The problem is is that the
    requests only go to one iAS instance. The server weights are 1 and 1.
    Am I missing something here?
    Thanks

    Could be lots of things.
    The most common misconfiguration is testing an application that is deployed "local". This application option effectively disables load balancing.
    Another common mistake is to either not update the configuration of the webconnector (if the webconnector
    has a seperate configuration LDAP) or to not restart
    the webconnector after the configuration change.
    Hope this helps. There's more things we could try, but I'll hope its one of these two easy things.

  • WAN round-robin load balancing

    First things first, I just recently got that horrible distribution Gentoo off my machine and installed Arch for a test run and so far a flipping love it. Just like to thank everyone that made this wonderful piece of Linux.
    To the point: I have a box with 3 NIC and it current runs as my LAN gateway. http://pastie.org/608016 is the script I use to do so and as you may have guessed eth0 is my DSL modem eth1 is my LAN switch, eth2 is my cable modem. Currently my LAN runs off just my DSL, if I want to change this and run off the cable I have to change WAN in the script to eth2 and run it. I would like to change this and have it round-robin load balance over my DSL, cable.
    I tried
    ifconfig eth0 down
    ifconfig eth2 down
    modprobe bonding mode=0 miimon=100
    ifconfig bond0 10.0.0.5
    ifenslave bond0 eth0
    ifenslave bond0 eth2
    inspired by http://ubuntulinuxhelp.com/how-to-use-t … -computer/ and that didn't work at all.
    Then I had a look at http://wiki.archlinux.org/index.php/Con … rk#bonding (two ip on two card) but that didn't really make sense to be as you're not specifying what interfaces to bond anywhere.
    Could anyone help me?

    Let us first set some symbolical names. Let $IF1 be the name of the first interface (if1 in the picture above) and $IF2 the name of the second interface. Then let $IP1 be the IP address associated with $IF1 and $IP2 the IP address associated with $IF2. Next, let $P1 be the IP address of the gateway at Provider 1, and $P2 the IP address of the gateway at provider 2. Finally, let $P1_NET be the IP network $P1 is in, and $P2_NET the IP network $P2 is in.
    One creates two additional routing tables, say T1 and T2. These are added in /etc/iproute2/rt_tables. Then you set up routing in these tables as follows:
    ip route add $P1_NET dev $IF1 src $IP1 table T1
    ip route add default via $P1 table T1
    ip route add $P2_NET dev $IF2 src $IP2 table T2
    ip route add default via $P2 table T2
    What does it mean by 'IP network' ($P*_NET)?

  • Does anybody know any software for the Mac that I can run round robin, single and double elimination tournaments?

    Does anybody know any software for the Mac that I can run round robin, single and double elimination tournaments?  I help run tournaments but using excel for pool play and the web for bracket play, but if wifi is not available I have no way of running brackets for prize play.  Can some one help point me in the direction of software that I can use locally on my Mac Pro. 
    Thanks,
    Chris
    <E-mail Edited by Host>

    Splendid City Team Sports Scheduler, and Sports Scheduling Software System

  • Round Robin doesn't work in Bea Weblogic Cluster

    hello!
              we are using a weblogic (V5.1 SP8) cluster in the following configuration:
              2 Weblogic App-Servers as Servlet Containers.
              4 Weblogic App-Servers as EJB Containers.
              if a client connects to the first servlet - server, round robin between the
              4 EJB-servers behind doesn't work. It seems that the servlet-server is
              pinned to one EJB-server all the time.
              If we kill the second servlet-server as from now on round robin works in the
              EJB-server cluster like we expected.
              As we changed this configuration and also use an IPlanet webserver (one
              instance) with the weblogic proxy-plugin which connects to the
              servlet-cluster (2 instances)... round robin is working properly in the
              EJB-server cluster when the client connects to the IPlanet-server....
              what is the problem, why doesn't round robin work in the first
              configuration? any suggestions?
              Torsten Jenkner
              

    Okay, is it that the round-robining is not perfect (i.e., it doesn't send the
              first request to server1 and the second request to server2 and so on) or is it
              sending every request to one server?
              Torsten Jenkner wrote:
              > yes exactly Robert that's it!
              >
              > Torsten
              >
              > "Robert Patrick" <[email protected]> schrieb im Newsbeitrag
              > news:[email protected]...
              > > I don't understand this. Are you saying that with servlet node 1 or
              > servlet
              > > node 2 running by themselves that RR works fine but once you start both
              > > together, it does not?
              > >
              > > This sounds like a case for support...
              > > Robert
              > >
              > > Torsten Jenkner wrote:
              > >
              > > > > > it is always the same stub in our case. Also the round robin in the
              > EJB
              > > > > > cluster does with the same java classes but does not if the servlet
              > > > cluster
              > > > > > consits of two nodes. So it seems to be a configuration problem, but
              > > > which
              > > > > > one?
              > > > >
              > > > > Hmm.... I don't quite understand this last statement about the EJB
              > and
              > > > servlet
              > > > > cluster, could you explain a little more?
              > > > >
              > > > > Thanks,
              > > > > Robert
              > > > >
              > > >
              > > > if you use 2 servlet cluster nodes round robin between the
              > servlet-cluster
              > > > and the ejb-cluster doesn't work. if i kill the second servlet-node it
              > works
              > > > fine. so my thought was it has to be a configuration problem, because RR
              > > > does with one servlet-node. ok?
              > > >
              > > > Torsten Jenkner
              > >
              

  • Cluster ( Round Robin with 9ias 9.0.4 )

    Hi,
    I'm testing clustering with Oracle 9ias 9.0.4.
    I have got an oracle 9 ias instance with two oc4j instances.
    I have created a cluster and i have added the 9ias instance
    to the cluster.
    I have added a web application on both oc4j instances
    ( with <distributable/> in web.xml ).
    I've configured the session replication in global-web-application.xml ( on both oc4j instances ):
    <cluster-config host="239.0.0.1" port="9129"/>
    In web-site.xml of each oc4j instance, i have added :
    cluster-island="1" and :
    <frontend host="192.168.0.1" port="80"/>
    I've configured mod_oc4j like this :
    Oc4jSelectMethod roundrobin
    Oc4jMount /testcluster
    cluster://cluster1:oc4j1,cluster1:oc4j2
    Oc4jMount /testcluster/*
    cluster://cluster1:oc4j1,cluster1:oc4j2
    My problem : all http request goes on the same
    oc4j instance. There is no round robin between
    the oc4j instances.
    If i stop oc4j1, the request goes on oc4j2 and the
    session is kept( this is ok ).
    But when both instances are running, there is no round
    robin at all.
    Did i miss something ?
    Thanks

    Hi Laurent,
    Not completely sure of your setup so I'll make some assumptions and then some suggestions.
    If you only have one 10g (9.0.4) instance then there's no need to put this in a cluster -- you would have a cluster of 1. I'm assuming the OC4J instances you reference aren't standalone instances but instances that you've created in the 10g instance using either Enterprise Manager or via dcmctl. Have you deployed the same application to both OC4J instances?
    If each of your OC4J instances only has one JVM then I would suggest simply creating one OC4J instance ("home" is the default instance) and then configure two JVM's to run under this OC4J instance. This can be done via EM or editing the opmn.xml file (run "dcmctl updateConfig") after doing this.
    In this type of configuration you won't have to go in and make the edits you're currently doing in mod_oc4j.conf.
    A couple of other things...
    Are you using a stateful or stateless app? I'm assuming it's stateful based on your configuring the OC4J config files. If it's stateful then OHS won't load balance requests across JVM's for a session. It detects that a stateful app is deployed and for efficiency routes subsequent requests to the same JVM for efficiency.
    Your setup in web.xml is OK.
    You should be updating orion-web.xml instead of global-web-application.xml. When you update it all you need to put in is the cluster-config tag. Don't put in the host and port attributes.
    You don't need to do anything in http-web-site.xml
    Again, I'm not sure if you're trying to work with a mix of OC4J standalones and a 10g instance. Try the above suggestions and also take a look at the "Oracle HTTP Server Admin Guide" and the "Oracle Application Server High Availability Guide" for more information.
    John

Maybe you are looking for