Cluster as a load-balancer

Hiya,
instead of using expensive hardware for achieving server load-balancing I wonder why not using a webserver with it's load balancing plugin and make it HA with suncluster.
Any doubts on this ?!
thanks
eljonos

The shared address in combination with the scalable web server effectively provides layer 4 load-balancing, i.e. based on IP address. The load-balancing is not aware of application state, e.g cookies or session information that would normally be understood by a layer 7 load-balancer. However, this might be enough for you. If the web server plug-in can keep track of this information, it might be a viable option.
Regards,
Tim
---

Similar Messages

  • Query - Business Objects- CMS Cluster internals for load balancing/ sharing

    Hi,
    We are implementing CMS Cluster solution between two BOE server on Windows 2003 OS. As per documentation, One CMS server is primary, which coordinates with secory CMS server within same cluster. Does both server share equal load without external load balancer, by BOE cluster functionality? What are the tuning parameters for Load balancing between 2 CMS servers?
    Thanks for your help!!
    Regards,
    G

    If you somehow needed to accomplish load balancing between the 2 machines which wasn't 50/50 you could possibly try dns aliasing and have more copies of one machine than the other.  I'm not recommending this, just thinking out loud here.

  • 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

  • ALBPM - Batch events and Load Balancing

    Hi,
    We are planning to design a BPM solution for one of our current applications. The need we have is that the BPM solution should be able to start process instances in a batch mode. We receive about 25,000 to 30,000 events in a batch file and we need to start one BPM process instance for each record. Currently we are evaluating the ALBPM, but trying to figure out a best approach to do this. Also I would like to know what will be be ther better options to configure load balance instances of BPM for this scenario. I could not find any documents from BEA to address these. Anybody tried or came across this situation? Any documents/examples that can answer or suggest options for the batch modes? Thanks in advance!

    First of all, load balancing applies at various levels.
    1) load balancing at the horizontal level is only achieved by creating a WLS cluster and deploying the BPM engine in the cluster.
    2) load balancing at the vertical level can be achieved by creating many BPM engines and deploying processes on each Engine, this will distribute instances between the engines.
    if you need to create 25k instances of the same process in a batch, there is no problem, it will queue the executions and dispatch them to the available threads.
    A good approach would be to create instances in smaller chunks, to do this you can create a "batch process" that can get the file, split it in smaller chunks and process one chunk at a time. An important thing to consider when working with so many instances is that the transactions tend to get bigger and longer, so if you have a huge chunk, you can get a transaction timeout or a DB exception because of redo logs sizes.
    Hope this helps!
    MAriano Benitez
    Join us at BEAParticipate, May 6-9 2007 | Atlanta, Georgia

  • Multi-Geography Load-Balancing on ASA

    Hi all,
    I have two buildings in two diferent locations each one with a Cisco ASA5520 to provide VPN access. I want to configure load-balancing between them but I can´t have both outside interfaces in the same subnet. Reading the document: http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a00805fda25.shtml, it is stated that "All devices in the virtual cluster must be on the same outside and inside IP subnets" but then, I have some slides from a Cisco Networkers training (26-29 Jan 2009) titled "Deploying Remote Access with SSL VPNs" written by Nadhem J. AlFardan where it sais that it is posible to configure two ASA one in London and one in New York in a cluster to provide load balancing between them.
    Does anyone have configured load-balancing between two ASA not sharing the same outside and inside subnetworks? Is there any documentation addressing this issue?
    Thanks

    Good Question ... I have the same issue ... Can someone please help us? I also looked into Load Balancing utilizing the ASA cluster but unfortunatly realized that "All devices in the virtual cluster must be on the same outside and inside IP subnets" and now I have to come up with another solution ...

  • Question on WCCPv2 - bucket assignment for WCCP2 load balancing

    Hello,
    I would like to know if any one has tried out running Cisco's WAAS/WAFS/WAE or
    Squid proxy as a cache cluster to leverage load balancing support in WCCPv2.
    I am trying to understand WCCP based transparent network redirection in a lab setup using squid cache's WCCP and Cisco routers only. When I tried with 2 proxies for load balancing, I see that the router *always* allocates buckets in the reverse order of the specified assignment - its confusing as its not mentioned in Cisco WCCP2 protocol drafts.
    In my case, the lead cache with the lowest IP specifies buckets 0-127 to itself and 128-255 to the other; but the router assigns buckets 0-127 to the second cache and 128-255 to lead cache.
    I have attached the ethereal trace. Can someone explain what is going wrong here?
    The issue was found in the following router versions:
    Cisco 3600, IOS 12.3(1a);
    Cisco 2600 IOS 12.3(9a);
    Cisco 2800 IOS 12.4(3d)
    Squid proxy:
    2.5
    WCCP status output - all the routers above show the same behavior.
    From the trace, 192,168.8.231 specifies bucket distribution as its the
    lead cache with a lower IP than 192.168.41.232.
    router#sh ip wccp 99 detail
    WCCP Cache-Engine information:
    Web Cache ID: 192.168.41.232
    Protocol Version: 2.0
    State: Usable
    Initial Hash Info: 00000000000000000000000000000000
    00000000000000000000000000000000
    Assigned Hash Info: 00000000000000000000000000000000 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    Hash Allotment: 128 (50.00%)
    Packets Redirected: 0
    Connect Time: 00:23:06
    Bypassed Packets
    Process: 0
    Fast: 0
    CEF: 0
    Web Cache ID: 192.168.8.231
    Protocol Version: 2.0
    State: Usable
    Initial Hash Info: 00000000000000000000000000000000
    00000000000000000000000000000000
    Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    00000000000000000000000000000000
    Hash Allotment: 128 (50.00%)
    Packets Redirected: 0
    Connect Time: 00:23:05
    Bypassed Packets
    Process: 0
    Fast: 0
    CEF: 0
    Thanks in advance.

    I'm not an expert of the details of wccp, but looks like the squid is not setting the bucket info correctly.
    From the draft [below], the first bit is the the A flag - for alternative hashing.
    And the alternative hashing is determined by another flag in the service info.
    So, why is Squid setting this bit ?
    I feel like they forgot to shift the index by 1 bit to the left.
    Bucket 0-255
    Contents of the Redirection Hash Table. The content of each bucket is a
    web-cache index value in the range 0-31. If set the A flag indicates
    that alternative hashing should be used for this web-cache. The value
    0xFF indicates no web-cache has been assigned to the bucket.
    0 1 2 3 4 5 6 7
    +-+-+-+-+-+-+-+-+
    | Index |A|
    +-+-+-+-+-+-+-+-+
    I'm double checking with a developpers for our cache, but I feel like this is the explanation.
    More info to come if I'm wrong.
    Gilles.

  • Load balancing to JDBC connection pool

    from http://e-docs.bea.com/wls/docs61///////cluster/overview.html
    "WebLogic Server provides limited load balancing support for managing JDBC
    connections in a cluster. If you create an identical JDBC DataSource in each
    clustered WebLogic Server instance and configure those DataSources to use
    different connection pools, the cluster can support load balancing for JDBC
    connections. Note, however, that WebLogic Server provides no special load
    balancing policies for accessing connection pools. If one of your connection
    pools runs out of JDBC connections, the load balancing algorithm may still
    direct connection requests to the empty pool."
    How is this different from creating one connection pool with one datasource
    and targetting the cluster. Are they talking about load-balancing to
    different databases, or different servers in WLS. from a servlet or from a
    client side app?
    Can anyone elaborate?
    Thanks in advance.

    hi,
    without knowing the entire set of requirements or the motivation behind doing this, a few words from me
    this is usually done transparently to the applications server, that is having eg. Oracle instances mirroring eachother for extreme high-availability requirements.
    1. I would have taken the liberty of calling this business funcionality and let my middleware do the implementation of this. The most elegant solution would probably be to call the master DB for the CUD operation, then post a message to a queue letting the slave DB be updated asynchronously. If the message could not be sent, throw an exception and have the entire operation rolled back.
    If however this must happen realtime and transactions must be consistent, there are a few points to consider. And the quieing bit would not work.
    if this is something that should be done for all Create, Update and Delete operations, an intercepting JDBC driver could do the trick. Although there are all sorts of different problems that could arise from this, for starters, at least one of the DBMS involved here should be XA compliant. If the entire transaction should be XA compliant, both DBMS must be XA compliant. Next as for the transaction towards the "mirroring" DBMS you would have to do all the transaction stuff your self.
    For an example of an intercepting JDBC driver, I found thisone
    http://media.datadirect.com/download/docs/jdbc/jdbcref/spy.html
    I would guess that there are quite a few more.
    - [url http://blog.thej2eestruggle.com]Anders Mathisen
    Edited by anders.mathisen at 01/21/2007 2:53 PM

  • Clustering for load balancing only

    I wish to set up 2 WLS 8.1 machines to run an application independently to
              share load (no replication of sessions, beans etc).
              Can I create a cluster for the two servers and not turn on any session or
              bean replication, then configure the IIS or Apache plug-in to use the
              cluster and therefore create some load balancing?
              Chris
              

    Chris,
              Yes you can certainly use a Cluster simply for load balancing. There is no
              mandate that you have to take advantage of session state replication in the
              cluster.
              ~Ryan Upton
              "Chris Steains" <[email protected]> wrote in message
              news:[email protected]..
              > I wish to set up 2 WLS 8.1 machines to run an application independently to
              > share load (no replication of sessions, beans etc).
              >
              > Can I create a cluster for the two servers and not turn on any session or
              > bean replication, then configure the IIS or Apache plug-in to use the
              > cluster and therefore create some load balancing?
              >
              >
              > Chris
              >
              >
              

  • Client Load balancing in AS with RAC

    Friends,
    1. Is an application servers cluster supports client load balancing.
    If not....
    2. if RAC is configured with appplication servers:
    client -> appl sever -> rac_node -> shared database
    is there a possibility to configure CLIENT load balancing with the aid of any of the above
    components (or smth else that i missed) i.e. avoid using hardware client load balancing
    or third party software client load balancing???
    Thanks much for help.

    Hi, I have the same question.
    I am using RAC (11.1.0.7) and would like to load balance two application servers in the same way, for apache, forms and reports using 10.2.0.4 iAS FAR.
    If I could load balance the apache connection, I'm sure it would be simple from there, again, I only have software load balancing available.
    Could you point me to a doco?
    Thank you very much.

  • Load Balancing Option while using SOA Direct

    we are SOA Suite and Oracle Service Bus on separate domains/clusters. We will host the OSB Services on cluster which is load balanced using BIG IP. This primarliy load balances http requests. What are the load balancing options when when we make calls from BPEL to OSB. Using http we are good because of BIG IP. What about when if we use SOA-DIRECT?

    here http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/soa.htm t says
    "The SOA-DIRECT transport supports the following features: .... Failover and load balancing (not available for services in the Service Callback role"
    but it refers to OSB -> BPEL calls.... you are interested by BPEL -> OSB.... let me search further...

  • Load balancing to a stateless application

              I have a question related to load balancing to a stateless server, in a WLS cluster,
              using hardware load balancing. The BEA documentation stipulates the use of cookies
              or URL rewriting to ensure stickiness to a session. We have a rich client and
              our server is completely stateless. There is no concept of stickiness, or >1
              invocation to a server session.
              So. . . we don’t need the session ID provided by the cookie that WLS wants to
              send back to the client. Is there any way to configure WLS cluster (7 or 8) to
              not return a cookie, so that our client “thinks” each call to the server is it’s
              “first” call? Am I missing an obvious approach?
              

              Hi Vic,
              My understanding is, if your servers are totally stateless, and if the requests
              from the same user are totally independent, for example, some read-only applications,
              cluster only adds overhead to you. In such case, your servers with the hardware
              load balancers should be enough to support the scalability and availability.
              Xiang
              "Vic Brown" <[email protected]> wrote:
              >
              >Thanks, Xiang.
              >
              >Good advice. I came to the same realization after a little more thought!
              >
              >
              >The cluster question has not been decided yet. We'll need a sizable
              >server farm
              >(30+ app servers) to support the app, and it's a large, complex application,
              >so
              >issues like scalability and HA are critical.
              >
              >Thanks, again.
              >
              >
              >
              >"Xiang Rao" <[email protected]> wrote:
              >>
              >>1. Just don't configure your load balancer to use Layer 7 switch by
              >cookie
              >>or URL.
              >>And configure Layer 3 to something like round robin or whatever you
              >like.
              >>
              >>2. If you don't need a session cookie, just don't generate it in your
              >>application.
              >>So don't call getSession(true) in servlets, and if use JSP, disable
              >session.
              >>
              >>
              >>3. Why use WL cluster?
              >>
              >>"Vic Brown" <[email protected]> wrote:
              >>>
              >>>I have a question related to load balancing to a stateless server,
              >in
              >>>a WLS cluster,
              >>>using hardware load balancing. The BEA documentation stipulates the
              >>>use of cookies
              >>>or URL rewriting to ensure stickiness to a session. We have a rich
              >>client
              >>>and
              >>>our server is completely stateless. There is no concept of stickiness,
              >>>or >1
              >>>invocation to a server session.
              >>>
              >>>So. . . we don’t need the session ID provided by the cookie that WLS
              >>>wants to
              >>>send back to the client. Is there any way to configure WLS cluster
              >>(7
              >>>or 8) to
              >>>not return a cookie, so that our client “thinks” each call to the server
              >>>is it’s
              >>>“first” call? Am I missing an obvious approach?
              >>>
              >>
              >
              

  • Accessing individual server in load-balanced cluster not working as expected

    We have a cluster set up with multiple managed servers and hardware load
              balancers sitting in front to direct traffic. We have the frontend host
              configured to be the dns name of the single URL for the cluster, which maps
              to the IP address that the load balancers balance. When accessing part of
              our site (a WebLogic portal) at
              http://server1/portalApp/appmanager/portal/desktop
              (where server1 is the name of one of the managed servers)
              the portal performs a redirect to the login page at
              /portalApp/appmanager/portal/desktop?_nfbp=true&_pageLabel=login_page.
              The URL that results in the browser is not what I would expect, which would be
              http://server1/portalApp/...
              Instead, it is
              http://cluster/portalApp/...
              where cluster is the frontend host setting. Is there any way to avoid
              this, so we can perform directed testing on specific managed servers?
              Thanks,
              Andy
              

    Hi Maria, thanks for your help! I wrote a simple test jsp that does a
              redirect if a parameter is set, otherwise it doesn't do anything. When I
              accessed the jsp at server1/app/test.jsp?a=true, something (I assume
              either WebLogic or the load balancer) rewrote the URL after the redirect
              (the redirect was to /app/test.jsp). The URL that appears in the browser
              after the redirect is cluster/app/test.jsp. Do you know if this happens
              because of WebLogic or the load balancer? Our load balancers are Cisco
              11503's I believe.
              Do you think it would make any difference if I leave the frontend host
              for the cluster to be the dns name of the cluster, and then if I set the
              frontend host for each server to be the dns name of that specific server?
              Currently each server does not have any value entered for frontend host.
              Thanks!
              Andy
              Maria Carcedo <[email protected]> wrote in
              news:31424665.1108079763742.JavaMail.root@jserv5:
              > Hi Andy!
              >
              > We had basically the same problem and we fixed it by configuring the
              > F5 load balancer to maintain the session with whichever server it
              > started the connection with. We had to enable cookie persistence, more
              > specifically the Active HTTP Cookie, with Method insert (do not enter
              > any expiration or anything else in any other field other than what is
              > already there when the page loads -> F5 bug).
              >
              > So if the original request from the portal goes to server1, every
              > subsequent request will go to server1 as well. The next session
              > request will go to server2 and every subsequent request within that
              > session will go to server 2, and so on (assuming you have round
              > robin).
              >
              > I hope this helps!
              >
              > Maria
              

  • Apache plug-in won't load balance requests evenly on cluster

    I can't seem to get the Apache plug-in to actually do round-robin load balancing
    of HTTP
    requests. It does random-robin, as I like to call it, since the plug-in will usually
    hit all the
    servers in the cluster but in a random fashion.
    I've got three managed servers:
    192.168.1.5:8001 (WL6 on Linux) 192.168.1.2:8001 (WL6 on Linux) 192.168.1.7:8001
    (WL6 on Linux)
    Admin server on 192.168.1.7:7000 (WL6 on W2k)
    My Apache server is 1.3.9 (RedHat SSL) on 192.168.1.52.
    The log file for each servers has something like this:
    ####<Apr 19, 2001 1:18:54 AM MDT> <Info> <Cluster> <neptune> <cluster1server1>
    <main> <system> <> <000102> <Joined cluster cluster1 at address 225.0.0.5 on port
    8001>
    ####<Apr 19, 2001 1:19:31 AM MDT> <Info> <Cluster> <neptune> <cluster1server1>
    <ExecuteThread: '9' for queue: 'default'> <> <> <000127> <Adding
    3773576126129840579S:192.168.1.2:[8001,8001,7002,7002,8001,7002,-1]:192.168.1.52
    to the cluster> ####<Apr 19, 2001 1:19:31 AM MDT> <Info> <Cluster> <neptune>
    <cluster1server1> <ExecuteThread: '11' for queue: 'default'> <> <> <000127> <Adding
    -6393447100509727955S:192.168.1.5:[8001,8001,7002,7002,8001,7002,-1]:192.168.1.52
    to the cluster>
    So I believe I have correctly created a cluster, although I did not bother to
    assign
    replication groups for HTTP session replication (yet).
    The Apache debug output indicates it knows about all three servers and I can see
    it
    doing the "random-robin" load balancing. Here is the output:
    Thu Apr 19 00:20:53 2001 Initializing lastIndex=2 for a list of length=3 Thu Apr
    19
    00:20:53 2001 Init Srvr# [1] = [192.168.1.2:8001] load=1077584792 isGood=1077590272
    numSk ip=134940256 Thu Apr 19 00:20:53 2001 Init Srvr# [2] = [192.168.1.5:8001]
    load=1077584792 isGood=1077590272 numSk ip=134940256 Thu Apr 19 00:20:53 2001
    Init Srvr# [3] = [192.168.1.7:8001] load=1077584792 isGood=1077590272 numSk
    ip=134940256 Thu Apr 19 00:20:53 2001 INFO: SSL is not configured Thu Apr 19
    00:20:53 2001 Now trying whatever is on the list; ci->canUseSrvrList = 1 Thu Apr
    19
    00:20:53 2001 INFO: New NON-SSL URL Thu Apr 19 00:20:53 2001 general list: trying
    connect to '192.168.1.7'/8001 Thu Apr 19 00:20:53 2001 Connected to 192.168.1.7:8001
    Thu Apr 19 00:20:53 2001 INFO: sysSend 320 Thu Apr 19 00:20:53 2001 INFO:
    Reader::fill(): first=0 last=0 toRead=4096 Thu Apr 19 00:21:06 2001 parsed all
    headers
    OK Thu Apr 19 00:21:06 2001 Initializing lastIndex=1 for a list of length=3 Thu
    Apr 19
    00:21:06 2001 ###Response### : Srvr# [1] = [192.168.1.5:8001] load=1077584792
    isGood=1077 546628 numSkip=1077546628 Thu Apr 19 00:21:06 2001 ###Response###
    : Srvr# [2] = [192.168.1.2:8001] load=1077584792 isGood=1077 546628
    numSkip=1077546628 Thu Apr 19 00:21:06 2001 ###Response### : Srvr# [3] =
    [192.168.1.7:8001] load=1077584792 isGood=1077 546628 numSkip=1077546628 Thu Apr
    19 00:21:06 2001 INFO: Reader::fill(): first=0 last=0 toRead=4096
    Basically, the lastIndex=XXX appears to be random. It may do round-robin for 4
    or 5
    connections but then always it resorts to randomly directing new connections.
    This is what the configuration looks like using the plug-in's
    /weblogic?__WebLogicBridgeConfig URL:
    Weblogic Apache Bridge Configuration parameters:
    WebLogic Cluster List:
    1.Host: '192.168.1.2' Port: 8001 Primary
    General Server List:
    1.Host: '192.168.1.2' Port: 8001
    2.Host: '192.168.1.5' Port: 8001
    3.Host: '192.168.1.7' Port: 8001
    DefaultFileName: ''
    PathTrim: '/weblogic'
    PathPrepend: '' ConnectTimeoutSecs:
    '10' ConnectRetrySecs: '2'
    HungServerRecoverSecs: '300'
    MaxPostSize: '0'
    StatPath: false
    CookieName: JSESSIONID
    Idempotent:
    ON FileCaching:
    ON ErrorPage: ''
    DisableCookie2Server: OFF
    Can someone please help to shed some light on this? I would be really grateful,
    thanks!
    Jeff

    Right - it means that the only configuration which can do perfect round-robin is a
    single plugin (non-Apache, or single-process Apache) - all others essentially do random
    (sort of, but it can skew test results during first N requests).
    Robert Patrick <[email protected]> wrote:
    Dimitri,
    The way Apache works is that is spawns a bunch of child processes and the parent process
    that listens on the port delegates the processing of each request to one of the child
    processes. This means that the load-balancing dome by the plugin before the session ID is
    assigned does not do perfect round-robining because there are multiple copies of the plugin
    loaded in the multiple child processes. This situation is similar to the one you would get
    by running multiple proxy servers on different machines with the NES/iPlanet and IIS
    plugins.
    As I pointed out in my response to Jeff, attempting to address this problem with IPC
    machanisms would only solve the single machine problem and most people deploy multiple
    proxy servers to avoid a single point of failure...
    Hope this helps,
    Robert
    Dimitri Rakitine wrote:
    Hrm. This is strange - I thought that all the information nesessary for a
    'sticky' load-balancing (primary/secondary) is contained in the cookie/session info,
    so, the particular plug-in implementation should not make any difference. For
    load-balancing - statistically, given large enough sampling base, Apache plug-in
    should perform just a well as NS one (unless apache is somehow misconfigured and
    calls fork() for each new request).
    Jeff Calog <[email protected]> wrote:
    Robert,
    Thanks for the sanity reply, you are definitely right. I used Netscape 3.0 on
    Win2k and it did perfect round-robin load balancing to my servers.
    <raving>
    BEA - ARE YOU LISTENING? STOP TELLING PEOPLE YOUR APACHE PLUG-IN IS A VIABLE
    LOAD BALANCING SOLUTION! It's worthless for load balancing!
    </raving>
    In some tests, as many as 90% of my connections/requests would be sent to a single
    server. There should be something in the release notes like "By the way, the
    Apache plug-in is only advertised as doing round-robin load balancing, in reality
    it doesn't work worth a darn".
    I'm surprised they don't used shared memory or some other technique (pipes, sockets,
    signals, writing to /tmp, anything) for interprocess communication to fix that.
    Jeff
    Robert Patrick <[email protected]> wrote:
    Yes, the problem lies in the fact that Apache uses multiple processes
    instead of
    multiple threads to process requests. Therefore, you end up with multiple
    processes all
    with the WebLogic plugin loaded into them (and they cannot see one another)...
    Hopefully, Apache 2.0 when it comes out will allow the plugin to do a
    better job...
    Jeff Calog wrote:
    I can't seem to get the Apache plug-in to actually do round-robin loadbalancing
    of HTTP
    requests. It does random-robin, as I like to call it, since the plug-inwill usually
    hit all the
    servers in the cluster but in a random fashion.
    I've got three managed servers:
    192.168.1.5:8001 (WL6 on Linux) 192.168.1.2:8001 (WL6 on Linux) 192.168.1.7:8001
    (WL6 on Linux)
    Admin server on 192.168.1.7:7000 (WL6 on W2k)
    My Apache server is 1.3.9 (RedHat SSL) on 192.168.1.52.
    The log file for each servers has something like this:
    ####<Apr 19, 2001 1:18:54 AM MDT> <Info> <Cluster> <neptune> <cluster1server1>
    <main> <system> <> <000102> <Joined cluster cluster1 at address 225.0.0.5on port
    8001>
    ####<Apr 19, 2001 1:19:31 AM MDT> <Info> <Cluster> <neptune> <cluster1server1>
    <ExecuteThread: '9' for queue: 'default'> <> <> <000127> <Adding
    3773576126129840579S:192.168.1.2:[8001,8001,7002,7002,8001,7002,-1]:192.168.1.52
    to the cluster> ####<Apr 19, 2001 1:19:31 AM MDT> <Info> <Cluster><neptune>
    <cluster1server1> <ExecuteThread: '11' for queue: 'default'> <> <><000127> <Adding
    -6393447100509727955S:192.168.1.5:[8001,8001,7002,7002,8001,7002,-1]:192.168.1.52
    to the cluster>
    So I believe I have correctly created a cluster, although I did notbother to
    assign
    replication groups for HTTP session replication (yet).
    The Apache debug output indicates it knows about all three serversand I can see
    it
    doing the "random-robin" load balancing. Here is the output:
    Thu Apr 19 00:20:53 2001 Initializing lastIndex=2 for a list of length=3Thu Apr
    19
    00:20:53 2001 Init Srvr# [1] = [192.168.1.2:8001] load=1077584792 isGood=1077590272
    numSk ip=134940256 Thu Apr 19 00:20:53 2001 Init Srvr# [2] = [192.168.1.5:8001]
    load=1077584792 isGood=1077590272 numSk ip=134940256 Thu Apr 19 00:20:532001
    Init Srvr# [3] = [192.168.1.7:8001] load=1077584792 isGood=1077590272numSk
    ip=134940256 Thu Apr 19 00:20:53 2001 INFO: SSL is not configured ThuApr 19
    00:20:53 2001 Now trying whatever is on the list; ci->canUseSrvrList= 1 Thu Apr
    19
    00:20:53 2001 INFO: New NON-SSL URL Thu Apr 19 00:20:53 2001 generallist: trying
    connect to '192.168.1.7'/8001 Thu Apr 19 00:20:53 2001 Connected to192.168.1.7:8001
    Thu Apr 19 00:20:53 2001 INFO: sysSend 320 Thu Apr 19 00:20:53 2001INFO:
    Reader::fill(): first=0 last=0 toRead=4096 Thu Apr 19 00:21:06 2001parsed all
    headers
    OK Thu Apr 19 00:21:06 2001 Initializing lastIndex=1 for a list oflength=3 Thu
    Apr 19
    00:21:06 2001 ###Response### : Srvr# [1] = [192.168.1.5:8001] load=1077584792
    isGood=1077 546628 numSkip=1077546628 Thu Apr 19 00:21:06 2001 ###Response###
    : Srvr# [2] = [192.168.1.2:8001] load=1077584792 isGood=1077 546628
    numSkip=1077546628 Thu Apr 19 00:21:06 2001 ###Response### : Srvr#[3] =
    [192.168.1.7:8001] load=1077584792 isGood=1077 546628 numSkip=1077546628Thu Apr
    19 00:21:06 2001 INFO: Reader::fill(): first=0 last=0 toRead=4096
    Basically, the lastIndex=XXX appears to be random. It may do round-robinfor 4
    or 5
    connections but then always it resorts to randomly directing new connections.
    This is what the configuration looks like using the plug-in's
    /weblogic?__WebLogicBridgeConfig URL:
    Weblogic Apache Bridge Configuration parameters:
    WebLogic Cluster List:
    1.Host: '192.168.1.2' Port: 8001 Primary
    General Server List:
    1.Host: '192.168.1.2' Port: 8001
    2.Host: '192.168.1.5' Port: 8001
    3.Host: '192.168.1.7' Port: 8001
    DefaultFileName: ''
    PathTrim: '/weblogic'
    PathPrepend: '' ConnectTimeoutSecs:
    '10' ConnectRetrySecs: '2'
    HungServerRecoverSecs: '300'
    MaxPostSize: '0'
    StatPath: false
    CookieName: JSESSIONID
    Idempotent:
    ON FileCaching:
    ON ErrorPage: ''
    DisableCookie2Server: OFF
    Can someone please help to shed some light on this? I would be reallygrateful,
    thanks!
    Jeff
    Dimitri--
    Dimitri

  • Load balancing for BPEL Cluster

    Can anybody tell how to configure the load balancer in BPEL Cluster ..? I am not able to get the correct documents for that. I want the request from the client can be redirect to any of the cluster server that will be having the PPEL Process deployed.
    Can i use third party load balancer also or can i use oracle http server as load balancer ....how to configure in both the case?

    Hi Dominik.
    Thanks for responding to my message.
    Where could i find more info relating to the WEB dispatcher.
    I also posted a message on OSS and SAP did not mention
    a WEB Dispatcher. (Startup Framework and the J2ee dispatcher handing the load balancing)
    Is the WEB dispatcher a must or are there alternate solutions. I am still confused on this topic ??
    On the current EP5 release, the load balancing is handled
    via MS Load Balancing.
    Thanks and appreciate the help !!
    Morgan
    Message was edited by: Morgan Moodley

  • Load balancing without a cluster...!!!!????

    Hi boys!
              I have a question for you: my NES proxy server can realize a load
              balancing between 2 weblogic 6.0 servers that are NOT IN A CLUSTER?
              I've done some tests configuring the obj.conf like the 2 weblogic
              servers were in cluster, but I dont' understand if it works correctly.
              May be I ask too much ...
              Thanks
              Patrizia
              

              I'm assuming your using one browser to test this.
              The first time you access a servlet or a JSP that uses session
              tracking, the WL server will store a cookie in the browser. This
              cookie identifies the IP address and port number of the WLS where
              the request was executed (the Primary), and if it is a clustered
              configuation with session replication enable, also a Secondary
              server.
              The next time you make a request to iPlanet (or Apache), wlproxy
              looks at the cookie and directs you to the same WL server - so
              you won't see any load balancing.
              If you quit out of all your browsers, then start a new browser,
              and access it again, you won't have a WL cookie, and the request
              will get load balanced to one of the WL servers.
              Mike
              Patrizia MB <[email protected]> wrote:
              >Thanks Mike,
              >but I've some problems in verifying what you've asserted.
              >In my obj.conf I've put
              >
              > <Object name="wl" ppath="*/servlet/*">
              >
              > Service fn="wl-proxy" WebLogicCluster="10.0.0.3:7060,10.0.0.8:7060"
              >DebugConfigInfo="ON" Debug="ON"
              >
              > </Object>
              >
              >Note that I have 2 NOT-Clustered WLS instances behind
              >NES: I used
              >the "WebLogicCluster" property in the obj.conf only because
              >this
              >is the only way - as far as I know ! - to specify multiple
              >nodes to the
              >proxy.
              >
              >
              >With your suggestion, accessing the URL
              >"http://<your-nes-server>/?__WebLogicBridgeConfigInfo"
              >I can see this:
              > Query String: '__WebLogicBridgeConfig'
              > This entry is cluster aware.
              > ClusterID (from obj.conf): "10.0.0.3:7060,10.0.0.8:7060"
              > WebLogic Cluster List:
              > 1.Host: '10.0.0.8' Port: 7060 Primary
              > General Server List:
              > 1.Host: '10.0.0.3' Port: 7060
              > 2.Host: '10.0.0.8' Port: 7060
              >
              >
              >
              >
              >
              >In spite of that, there's no load-balancing!
              >I checked the 2 access files on the 2 nodes, and I see
              >that all my
              >requests go to the same server 10.0.0.8.
              >Why?
              >According to which logic 10.0.0.8 has been defined the
              >Primary? (They
              >are both Administration Servers)
              >
              >I hope you'll answer to my questions!
              >
              >TIA
              >
              >Patrizia
              >
              >
              >
              >
              >
              >
              >Mike Reiche wrote:
              >
              >> The wlproxy for NES will round-robin requests to multiple
              >WL
              >> servers if they are clustered or not clustered.
              >>
              >> You can get some additional information by adding the
              >property
              >> DebugConfigInfo=ON to the WL configuration in obj.conf
              >then
              >> hitting the URL...
              >> http://<your-nes-server>/?__WebLogicBridgeConfigInfo
              >>
              >> Check the WL NSAPI doc.
              >>
              >> Mike
              >>
              >> Monteforte Patrizia <[email protected]>
              >wrote:
              >> >Hi boys!
              >> >I have a question for you: my NES proxy server can
              >realize
              >> >a load
              >> >balancing between 2 weblogic 6.0 servers that are
              >NOT
              >> >IN A CLUSTER?
              >> >I've done some tests configuring the obj.conf like
              >the
              >> >2 weblogic
              >> >servers were in cluster, but I dont' understand if
              >it
              >> >works correctly.
              >> >May be I ask too much ...
              >> >
              >> >Thanks
              >> >
              >> >Patrizia
              >> >
              >
              

Maybe you are looking for