[svn] 4815: Feature: Client side load balancing.

Revision: 4815
Author: [email protected]
Date: 2009-02-03 10:47:12 -0800 (Tue, 03 Feb 2009)
Log Message:
Feature: Client side load balancing.
QA: Yes
Doc: Yes
Checkintests: Pass
Reviewer: Seth
Details: Added client side code for client side load balancing as described in 2 tier messaging spec.
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as
flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as

Hi,
please find here an Whitepaper with the information
http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr2-client-failover-173305.pdf
kind regards

Similar Messages

  • [svn] 4814: Feature: Client side load balancing.

    Revision: 4814
    Author: [email protected]
    Date: 2009-02-03 10:44:03 -0800 (Tue, 03 Feb 2009)
    Log Message:
    Feature: Client side load balancing.
    QA: Yes
    Doc: Yes
    Checkintests: Pass
    Details: Added server side code for client side load balancing as described in 2 tier messaging spec.
    Modified Paths:
    blazeds/trunk/modules/common/src/flex/messaging/config/ClientConfigurationParser.java
    blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationConstants.java
    blazeds/trunk/modules/common/src/flex/messaging/config/ServicesDependencies.java
    blazeds/trunk/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.java

    Hi,
    please find here an Whitepaper with the information
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr2-client-failover-173305.pdf
    kind regards

  • Client side load balancing and server side load balancing

    Hello Team,
    I need to know how to set up client and server side load balancing in oracle rac.  What all things to be implemented like creating a service, tnsnames.ora settings etc.
    And also if i used SCAN ip instead of VIP. how the settings will change.
    Regards,

    Hi,
    please find here an Whitepaper with the information
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr2-client-failover-173305.pdf
    kind regards

  • Server Side Load Balancing Testing

    Hi,
    Can any one tell me about any test case for server side load balancing in an 11.1.0.7 RAC?
    I have a 2 nodes RAC with local_listener and remote_listener set properly (for server side load balancing). For testing, i have create a TNS at my client side which points to only one node of RAC (a single ADDRESS entry pointing to node 1 of my RAC). So, from this client, when ever i connect, it always connects me to the node 1 which i have mentioned in the TNS. Does it mean that server side load balancing works in conjunction with client side load balancing only and i should add ADDRESS entry in my TNS for the second node also? If yes, then how can i create a test case to check server side load balancing?
    Thanks
    Salman

    Thanks Rajeysh but i already have seen these documents after "googling" about server side load balancing but these documents don't give my any idea for testing the server side load balancing. My goal is actually testing the following scenario
    Creating a TNS entry to connect to a RAC database (with server side load balancing enabled) by using a single ADDRESS line in TNS which points to node1 to connect to service on node 1 (service_name is set to same value on all the nodes).
    Now, if i invoke 10 SQLPLUS windows to connect to the RAC database using this TNS, it always connects me to instance 1 running on node 1, where is server side load automatic load balancing? Why new sessions are not being directed to some other instance and why every time i always connect to instance 1?
    Salman

  • Enabling server-side load balancing with Oracle 10g RAC

    Hi, all.
    I created a RAC database on vmware by using DBCA.
    By default, remote_listener and tnsname.ora have been configured.
    The followings are part of dba_services from my RAC database.
    NAME, GOAL, ENABLED, CBL_GOAL
    SYS$BACKGROUND NONE NO SHORT
    SYS$USERS NONE NO SHORT
    DEVDB NO LONG
    By default(created by DBCA), server-side load balancing is enabled for
    the RAC database, DEVDB??
    --> GOAL of DEVDB is null, but CBL_GOAL IS LONG.
    After creating a RAC db by using "DBCA", do I need to do something
    for server-side load balancing??
    If so what I need to do?? How can I test it??
    And what is beneficial in enabling server-side loadbalancing ??
    Is it good in the real world??
    Thanks for reading.
    Best Regards.
    Message was edited by:
    user507290

    [urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
    [urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
    Virag

  • Anyconnect client problem, load balancing fqdn changes after update client?

    Hi,
    We use two asa's in loadbalancing. Users use the loadbalancing fqdn name to connect. This works fine until we push new client anyconnect software, that the connect to field changes from the fqdn to the appliance ip address where the client downloaded the software. So loadbalancing will not work anymore. Is there a solution for this?
    Thx,
    Marc

    This sounds like CSCsz39019:
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCsz39019
    Symptom:
    Anyconnect client preserves the FQDN name of the ASA its connecting to instead
    of load-balancing cluster FQDN.
    Workaround:
    When the cluster member appears in the host list, user can select the correct
    host by clicking the drop down. The next time user starts the client, the
    cluster member will no longer be visible. It will have been replaced with the cluster name last selected.
    This should be fixed in 2.3(2028)
    2.4(192) and 2.5(53) or any higher release. Keep an eye out for the next release with this fix.

  • Does 8i client support load balance connection on 10g RAC?

    We will migrate our server to Oracle 10g with RAC and ASM.
    On the other hand, our client machines are using Oracle 8i.
    Does 8i support load balance connection on 10g RAC server?
    Thanks.
    Jimmy Tang

    Your Client Machines are running the 8i client?

  • Load Balancing, Server and / or Client ?

    Hi
    I am experiencing a problem with the connection pooling in odp.net. I have a simple test app that creates a connection, executes a query, populates an object then closes the connection. I have found that when I have client side load balancing on via the odp.net connection string property many connections are made unnecessary (sometime the actual number created reaches the max pool size but the numbers differ randomly). It appears that rather than a free connection in the pool being used more connections are being created which defeats the point of having a connection pool. I do have server side load balancing configured correctly also. Due to this finding can someone possibly answer the following questions.
    a) Do I need both server side and client side load balancing set?
    b) If I do why is the above behaviour being seen? If not could you give me a short explanation as to why not?
    Current set up is 11g (patched to 6, awaiting 7 to be applied) RAC, 2 nodes.
    Below is the C# code used while testing this. The table queried is a simple person table containing 16000 rows if data.
    OcConnection = "User Id=XXX; Password=XXX; Connection Lifetime = 60; Data Source=(DESCRIPTION=(ADDRESS_LIST=(FAILOVER=on)(LOAD_BALANCE=off)(ADDRESS=(PROTOCOL=tcp)(HOST=XXX)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=XXX)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=MyFirstTest))); Pooling=true; HA Events = true; Load Balancing = true";
    Code:-
    Oracle.DataAccess.Client.OracleConnection con;
    con = new Oracle.DataAccess.Client.OracleConnection();
    con.ConnectionString =OcConnection;
    con.Open();
    // the command object to use for this test
    OracleCommand cmd = con.CreateCommand();
    cmd.CommandText = "select * from PERSON";
    OracleDataReader rdr = cmd.ExecuteReader();
    List<test> listTest = new List<test>();
    while (rdr.Read())
    test dc = new test();
    if (!rdr.IsDBNull(0))
    dc.id = Convert.ToInt32(rdr.GetValue(0));
    if (!rdr.IsDBNull(1))
    dc.forename = rdr.GetString(1);
    if (!rdr.IsDBNull(2))
    dc.surname = rdr.GetString(2);
    if (!rdr.IsDBNull(3))
    dc.street = rdr.GetString(3);
    if (!rdr.IsDBNull(4))
    dc.city = rdr.GetString(4);
    if (!rdr.IsDBNull(5))
    dc.postcode = rdr.GetString(5);
    if (!rdr.IsDBNull(6))
    dc.country = rdr.GetString(6);
    if (!rdr.IsDBNull(7))
    dc.email = rdr.GetString(7);
    if (!rdr.IsDBNull(8))
    dc.dateadded = rdr.GetDateTime(8);
    if (!rdr.IsDBNull(9))
    dc.randWords = rdr.GetString(9);
    if (!rdr.IsDBNull(10))
    dc.uniqueNumber = Convert.ToInt32(rdr.GetValue(10));
    listTest.Add(dc);
    rdr.Close();
    con.Close();
    rdr.Dispose();
    cmd.Dispose();
    con.Dispose();
    Thanks for your time
    Victoria

    Here are the HTTP Headers as monitored on the client side. Notice the good.txt file includes a GET as it's initial request. All works fine in this case. However, the initial request in the bad.txt is a POST. This is odd since the URL was opened using the same shortcut in both incidents and the browser was closed between each trace that was taken. I've also reviewed the shortcut with notepad to verify it does not include unwanted data such as the JSESSIONID info....etc.
    Once you have reviewed the HTTP headers, I have these questions.
    1. IIS is sending the 100 Continue messages as you mention, but why is the CSS injecting the cookie in a 100 response that is not typically processed by the client? The bad.txt file shows the client receiving two ARPT cookies because the first cookie in the 100 continue response was ignored.
    2. I know Cisco is not really in the business of troubleshooting browser behaviour. But do you know why the browser would behave differently....GET in one request and a POST in the next? We do not wish to get into modifying the browser, so I'm hoping we can provide a solution on the server side that will allow the browser to function this way if it chooses to do so. Do you think it would make sence to push the state management up a level to the cookie handed out by JRUN? This way, the cookie would not be handed back in a 100 response from IIS, and we could tell the CSS to monitor the JRUN cookie. Of course this would require we determine how to manage this cookie either by modifying to cookie to have static data for each server, or by using the right method of hashing...etc.
    Chris

  • Configuring RFC connections for load balancing.

    Hi ,
    We have the following landscape for our systems.
    The database is installed on z/os , db2 (mainframe). The central services( SCS and ASCS) are also on the mainframe. So the message server is on mainframe.
    The CI is on AIX and The DI is on AIX.
    We have Logon groups configured and load balancing Configured and is RFC enabled.
    1) When we connect to SAP using the SAPGUI and  the portal connection is made to either CI or DI depending upon the best response times.  Now recently we are running the mercury load testing, all the users are connecting to DI. Why are the users connecting to DI even though we have load balancing?
    2) I have a system with SID BP0, with one CI and one DI. The logon group is BP0 and the message server name is cyrix. Now I have other another system EP0. I have created a RFC connection from EP0 to BP0. In SM59 I have selected the load balancing option, and provide the message server name, SID and logon group name. The connection does not work. If I connect directly to the CI or DI the connection works. Please tell me how can I configure load balancing for RFC connections.
    Thanks
    Manmath.

    Dear 917996,
    There are two types of load balancing:
    - Client-side load balancing (setting up the tnsnames.ora on client side). More information here (http://ggsig.blogspot.co.uk/2012/04/client-side-
    load-balancing-in-oracle.html). Very good video produced my friend Igor Melnikov is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/client/clientloadbalance_viewlet_swf.html)
    -Server-side load balancing (remote_listener and setting service parameter clb_goal). Very good Igor Melnikov's video is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/server/serverloadbalance_viewlet_swf.html).
    I have read about client side and server side load balancing. By editing tnsnames.ora I have enabled client side load balancing which is suppose to select listeners at random. then why does it only go to second node?Could you please show your tnsnames.ora on client?
    Please can anyone help me to configure server side load balancing with SCAN. I have read many many post but couldn't find a clear answer.Based on your output (remote_listener string cmbtrnrac-scan:1521) you have already configured the server side load balancing.
    SQL> show parameter listener
    NAME TYPE VALUE
    listener_networks string
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=10.1
    7.67.214)(PORT=1521))))
    remote_listener string cmbtrnrac-scan:1521How many SCANs do you use? Do you use DNS?
    regards,
    Gennady

  • RAC Load Balancing Issue

    Experts,
    We are using 9i RAC database(2 Nodes). Our Problem is Node1 is not getting too much connections,
    but node2 is getting too much connections.
    Difference between these two is around 400
    example
    Node1 ---> 70
    Node2 ---> 465
    How i could solve this issue?
    Thanks
    R.Sundaravel

    It depends on how you have defined Load Balancing.
    If you have client-side load balancing (e.g. with LOAD_BALANCE=ON in the tnsnames.ora file), it is the client(s) that decide which node to connect to. If you have server-side load balancing (e.g. with the database instances and listeners cross-registered such that the database instance PMON update both listeners), the listeners would be able to redirect client connections to the "less loaded" node.
    Hemant K Chitale

  • Reg Load Balancing

    Hi,
    How to configure server side load balancing.
    I saw two types Load based and Session based.
    How to specify the options for the both
    I know by setting parameter load_balance=on will enable in tnsnames.ora file.
    whether above parameter enable client side load balancing or server side load balancing
    Suggest me any document which explains both with example.
    Thanks
    Krishna

    Hi Aman,
    Your thoughts on the below Statements.
    Setting the REMOTE_LISTENER parameter has the following effect -
    The PMON process on that node will register with the remote listeners specified in the REMOTE_LISTENER value.
    This means PMON process will update the remote listeners about the work load status on the local node.
    When REMOTE_LISTENERS are set on all nodes, all PMON processes register with all other listeners.
    When the client makes a connection and the connection goes to a specific listener (either using load_balance on or off),the listener that accepts the connection will check the load on all nodes to see which is the least loaded.
    The listener is able to do this since PMON processes from all nodes have updated the listener about the statuses.and that listener will redirect the connection to the node with the least load and start a dedicated process on that node .
    Now how does the PMON know which is the least loaded machine.
    It gets the information from the FAN framework and load balance advisory.
    FAN framework consists the following processes
    MMON,PMON,ONS and AQ. (ONS is specific to Java clients and AQ is specific to ODI.Net clients)
    Load Balancing advisory calculates the goodness of a node and forwards to MMON.
    MMON builds the advisory and forwards it to PMON. And thus PMON is able to update all the listeners.
    Setting the REMOTE_LISTENER parameter has the following effect -
    The PMON process on that node will register with the remote listeners specified in the REMOTE_LISTENER value.
    This means PMON process will update the remote listeners about the work load status on the local node.
    When REMOTE_LISTENERS are set on all nodes, all PMON processes register with all other listeners.
    When the client makes a connection and the connection goes to a specific listener (either using load_balance on or off),the listener that accepts the connection will check the load on all nodes to see which is the least loaded.
    The listener is able to do this since PMON processes from all nodes have updated the listener about the statuses.and that listener will redirect the connection to the node with the least load and start a dedicated process on that node .
    Now how does the PMON know which is the least loaded machine.
    It gets the information from the FAN framework and load balance advisory.
    FAN framework consists the following processes
    MMON,PMON,ONS and AQ. (ONS is specific to Java clients and AQ is specific to ODI.Net clients)
    Load Balancing advisory calculates the goodness of a node and forwards to MMON.
    MMON builds the advisory and forwards it to PMON. And thus PMON is able to update all the listeners.
    Regards
    Krishna

  • Switch-independent load-balancing NIC teaming on server-side and MAC/ARP flapping on L2/L3 switches

    Since active deployment of Windows Server 2012, our servers support team began to utilize new feature - switch-independent load-balancing NIC teaming. At first look it seems great - no additional network configuration is required and load balancing is performed by server itself by sending frames in round-robin or some hash algorithm out from different NICs (say two for simplicity) but with same MAC address. Theoretical bandwith is now grown up to 2Gbps (if we have two 1G NICs per server) against failover NIC teaming configuration, when one of two adapters is always down.
    But how does this affect (if does) switching and routing performance of network equipment? From point of view of L2 switch - it has to rewrite its CAM table each time a server sends frame from different NIC. Isn't it expensive operation? Won't it affect switching in a bad way? We see in our logs that same server make switches to change mac-to-port associations several times per second.
    Well, and how does it affect routing, if the switch to which server is connected is L3 switch an performs routing for the subnet server connected to? Will CEF operate well if ARP entry chages several times per second?
    Thank you.

    Since nobody answered here, we created service request and got the following answer (in short):
    L2 MAC flapping between ports is very bad and you must avoid such configurations as much as possible. There is one possible variant that can be considered in your situation - use port-channel (either L2 or L3), in this configuration port-channel will be treted as single port and there won't be flapping.
    Conversation example is here: https://ramazancan.wordpress.com/tag/best-practice/

  • Load Balancing on RAC Test

    Hi Team,
    We have 2 node ORACLE 10g RAC setup on RHEL4
    We have to prepare a Load Balancing Scenario
    1. How and on what basis Client Requests/load balancing are done on the oracle 10g RAC nodes
    2. How to Moniotor on which node client request/tasks are performed
    Please Lighten me on this
    Thanks in Advance for your help
    Thanks,
    AJ

    1. depends on how your load balancing is setup - client side (tnsnames.ora) or server side (remote listener)
    See http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi_3.html#30
    2. select from gv$session

  • Oracle RAC Concept  - load balancing

    Hello All,
    I have a question about Oracle RAC and how it balance loading.
    What I know about Oracle RAC that it balancing load between its node, so if a new session is connected to the Database it will execute on the node which have less load.
    If I am having an application that connects to the database with few number of sessions and some sessions have huge (huge load) processes to execute while the other sessions are executing small process (in terms of load).
    So below is an example scenario that i am asking for an answer of it:
    if am having a two node RAC database.
    My application that is connected to this RAC database wants to execute three processes P1, P2 and P3 each will have a session correspondingly S1, S2 and S3
    Let is say that P1 will take 60% of the database resources (memory ....) and P2 will take 1% and P3 1%.
    So my question is it a sessions load balancing or Processes load balancing ? So in case and randomly (Managed by ORACLE RAC) S1 is connected to node 1 and it is using node 1 resources so the load on node 1 will be 60%, so when S2 and S3 needs to connect it will go to node 2 since node 1 is loaded. in that case i will have Node 1 using 60% of it is resources (becuase of S1 that is executing P1) while node 2 only uses 2 % (because of S2 and S3 that is executing P2 and P3).
    Is that how Oracle RAC works ? or it balance the load of S1 (60%) between node 1 and node 2 ?
    I am asking this question since my application is not users application, so it will connect to the database with few number of sessions, and 1 session of them may execute a huge process while the other are executing small processes.
    So in that case, how RAC is doing the balance loading?
    Regards,

    i hope , this links may help you.
    Thread: Server side Load balancing in RAC
    Server Side Load Balancing Testing
    read Oracle documentation:
    http://www.oracle.com/pls/db102/search?word=server+side+load+balancing&partno=
    http://www.oracleracexpert.com/2010/01/oracle-rac-load-balancing-and-failover.html
    http://www.databasejournal.com/features/oracle/article.php/3659411/Oracle-RAC-Administration---Part-15-Connection-Load-Balancing-and-FAN.htm
    http://oracleinstance.blogspot.com/2010/08/transparent-application-failover-taf.html

  • Load-balancing TNS redirect message to include IP instead hostname?

    Is it possible to configure somehow (via Oracle or OS settings) that on a TNS redirect message (as resulting from server-side load balancing), the embedded connection string contains the target instance address as an IP address instead of a hostname? Thanks!

    Ron wrote:
    Is it possible to configure somehow (via Oracle or OS settings) that on a TNS redirect message (as resulting from server-side load balancing), the embedded connection string contains the target instance address as an IP address instead of a hostname? Thanks!My guess is that this is dependent on how the Listener was instructed to listen on a port. I posted about in message {message:id=9120517} - how specifying an IP address as a listener end point changes the behaviour when specifying a hostname as end point instead.
    If instructed to use a specific IP address as listening end point, then it cannot really pass a hostname to the client as that hostname may resolve to another IP used by the server.
    It should be relatively simple to set up a test case for this - what Oracle (4 digit) version are you using?

Maybe you are looking for