Hypothetical RAC load balancing question

Im trying to get a better understanding of RAC. Suppose I have the following tnsnames entry on Client1:
DEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dev010.net)(PORT = 1795))
(ADDRESS = (PROTOCOL = TCP)(HOST = dev020.net)(PORT = 1795))
(LOAD_BALANCE = yes)
(FAILOVER = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dev1)
(failover_mode=(type=select)(method=basic))
dev010.net and dev020.net are two nodes that I am trying to balance the connection from Client1 to.
dev010.net and dev020.net have the following listener.ora configurations respectively:
LISTENER_DEV1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dev010.net)(PORT
= 1795))
SID_LIST_LISTENER_DEV1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/ora92)
(PROGRAM = extproc)
(SID_DESC =
(ORACLE_HOME = /oracle/ora92)
(SID_NAME = dev1)
LISTENER_DEV2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dev020.net)(PORT
= 1795))
SID_LIST_LISTENER_DEV2 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/ora92)
(PROGRAM = extproc)
(SID_DESC =
(ORACLE_HOME = /oracle/ora92)
(SID_NAME = dev2)
Question: since 'lsnrctl services' shows LISTENER_DEV1 and LISTENER_DEV2 are registered with services dev1 and dev2 respectively, how do I load balance Client1's connection between the two nodes if its service name is set to dev1?
Can you set up RAC with some sort of master listener?
Im new to RAC, so any help would be appreciated.

Try this:
LISTENER =
  (ADDRESS_LIST =
        (ADDRESS =
          (PROTOCOL = IPC)
          (KEY = DB1.WORLD)
        (ADDRESS=
          (PROTOCOL = IPC)
          (KEY = DB1)
        (ADDRESS =
          (COMMUNITY = MYRAC.WORLD)
          (PROTOCOL = TCP)
          (HOST = )
          (PORT = 1521)
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = DB101)
      (ORACLE_HOME = /oracle/Ora92)
    (SID_DESC =
      (SID_NAME = DB102)
      (ORACLE_HOME = /oracle/Ora92)
  )

Similar Messages

  • Rac load balancing question?

    We have a 3 node rac cluster running 10.2.0.3 on rhel4 itanium. We only use the default service name of the database and have not configured any additional services.
    For some starnge reason one of our nodes is not getting any connections from any of our web and app servers? We have not changed anything on either end it this has been working perfectly for a couple years now...
    The lsnrctl status on all nodes show the service name has all 3 instances available as handlers. The remote_listener is confgiured correctly and the alis is there in all 3 nodes tnsnames.ora and looks correct and has all 3 servers in the address list.
    I can connect fine to the node if I use the service name that points me directly to that node and that works perfectly I can connect all day long...
    The load on the server is very low. I am very confused as to why suddenly the one node is not geting any connections sent to it.
    I have checked all logs and there are no erros to speak of anywhere and the interfaces are all fine the vip address is online on each respective node.
    I have stopped and restarted the listsnser on that node.
    Could this be some kind of bug?
    I am stumped and not sure where else to check.
    Would really appreciate any help.
    Thanks.

    Hi user;
    For your issue i suggest close your thread here as changing thread status to answere and move it to Forum Home » Grid Computing » RAC, ASM & Clusterware Installation which you can get more quick response
    Regard
    Helios

  • Rac load balance

    Dear Gurus
    my database 10.2.0.4 and rac is configured.
    database is working fine.actually rac is installed from last 3 years and database is running fine.
    But when we see cpu usage on both nodes by command sar -r ,cpu usage on node 2 is less than node1
    so my boss is saying that load balancing is not happening.
    Could anybody tell me how could i check whether load balancing is fine on both nodes or is it like some master node concept.
    Please give some ideas to test the same as in my opinion load balancin is working fine but i don't know how do i check it

    Hi
    So, you are trying to achieve uniform CPU usage among the RAC nodes using RAC load balancing techniques?
    I am afraid, answer to your problem is not simple. Do you use Services to load balance? If yes, how is the CLB_GOAL and GOAL (run time) is setup for the services? You could potentially use services and load balancing goal to keep the CPU usage uniform.
    But, this becomes more complex in connection pool environments. In connection pool, connections are created at an accelerated pace. PMON updates the listener with Load Balancing Advisory data every 3 seconds or so, and if the connections arriving within that 3 seconds, then the listener does not get correct LBA and So, the listener might redirect the connection to the node already heavily loaded. You could control the this damage by introducing delays between the connection pool logins in such a way that PMON has enough time to update the listener.
    Even then, In theory, you could have imbalanced CPU usage. For example, let's say that application created 50 connections to instance 1 and 50 connections to instance 2. Now, some part of the application is going to have more CPU usage, then the others. If accidentally, all those connections borrowed by those CPU intensive components, are from one instance, then CPU usage will be higher. I guess, what I am saying is that connection pools do not know underlying instance load and might not distribute the workload.
    I will ask the question differently. Were you able to identify exactly what is causing the increased CPU usage in the heavily loaded node? Are you sure that it is the application? If yes, you could potentially configure more services so that you can differentiate the CPU usage at the service level.
    Now, the ultimate question is, do you see this imbalance causing performance issue?
    Hope this helps,
    Cheers
    Cheers
    Riyaj Shamsudeen
    Principal DBA,
    Ora!nternals - http://www.orainternals.com - Specialists in Performance, RAC and EBS
    Blog: http://orainternals.wordpress.com
    Oracle ACE Director and OakTable member http://www.oaktable.com
    Co-author of the books: Expert Oracle Practices, Pro Oracle SQL, Expert PL/SQL Practice
    Join me: Advanced RAC seminar - see blog.

  • Oracle RAC load balancing advisory services query

    Hi,
    I have a query on RAC load balancing advisory.
    Is it possible to create a service for exeuction of a PL/SQL package?
    We have UNIX batches which are set of PL/SQL packages that may or may not be linked are executed daily. These batches consumes lots of resources.
    So i want to configure my services such that say pkg1 will go to node1 and pkg2 will go to node2 and so on and so forth.
    Is it possible to achieve this with Net services and LBA?
    If not, is there any other way i can do this?
    Thanks
    AT
    Message was edited by:
    Amit Trivedi

    Hi, my answers are:
    Is it possible to create a service for exeuction of a PL/SQL package?Yes, that is posible, you can create a service for execute PL/SQL Packages, in fact you can create any service that you need and assign the resources and priorities for this service.
    Is it possible to achieve this with Net services and LBA?Yes, thats posible, you define the priorities at service level and where the service must run at node level.
    If not, is there any other way i can do this?Yes, if you dont wish using the LBA and services you will must create statict definition into tnsnames file for operate connection string and indicate where must connect the session for execute the package.
    Luck.
    Have a good day.
    Regards.

  • SO Load Balancing Question

    Hi all,
    I have a service object (SO1) which has been set to Load Balancing.
    This service object has an attribute which serves as a number allocator
    (NA1).
    This NA1 provides a unique number across the whole application for each of
    the record that require to store into DB.
    The problem is, will the NA1 get replicated if the SO1 is replicated?
    If yes, will NA1 crash?
    Regards,
    Martin Chan
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Senior Analyst/Programmer
    Dept of Education and Training
    Mobile : 0413-996-116
    Email: martin.chandet.nsw.edu.au
    Tel: 02-9942-9685

    Hi Serge,
    Could you prefix it with the PID of the load balanced process ?No I can't. At least not at the moment.
    When a service object is replicated, it is automatically replicated into adifferent partition...
    Thanks.
    An advice, make the NA1 shared. So if you get to do multithreaded accessto
    it, you won't screw up things.I am thinking it may be better off to create it as a service object on it's
    own.
    How is the number returned by the NA1 generated ?It gets generated by Forte's code.
    ... Try to make it so that the
    load balanced partitions don't need to access the database more than onein
    5 min. to get a new Seed Key. This would not need to PID.Thanks for your advise.
    Regards
    Martin Chan
    -----Original Message-----
    From: Serge Blais [mailto:Serge.BlaisSun.com]
    Sent: Tuesday, 3 April 2001 14:17
    To: Chan, Martin
    Subject: RE: (forte-users) SO Load Balancing Question
    Your right, they can generate the same number. How much control do you have
    over the ID being generated? Could you prefix it with the PID of the load
    balanced process ?
    Just a note: When a service object is replicated, it is automatically
    replicated into a different partition, possibly on the same machine or on a
    different one.
    An advice, make the NA1 shared. So if you get to do multithreaded access to
    it, you won't screw up things.
    How is the number returned by the NA1 generated ? If NA1 is using a stored
    procedure, or something like:
    Start TRX
    read number
    newnumber = number+5000
    write back newnumber
    End Trx
    Something like will be very safe. The Database Index Table is taking care
    of the critical section. Then you can be sure that each replicate can be
    independent (not hit into each other) for 5000 iterations. Depending on the
    frequency, you may want to up this number or lower this number. Too high it
    would make the key very high very soon with wholes in the sequence. Too low
    and you would have hit between the replicates. Try to make it so that the
    load balanced partitions don't need to access the database more than one in
    5 min. to get a new Seed Key. This would not need to PID.
    Serge
    At 01:59 PM 4/3/2001 +1000, you wrote:
    Hi Serge,
    The number return by the NA1 is used as a primary key for each of therecord
    that stores in the DB.
    The Number Allocator NA1 is required to access to DB to update an ID table
    which carry the next available sequence number. NA1 will only update this
    table for every 5000 records.
    For example, the initial value of the sequence is: 1
    The next update will change the value to 5001, next will be 10001 and soon.
    >
    The properties of this NA1 class at runtime
    Shared - Disallowed
    Distributed - Disallowed
    Transactional - Is Default
    Monitored - Disallowed
    Unfortunately, this attribute is not a handle but is instantiated by theSO1
    itself.
    I have been thinking, if SO1 is replicated within the same partition, and
    each replicate will carry its own NA1. NA1 and the replicate of NA1 may
    return a same number if their initial values of the sequence are the same.
    Correct?
    Regards
    Martin Chan
    -----Original Message-----
    From: Serge Blais [mailto:Serge.BlaisSun.com]
    Sent: Tuesday, 3 April 2001 13:11
    To: Chan, Martin; forte-userslists.xpedior.com
    Subject: Re: (forte-users) SO Load Balancing Question
    Let's see if I understand right.
    You have a service object that keep a handle to an object that either keep
    state information, or that generate state information. Now the thing to
    figure out is which is it. Let's assume that NA1 is a number generator,
    that does not need to be synchronized or that doesn't need to access any
    external resource. It would still work, depending on the algorythm you are
    using.
    Will they share the same NA1? It depends on the nature of NA1, but for sure
    NA1 would have to be an anchored object. An if multiple partitions would
    share the same object "only" for key generation, you would bring down your
    performance on key generation or key update (by adding one inter-process
    call).
    In short:
    1. Many scenarios can happen, you need to be clearer on your description.
    2. If you are sharing an object by load balanced partitions, this greatly
    reduce the gain of load balancing the partition.
    3. If NA1 is keeping state, any access to it would need to be controlled
    "shared".
    Have fun now...
    Serge
    At 12:30 PM 4/3/2001 +1000, Chan, Martin wrote:
    Hi all,
    I have a service object (SO1) which has been set to Load Balancing.
    This service object has an attribute which serves as a number allocator
    (NA1).
    This NA1 provides a unique number across the whole application for each
    of
    the record that require to store into DB.
    The problem is, will the NA1 get replicated if the SO1 is replicated?
    If yes, will NA1 crash?
    Regards,
    Martin Chan
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Senior Analyst/Programmer
    Dept of Education and Training
    Mobile : 0413-996-116
    Email: martin.chandet.nsw.edu.au
    Tel: 02-9942-9685
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comSerge Blais
    Professional Services Engineer
    iPlanet Expertise Center
    Sun Professional Services
    Cell : (514) 234-4110
    Serge.BlaisSun.comSerge Blais
    Professional Services Engineer
    iPlanet Expertise Center
    Sun Professional Services
    Cell : (514) 234-4110
    Serge.BlaisSun.com

  • XDOLoader on RAC / Load balancer

    Hi all,
    I'm busy with creating an installation script for installing all kinds of objects.
    There are also some XML Publisher objects that need to be installed trough XDOLoader.
    This installation script has to be dynamic as there are 9 environments that are all 9 in RAC / Load balancing.
    Now the problem is that XDOLoader requires an JDBC connection string and I have to 'build up' is this string in my script.
    Some will propose to use $TWO_TASK for the SID. And yes, that's a good proposal, but as I'm on load balancing the $TWO_TASK environment variable does not contain an SID...
    Also the JDBC_URL from the dbc file does not work.
    Does anybody has some experience with using XDOLoader in an RAC / Load balanced environment?
    Or any proposals how to get your JDBC string dynamically builded without using $TWO_TASK ?
    Thanks in advance
    Regards,
    Stijn

    Hi,
    Can you please give me some more information about your setup ...
    Something like ...
    F5/LB --> Apache or OHS --> WebLogic Cluster..
    If you are using F5/OHS directly to WebLogic cluster you can try enabling the session persistence and this problem should go away..
    If you are using plain Apache or OHS try putting "DynamicServerList" off.
    Let me know something more about setup so that i can contribute to help ..thanks.

  • Question RAC load balance with app

    Hi there,
    How RAC help load balance the database if most of my applications connection use JDBC with specific IP or hostname. I'm using JDBC:thin client and not OCI.
    Is there configuration that allows the application without specify the hostname? If I SQLPLUS, I can logon to the database with username/password and SID. I know the connection is going through Oracle Net with the tnsnames.ora file.
    Thanks

    Hi,
    Thin JDBC supports multiple specifications for connection url. You can refer to this document http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/urls.htm#BEICDECB for more information.
    --romas                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 9i RAC Load Balancing

    I need some advice for this.
    INTRO:
    I got 2 instances of a 9i RAC registered with each's listener via REMOTE_LISTENER parameter but I am not sure if there is any load-balancing being done among these 2 instances. I am using Dedicated server configuration for my RAC.
    QUESTION:
    Does the server-side load-balancing feature for 9i RAC requires Shared Server configuration or can Dedicated Server configuration achieve the same results?
    Thanks

    It wokrs with either one. Compile the java code below (changing the appropriate parameters, of course) and you should see connections to different instances on a fairly regular basis.
    Steve
    import java.sql.*;
    import javax.sql.*;
    import oracle.jdbc.driver.*;
    class testLoadBalance{
    public static void main(String args[]) throws ClassNotFoundException,
    java.lang.InterruptedException {
    try {
    DriverManager.registerDriver(new OracleDriver());
    java.util.Vector v = new java.util.Vector();
    int i = 0;
    //Create a vector of connections to the database
    try {
    while(i < 10) {
    i++;
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@simp","system","manager");
    v.add(conn);
    catch(Exception ex) {
    System.out.println(ex.toString());
    //What are we on?
    try {
    while(i < v.size() - 1) {
    i++;
    java.sql.Statement stmt = ((Connection)v.get(i)).createStatement();
    ResultSet rset;
    rset = stmt.executeQuery ("SELECT host_name,instance_name FROM v$instance");
    if (rset.next()) {
    System.out.println("You are currently on " + rset.getString("host_name") + "...");
    catch(Exception ex) {
    System.out.println(ex.toString());
         //clean up connections
    try {
    while(i < v.size() - 1) {
    i++;
    ((Connection)v.get(i)).close();
    catch(Exception ex) {
    System.out.println(ex.toString());
    catch (Exception err) {
    System.out.println(err.toString());

  • Load Balancing question

    My company is in the process of building a small scale network architecture strictly for testing purposes. We have a DMZ area that contains 2 load balancers and 1 web server. The web server is a SunFire 280 and has two gig e nics. They want to cable one nic to one load balancer and one nic to the other. Since this is only one box we have to put the nics on separate subnets. The question is, can I configure the load balancers in a failover situation of an active active situation with one load balancer on one vlan and another load balancer on a separate vlan.

    I did not able to understand why you want to give ip to two NICs from different subnets.
    There is NO any requirement, like that. If you have your own requirement can you explain me that?
    Ashman

  • CSS load balancing questions

    I hope that someone can help with 2 simple (i think) CSS questions.
    1. When configured properly for load balancing, should the CSS round-robin between servers or will it continue to use only one server until triggered by some event or parameter?
    2. If 1 of 2 load balanced servers fails, how does load balancing proceed? Will it continue to try to load balance between the servers or will it give up on the failed server unitil some event or timeout occurs?
    Thanks in advance,
    Eliot

    Hi Eliot,
    The CSS can be configured to perform load balancing in a variety of different ways. Least connections, round robin, ACA etc. Each new connection through the CSS will be round robined over each of the servers in your server group.
    If a server fails then the CSS will know it has failed through the use of keepalives (based on TCP connection, ICMP etc) and no longer send requests through to that server. Traffic associated with a previous connection to the failed server will be sent to on of the surviving servers. It is then up to the behavior of the application as to if the user experiences any disruption.
    Hope this helps
    Brett

  • Oracle RAC load balancing sessions

    Hi Gurus,
    I have just implemented SAP on a 2 node RAC. We had RAC1 shutdown for maintenance, and all sessions were failed over to RAC2. Upon bringing RAC1 up, all the sessions remains connected to RAC2. New sessions are load balance between the 2 nodes. Hence, RAC2 is much busier than RAC1.
    How can I distribute the sessions/load in oracle upon bringing back a RAC node?
    Thanks,
    Tzyy Ming

    Hi,
    >> I am using 11g scan. I have switched all the scan services to RAC1. RAC2 has over 300 sessions. After the entire afternoon, RAC1 only manage to build up less than 100 sessions, while RAC2 still has 300 sessions. Most users are connected to SAP throughout the day. It will be nice if we can average out to 200 sessions on each node.
    You shoudn't expect that a SAP workprocess kills itself and connect to another resource during the runtime, in order to RAC1. So, newly created processes may be connected to the newly startup RAC node. Because of this RAC2 has 300 and RAC1 has 100 sessions on it.
    >> Relocating the service manually requires human intervention and creates human error. How can we configure RAC so that it knows 1 node is busier than the others and automatically redirect the connection to the lighter node?
    As far as I know that this is manual operation, not automatic
    I hope that it is clear
    Best regards,
    Orkun Gedik

  • Oracle RAC Load Balancing

    I have Oracle 10g RAC database with 6 node installed. Now i want to do load balaning for few users not for all.
    Suppose i have users a,b,c,d & e are there and i want to redirect the login of users a,c & e throgh node 5. How can i achieve this using server side load balancing ?
    Thanks in Advance.

    973407 wrote:
    I have Oracle 10g RAC database with 6 node installed. Now i want to do load balaning for few users not for all.
    Suppose i have users a,b,c,d & e are there and i want to redirect the login of users a,c & e throgh node 5. How can i achieve this using server side load balancing ?
    Thanks in Advance.Create a service for each group, entering that service name in the connect string, and providing those users with the appropriate tnsnames.ora or application.
    You middle-tier could handle this using the correct jdbc connection based on some info retrieved from the database. I will leave it up to you to take the suggestions and figure out how to develop the scenario you described.
    Isn't It is also about time you upgraded to something that is still supported? 11g will make some of these issues a whole lot easier. You CAN use 11g Cluster/ASM with your 10g database until you can get your db upgraded. I have upgraded a boat-load of 10g databases to 11g - always < 2hrs start to finish. In many cases converting from single-instance to RAC in the same upgrade session. YMMV.

  • Oracle RAC - Load Balancing Problem

    Our J2EE application transactions (Container-managed) are using MULTIPLE database connections to complete one business transaction.
    Recently we swiched to below Oracle RAC configuration, and it is creating problems.
    BEA 8.1 SP5 Multi Pools
    Oracle 9i RAC (2 instances) : Active - Active
    Algorithm : Load Balancing
    Driver (JDBC) : Oracle 10g Release 1 Thin Driver
    non-XA transactions
    Looks like when LB algorithm is chosen, the load balacing is only **connection-aware** and NOT **transaction-aware**. Because of this, the application gets one connection from one RAC instance, and other from other instance is creating problems.
    Is there any work-around exist for this problem?
    If we chose, HIGH_AVAILABILTY algorithm, everything is fine. But we would like to make use of both instances.

    Srinivas Chintala wrote:
    Hello Joe,
    Here is the configuration:
    <JDBCConnectionPool DriverName="oracle.jdbc.OracleDriver"
    InitialCapacity="10" MaxCapacity="30" Name="rac_node1"
    PasswordEncrypted="{3DES}5M6WvgV8GsA=" Properties="user=apps"
    StatementCacheSize="20" Targets="app_cluster"
    TestConnectionsOnCreate="true" TestConnectionsOnRelease="true"
    TestConnectionsOnReserve="true"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@usplgmnvmdb001.iweb.com:1521:prod_1"/>
    <JDBCConnectionPool DriverName="oracle.jdbc.OracleDriver"
    InitialCapacity="10" MaxCapacity="30" Name="rac_node2"
    PasswordEncrypted="{3DES}5M6WvgV8GsA=" Properties="user=apps"
    StatementCacheSize="20" Targets="app_cluster"
         TestConnectionsOnCreate="true" TestConnectionsOnRelease="true"
    TestConnectionsOnReserve="true"
    TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@usplgmnvmdb002.iweb.com:1521:prod_2"/>
    <JDBCMultiPool AlgorithmType="Load-Balancing" Name="appmutlipool"
    PoolList="rac_node1,rac_node2" Targets="app_cluster"/>
    <JDBCDataSource JNDIName="appdatasource" Name="AppDatasource"
    PoolName="appmutlipool" Targets="app_cluster"/>
    ChintalaHi, OK, that looks fine, except:
    1 - I would define the initial and max capacity = 30, for performance and stability.
    2 - For more performance, turn off test-on-release. It's a waste of cycles.
    3 - You can change your TestTableName to "SQL BEGIN NULL; END;" which goes
    even faster than "select 1 from dual".
    And the main problem is:
    4 - Your JDBCDataSource doesn't seem to be a transactional one, so any
    application code that gets connections from that, will get independent
    connections each time, and their work will not be included in any WLS
    controlled transactions. You want to make/use a JDBCTxDataSource.
    Joe

  • Clustering problems and load balancing question

              I am using Weblogic 6.1. My Windows NT environment consists of 10 web client-simulator
              machines, 2 App. Server machines and one database server machine. I have defined
              one cluster on each app. server. Each cluster is running 3 Weblogic instances, or
              so it should be when I fix my problems!
              My questions/problems are the following:
              1. Can I use a software dispatcher to perform workload balancing between the 2 weblogic
              clusters? That is, the client-simulator machines send the requests to the software
              dispatcher which performs workload balancing between the 2 Weblogic clusters. The
              clusters perform round-robin amongst all instances. Note that the documentation only
              talks about Hardware Balancing.
              2. I am having problems with my multicast IP addresses. For instance, on one App.
              Server machine, I am using the multicast IP address: 239.0.0.1 for MyCluster. When
              I start the Admin Server, I get a JDBC error: "... multicast socket error: Request
              Time Out". I have used the utils.MulticastTest utility which shows the packets not
              being received:
              I (S1) sent message num 1
              I (S1) sent message num 2
              I (S1) sent message num 3
              I (S1) sent message num 4
              What am I doing wrong?
              3. Re. the cluster configuration:
              NOTE: I have executed my workload using 2 independent App. Server machines with a
              software dispatcher - no clustering. Each App. Server used a jdbc connection pool
              of 84 database connections. The db connections happened to become my bottleneck.
              When I tried to increase the number of connections in the jdbc pool, throughput decreased
              dramatically. Thus, I decided to add a cluster of Weblogic instances to each one
              of my 8 x 900Mhz machines in order to scale up. Unfortunatly, adding clusters have
              not been that simple a task - probably because I am totally new to the Web Application
              Server world!
              Here is what I've got so far:
              I have obtained 3 static IP addresses for the 3 instances of Weblogic instances that
              I wish to run within the cluster. All servers in the cluster use port number 80.
              There is a corresponding DNS entry for each IP address. My base assumption is that
              one of these instances will double up as the Administration Server... Is it true,
              or do I need to define a separate Admin server if I wish to run 3 Weblogic instances
              (each with a connection pool of 84 database connections for a total of 252 database
              connections)?
              Do I need to re-deploy my applications for the cluster? And if so, would this explain
              why I am having problem starting my Admin Server?
              I think this is it for now. Any help will be greatly appreciated!
              Thanks in advance,
              Guylaine.
              

              Guylaine Cantin wrote:
              > I am using Weblogic 6.1. My Windows NT environment consists of 10 web client-simulator
              > machines, 2 App. Server machines and one database server machine. I have defined
              > one cluster on each app. server. Each cluster is running 3 Weblogic instances, or
              > so it should be when I fix my problems!
              >
              > My questions/problems are the following:
              >
              > 1. Can I use a software dispatcher to perform workload balancing between the 2 weblogic
              > clusters? That is, the client-simulator machines send the requests to the software
              > dispatcher which performs workload balancing between the 2 Weblogic clusters. The
              > clusters perform round-robin amongst all instances. Note that the documentation only
              > talks about Hardware Balancing.
              >
              We also support software load balancers (for e.g. resonate)
              The software dispatcher should be intelligent enough to decode the
              cookie and route the request to the appropriate servers. This is
              necessary to maintain sticky load balancing.
              > 2. I am having problems with my multicast IP addresses. For instance, on one App.
              > Server machine, I am using the multicast IP address: 239.0.0.1 for MyCluster. When
              > I start the Admin Server, I get a JDBC error: "... multicast socket error: Request
              > Time Out". I have used the utils.MulticastTest utility which shows the packets not
              > being received:
              >
              > I (S1) sent message num 1
              > I (S1) sent message num 2
              > I (S1) sent message num 3
              > I (S1) sent message num 4
              > ...
              >
              > What am I doing wrong?
              >
              You should run the above utility from multiple windows and see if each
              of them being recognized or not.
              i.e. java utils.MulticastTest -N S1 -A 239.0.0.1
              java utils.MulticastTest -N S1 -A 239.0.0.1
              > 3. Re. the cluster configuration:
              >
              > NOTE: I have executed my workload using 2 independent App. Server machines with a
              > software dispatcher - no clustering. Each App. Server used a jdbc connection pool
              > of 84 database connections. The db connections happened to become my bottleneck.
              > When I tried to increase the number of connections in the jdbc pool, throughput decreased
              > dramatically. Thus, I decided to add a cluster of Weblogic instances to each one
              > of my 8 x 900Mhz machines in order to scale up. Unfortunatly, adding clusters have
              > not been that simple a task - probably because I am totally new to the Web Application
              > Server world!
              >
              You have to stress test your application several times and set
              maxCapacity of the conn pool accordingly.
              > Here is what I've got so far:
              >
              > I have obtained 3 static IP addresses for the 3 instances of Weblogic instances that
              > I wish to run within the cluster. All servers in the cluster use port number 80.
              > There is a corresponding DNS entry for each IP address. My base assumption is that
              > one of these instances will double up as the Administration Server... Is it true,
              > or do I need to define a separate Admin server if I wish to run 3 Weblogic instances
              > (each with a connection pool of 84 database connections for a total of 252 database
              > connections)?
              BEA recommends to use Admin server for administrative tasks only
              like configuring new deployments, jdbc conn pools, adding users etc..
              It's not a good idea to have admin server part of cluster.
              >
              > Do I need to re-deploy my applications for the cluster? And if so, would this explain
              > why I am having problem starting my Admin Server?
              >
              You have to target all your apps to the Cluster.
              > I think this is it for now. Any help will be greatly appreciated!
              >
              > Thanks in advance,
              >
              > Guylaine.
              >
              

  • Office Web App Load balancing Question

    I am going to install office web app in load balanced farm behing f5. There are few questions i want to ask:
    Do i first put servers in load balancer and start installing office web app or after installation of office web app in one server put that in load balancer and add another one or put both in load balancer and start installing.
    While i tried without putting servers in load balancer with offload ssl parameter , when i tried to join second server in the farm it gave me error destination unreachable. Is it because with offload ssl parameter it is looking for load balancer or something
    else? I checked port 809 from the servers and also verified the user was local admin in both machines.
    Any insight will be helpful.
    Adit

    Pls refer below link for configuration of NLB for OWA servers:
    http://blogs.technet.com/b/meamcs/archive/2013/03/27/office-web-apps-2013-multi-servers-nlb-installation-and-deployment-for-sharepoint-2013-step-by-step-guide.aspx
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

Maybe you are looking for

  • Attention on USE Oracle SQL Developer 4.0 (4.0.0.13.30) EA3!!!!

    I use this new version and i find that, for example, if you want to add a datafile to a tablespace with modify tablespace window in DBA he try to drop all the other datafile!!!! INCREDIBLE!!! Pay attention! ALTER TABLESPACE PSAPSR3 DROP DATAFILE '/or

  • Why can't I download my documents in PDF or word versions?

    Suddenly the only version I am allow to download is pages. Any suggestions?

  • Error in the ECC 6 for the addition and deletion of zeros

    Hi, iam working in ECC 6 at the client palce. Requirementis to add zeros and remove zeros for the LIFNR. Both CONVERSION_EXIT_ALPHA_INPUT & CONVERSION_EXIT_ALPHA_OUTPUT while executing showing the information popup as Error generating the test frame.

  • Include external code with some protected way ?

    Hello, I would like to know, how it is possible to put C++ code into LabView with secure way. I tried it with creating .dll and in LabView call it with Call Library Function Node, but the .dll returns one value True or False and it is possible to cra

  • Parts of form missing when browsing

    Hi, I have OS X 10.4.9 and am new to Mac and having a problem with browsing-am hoping its a simple one and you guys can help! When I open certain web pages there are parts of the form which are missing. eg. i have a form for work which is missing a d