Oracle RAC Concept - load balancing

Hi all

I have a question about the Oracle RAC and how it balances the load.
What I know about Oracle RAC that it load balancing between his node, so if a new session is connected to the database it will run on the node that has less load.
If I have an application that connects to the database with little number of sessions and a few sessions are huge (huge load) implementation process while other sessions are running small processes (in terms of load).

So here's an example scenario that I request a response to this one:
If am having a two node RAC database.

My application connected to this database RAC wants to run three processes P1, P2 and P3, each will have a session correlatively S1, S2 and S3
Let's say that P1 will take 60% of database resources (memory) and P2 P3 1% and 1%.
So my question is this a sessions load balancing or load balancing process? So in this case and at random (Managed by ORACLE RAC) S1 is connected to node 1 and it uses the resources of node 1 so the load on node 1 will be 60%, so when S2 and S3 must connect it will go to node 2 from node 1 is loaded. in this case I'll have 1 node using 60% of it's resources (because of S1 that runs P1) while node 2 uses only 2% (because of the S2 and S3 running P2 and P3).
Is - this operation of Oracle RAC? or it S1 (60%) load balance between nodes 1 and 2?

I ask this question because my application is not users, so it will connect to the database with the small number of sessions, and 1 session of them can run a huge process while the other runs of small processes.
So in this case, how RAC takes stock of loading?

Kind regards

Check out more excellent document on the management of the CAR of James Morle connections:
http://www.scaleabilities.co.uk/index.php/view-details/whitepapers/12-RAC_Connection_Management.pdf.html

Registration is required, but free...

-Mark

Tags: Database

Similar Questions

  • Configuration of AppsTier (CFP, load balancing) of nodes R12 Multi with RAC 2 nodes

    Dear all,

    I installed and configured applications R12 with Oracle RAC 2 nodes. (APP1, DB1 and DB2).

    Now, I need to add a layer of application (APP2) to configure high availability, balancing load and PCP.

    So, I cloned (adcfgclone.pl appsTier) application for APP2 layer (not shared, the two file systems are different). When I run the application it doesn't knot APP2 App1, more more simultaneous manager works only on a node (can be due to APPLCSF does not point to the mounting NFS share folder), although I've defined managers primary school-children also.

    If I run the autoconfiguration of APP1 application service will only work on APP1 and even if I do for APP2, then application works with APP2. I need to have configuration CFP, balancing the load (via DNS if possible) and the high availabllity for the Application tier.

    When I start the application, it will start OPMN and APPS Listener on the nodes, but simultaneous manager does not start on both, to a single node.

    Is this requires having both APPS name of the node is the same?

    Thank you very much

    Ravi Purbia

    Published by: Purbia delighted on June 9, 2009 18:04

    Published by: Purbia delighted on June 9, 2009 18:05

    Published by: Purbia delighted on June 9, 2009 18:07

    Ravi,

    If I run the autoconfiguration of APP1 application service will only work on APP1 and even if I do for APP2, then application works with APP2.

    Most likely, it's something with the profile option values, then run utility adchkcfg to get an html report that lists all files and profile options that change when you run AutoConfig on each node.

    I need to have configuration CFP, balancing the load (via DNS if possible) and the high availabllity for the Application tier.

    For load balancing, you must perform the steps according to the guidelines of this document.

    Note: 380489.1 - using Load-balance with Oracle E-Business Suite Release 12
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=380489.1

    For the installation of the CFP, please see:

    Note: 388577.1 - using Load-balance with Oracle E-Business Suite Release 12
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=388577.1

    When I start the application, it will start OPMN and APPS Listener on the nodes, but simultaneous manager does not start on both, to a single node.

    Any errors in the log file of CM?

    Is this requires having both APPS name of the node is the same?

    It is not necessary.

    Kind regards
    Hussein

  • Monitoring of Tuxedo 9.1 and RAC load balancing?

    Hi all

    I wrote this question in the old forum that BEA [http://forums.bea.com/thread.jspa?threadID=300006084] and now I have more question about monitoring in a tuxedo with RAC load balancing:

    How can I control in a tuxedo with RAC load balancing?
    How can I verify that the tuxedo load balancing is running correctly?
    How can I know that this group using my requests?

    We need to know if the query uses the instance ORARAC1 (groups of GRP_A1 and GRP_A2) or
    use failure ORARAC2 (groups of GRP_B1 and GRP_B2).

    There is a tool (same txrpt) that displays this information in a Tuxedo 9.1?

    Thanks in advance

    P.D.: Excuse my English

    Hello

    How can I control in a tuxedo with RAC load balancing?

    You can use the tmadmin pq and ESP see work queue of orders and the work done by each server.

    How can I verify that the tuxedo load balancing is running correctly?

    What do you mean by properly? This is an area where many clients think that Tuxedo isn't the load balancing, but in fact it is. In general, Tuxedo will select the first server offering a service that does all work queued to it. If all servers have jobs queued, then Tuxedo will select the server with the least amount of work waiting in line. Specifically, this means that if the system is not enough charge, the first server in the list of servers offering service will receive all applications. Note that this is what happens in a single machine and no data dependent routing and routing CARS in the picture. With data dependent routing or TUXRACGROUPS defined, the algorithm is similar, but the possible servers to consider are limited according to the setting of data dependent routing or TUXRACGROUPS as explained in the note on the other.

    How can I know that this group using my requests?

    Without TSAM (Tuxedo system) and Application Monitor, it will be nearly impossible to tell which groups and servers a particular request was sent to. What you trying to accomplish?

    We need to know if the query uses the instance ORARAC1 (groups of GRP_A1 and GRP_A2) or
    use failure ORARAC2 (groups of GRP_B1 and GRP_B2).

    Without changes to the application or using TSAM, it's going to be very hard to say. Why is it important for your application?

    Kind regards
    Todd little
    Chief Architect of Oracle Tuxedo

  • Can someone tell me what the recommendation of Oracle is on how to best configure the load balancer?

    We are currently using the "configuration.properties" file to identify load balancing our servers, but we are curious to see if it is the recommended method to configure load balancing, or if there is a better way.

    I opened a case with Oracle support and asked the same questions - entry configuration.properties of the file servers is the only supported method used by Peoplesoft to balancing upward through 8.54.

    See also: how the Installer Application Server Load balancing and failover (Doc ID 1252846.1)

  • RAC load balancing question

    We have added a third node of a cluster with two nodes on 11/7. Before the addition, expenses (via the OS uptime command or above) on the two first nodes were included between 20 and 40. The first node was the more active of the two, rarely fall below 30, but on both charges were very high. These first two nodes have two dual core CPU with 16 GB of RAM, who have six cases of db on each. The third node has two quad core CPU and 16 GB of RAM. We added only the busiest db on the third node, so there is only a single instance. We have added the third node to all remote to connect DB files tnsnames, with LOAD_BALANCE = yes. For the first week, Sunday 11/7 to Sunday 11/14, most incoming connections were still nodes 1 and 2. Connections have been made to node 3, but not as much as we would like. However, since this last Sunday 11/14, the majority of the connections are nodes 2 and 3. Rarely a connection will node 1. We can connect directly on node 1 with no problems. Nothing has changed over the weekend and nothing has been restarted. Is something that takes a while to 'calibrate' load balancing? Is there something that we can check or change to give a more balanced load? We are new on the PAP, so we are puzzled as to why it happened this way. Any guidance or advice is greatly appreciated.

    You must configure at the level load balancing server-side.

    (1) register all instances in any listener by setting local_listener and remote_listener of init parameters
    (2) CLB_GOAL set of each service, to set the expected duration of connections ("SHORT" for the pools of connections or "LONG" for forms)
    (3) set the GOAL of each services, updated the workload expected (FLOW for batch) or TIME of SERVICE for web sessions

  • Client based in 12 G load balancing

    We have a JDBC configuration against an address scan with client load balancing enabled.

    Example:

    JDBC:Oracle:Thin:@(Description=(LOAD_BALANCE=on)(Address=(Protocol=TCP)(Host=xxxxxxxxxxxx.de)(port=xxxx))(CONNECT_DATA=(service_name=XXXXXX)))

    What I understand of Diference between Client-side and Server Load Balancing If you do not use the server load balancing, you can bypass by connecting the service that identifies a particular node of RAC name.


    My question is, if you have a connection pool object this configuration and if the name service maps node to goes down, what happens to the connection connection pool?


    Issue 1) Don't scan address switches to the available according to the name of the service node, then the JDBC driver on the client must file all embusked connections and reconnect the available node? or is all the agnostic client failure of node on and all the old connections available in the pool are available for use?



    The client side or server balancing side basically works for the same purpose. The difference is that you do not have all the customers to reconfigure then change something in the environment, such as adding or removing a node such as the side server.

    Answer your question...

    If you mean the shared server architecture by connection pool, the shared server session connected to node 1 will die and everyone shares this session should log. Failover is not automatic, you must specify the failover clause in the JDBC or TNS connect string:

    TEST_TAF =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)

    (HOST = rac - scan.example.com) (PORT = 1525))

    (CONNECT_DATA =

    (SERVICE_NAME = test)

    (FAILOVER_MODE = (TYPE = SESSION) (METHOD = Basic))

    ) )

    Or if you use failover and load balancing services you set failover described below:

    for 12 c: srvctl $ add orcl db-test - oel6vm1 favorite-available oel6vm2 - tafpolicy BASE - failovermethod SESSION service service - failoverretry 5 - failoverdelay 60

    for 11g: $ srvctl add service d orcl if test - r oel6vm1 - oel6vm2 BASIC EI SESSION m - z 5 AW 60

    Was what you mean?

  • load balancing server-side

    Hi all

    I'm using Oracle RAC 11 g R2. I have a question for load balancing server-side.

    If I have 3 sessions that are already connected to node 1 and it is running on node 1.

    The balance of the load moves a session to node 2, node 1 is still in place but is charged more then node 2. and the session already connected to node 1?

    Kind regards

    The balance of the load moves a session to node 2, node 1 is still in place but is charged more then node 2. and the session already connected to node 1?

    If you are already connected, you'd be here on the same node, even if it becomes unavailable. There will be no movement of the sessions from one node to another by oracle since load balancing server-side is only at the time of connection .

    Aman...

  • Reg Load Balancing

    Hello

    How to configure the load balancing server-side.

    I've seen two types of load in service and Session based.

    How to specify the options for all of the two

    I know by setting the load_balance = setting will now allow in the tnsnames.ora file.

    whether above parameter enable client side load balancing or server side load balancing

    Suggest me any document which explains as well for example.

    Thank you
    Krishna

    VV of Krishna wrote:
    Hello

    How to configure the load balancing server-side.

    This is done by using the Remote_listeners parameter.
    >

    I've seen two types of load in service and Session based.

    How to specify the options for all of the two

    Never heard of the two! Show us the reference for oracle documentation when they are mentioned.

    I know by setting the load_balance = setting will now allow in the tnsnames.ora file.

    whether above parameter enable client side load balancing or server side load balancing

    This allows for connection time load balancing client-side which is actually not a true one and 11.2 CARS, its not so need to be settled.

    Suggest me any document which explains as well for example.

    Let the oracle docs to be your friend,
    http://download.Oracle.com/docs/CD/E11882_01/RAC.112/e16795/hafeats.htm#RACAD7122

    HTH
    Aman...

    Thank you
    Krishna

  • The side load balancing test server

    Hello
    Can anyone tell me about any test cases for server side in a 11.1.0.7 RAC load balancing?

    I have a 2 RAC nodes with either local_listener and remote_listener correctly (for load balancing server-side). For the test, I create a TNS to my side client that points to a single node of the PAP (a single ADDRESS entry pointing to node 1 of my CARS). So, this customer, whenever I log in, it always connects me node 1 I mentioned in the LMO. This means that server-side load balancing works jointly with the client side only load balancing and I would also add the address entered my TNS for the second node? If Yes, then how can I create a test case to check server load balancing?

    Thank you

    Salman

    Dear Salman Qureshi,

    There is a small video about load balancing server (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/server/serverloadbalance_viewlet_swf.html)

  • Least loaded node load - balancing

    Hello
    Due to dynamic service registration, a listener is always aware of all instances and dispatchers regardless 
    of their locations. Depending on the load information, a listener decides which instance and, if shared server 
    is configured, which dispatcher to send the incoming client request to. In a shared server configuration, a 
    listener selects a dispatcher in the following order:
    
    1. Least-loaded node
    2. Least-loaded instance
    3. Least-loaded dispatcher for that instance
    
    In a dedicated server configuration, a listener selects an instance in the following order:
    
    1. Least loaded node
    2. Least loaded instance
    When we talk about connection (from 9i to Oracle RAC) load balancing it are two things main considered as least loaded node & least loaded instance.
    So what factor should be considered for an average of least loaded node CUP, memory, IO, network or even the number of process running(running,sleep,...) is oracle gather information from top, utility wink to get statistician.
    And when we say least loaded node this factor are considered by oracle is that, as the number of sessions (active, inactive...) "(or killed), using component CMS." Can we say load on node is proportional to the load on the Forum... How oracle identifies and what process does it for balancing.

    Any docs or paper?

    Thank you

    Hello

    10.1 and oracle 9i

    Less loaded node means less CPU load
    Least loaded instance means less number of connections that have been made to the instance

    'Process' and "instance charge" gives an indication of the number of connections that have been made to the instance.

    "Charge of node" gives an indication of the degree of activity of the machine is. By default, 'charge of node"is the main factor in determining where to go new connections.
    For example, if you have a 2 RAC cluster and instance 1 has a load of instance node and '25' 2 has a charge of '50' node, new connections will be routed to
    instance 1.

    Changes to Oracle 10.2
    In versions of Oracle 10.2 and later, the listener uses a local value "lbscore" to determine the charge of node and instance.
    Lbscore consists of two dynamic values 'kindness' and 'delta' which are continuously updated by pmon.
    When an instance is started PMON will communicate with the listener and provide departure for goodness and the delta values...

    Listener = goodness of PMON Lbscore
    Listener Delta = Delta PMON

    To account for changes in load between PMON updated, the listener will increment the lbscore after each new incoming connection...

    Lbscore listener = listener (previous) Lbscore + earpiece Delta

    With each periodic update load by PMON the Lbscore and Delta are updated with the current data.

    Lbscore = goodness (receipt of updated PMON)
    Delta = New Delta (receipt of updated PMON)

    This note explain everything:
    * Understand and troubleshoot the Instance Load Balancing [ID 263599.1] *.

    Kind regards
    Levi Pereira

  • manual load balancing or tnsnames load balancing

    Hussein,

    We have 2 nodes apps (apps1 and apps2 both on a separate machine) connection to a database of cars 2 nodes (db1 and db2 both on a separate machine).
    We want to apply the load balancing across 2 application servers. I "heard" can be actually using the tnsnames.ora load balancer? Or I'm just out of this world. :)

    Thank you very much

    Ms. K

    Salvation;

    Please check below and see its helpful:

    11i RAC JDBC & listener Load Balancing Configuration [244366.1 ID]
    Implementation of load balancing across Oracle eBusiness Suite - Documentation specific Load Balancer Hardware [ID 727171.1]
    In 11i [ID 148516.1] load balancing
    How http://ID to ensure the load balancing of concurrent process CFP - RAC Configuration Manager 762024.1
    Configuration of 11i for balancing [ID 117421.1]
    JSP error after implementing [ID 269208.1] JDBC load balancing
    How to configure the load balancer for Workflow 2.6.3 [ID 311803.1]

    Respect of
    HELIOS

  • WebLogic and Oracle RAC + DataGuard

    Hello

    I'm testing Weblogic 9.2 with Oracle 10g RAC (2 knots) and Oracle DataGuard and trying to find the best possible data source configuration that would deal with load balancing between RAC nodes and failover/switchback between RAC nodes and data pending. The problem I see is that all Oracle instances must be open in order to successfully deploy the data sources on Weblogic. This means that, at the time of the creation/deployment and after every restart WebLogic, all Oracle instances must be upward and running and accept connections, because otherwise the data sources will not be instantiated and therefore not accessible to the consumer application.
    Is it possible to smoothly deploy data sources without having to go through the hassle of ensuring all nodes RAC and DataGuard are open?
    What I expected, it is that the data source would be instantiated but disabled if no connection is available. Having to redeploy the data source once the database is available again is a limitation regarding transparent high availability.
    Thank you.

    Hi, Yes. Configure the pool to have an initial capacity of zero. Then it will be
    deploy and not try to make connections. He'll only try when / if
    He is asked at run time. While the DBMS is not passed, the
    Data source throws an exception just until the DBMS is in place.

  • How to configure OAM 11.1.2 the script load balancing?

    Hello

    I am currently setting up Oracle Access Manager to work with load balancing

    I'm doing this configuration:

    In fact, I did the configuration with my browser, and I'm looking to do the same thing with a script.

    Where is the configuration stored? Domain configuration file? DB store?

    Is there a command WLST to do this config?

    Concerning

    An excerpt from wlst that will do the trick:

    domainRuntime()

    name = ObjectName ("oracle.oam", "type", "Config");

    writeSig = ["java.lang.String", "javax.management.openmbean.CompositeData"]

    oamHostKey = "DeployedComponent/Server/NGAMServer/profile/OAMServerProfile/OAMSERVER/serverhost.

    oamPortKey = DeployedComponent/Server/NGAMServer/profile/OAMServerProfile/OAMSERVER/serverport"."

    oamProtKey = "DeployedComponent/Server/NGAMServer/profile/OAMServerProfile/OAMSERVER/serverprotocol.

    MBS. Invoke (name, 'applyStringProperty', [oamHostKey, StringSettings(oamHostKey,"__myhostname__").toCompositeData (StringSettings.toCompositeType ())], writeSig)

    MBS. Invoke (name, 'applyStringProperty', [oamPortKey, StringSettings(oamPortKey,"__443__").toCompositeData (StringSettings.toCompositeType ())], writeSig)

    MBS. Invoke (name, 'applyStringProperty', [oamProtKey, StringSettings(oamProtKey,"__https__").toCompositeData (StringSettings.toCompositeType ())], writeSig)

    its dynamic and you need to worry about increasing the version number or concurrent access, etc...

  • Issue of INS-35354 when installing Oracle RAC 12 on infrastructure Oracle Grid 12

    Hello

    I am trying to install Oracle RAC 12.1.0.2 one node installation on Windows Server R2 2012, but the installer told me:

    'Valid [INS-35354] the system on which you try to install Oracle RAC One doesn't not part of a cluster.'

    On the same server I have is installed and running Oracle Grid Infrastructure + ASM.

    I don't know what is missing the installation program, which is possible to register? The installation program does not provide which had not passed the specific audit.

    Thanks for the tips

    Georg

    Hello

    A CCR node does not mean that you install the grid infrastructure in a single node and install a base of a RAC data on this node.

    Basically, a concept CAR is similar to active passive clustering to provide high availability. To have a node database RAC upward and launched, you will have to install clusterware on at least two server by selecting the option during the installation of the IM.

    Pls follow the below post for detailed answer

    INS-35354: validates the system on which you are trying to install Oracle RAC not part of a group when installing a 12 c RAC node database

    Concerning

    Krishnan

  • The implementation of hyperion IR application load balancing while 2 servers point to a DB?

    There is a DB production. Some time need to configure the load balancer for Hyperion interactive report achieve high availability.

    As know there are a lot of method to implement load balancing, want to know if

    given two machines virtual (each of them has its own application server), and two of them going to point to the same DB via shared Assembly called/U01 player.

    After the official documentations of oracle documented, there are scarce resources can refer to, any who knew this case of configuration before?

    Hello

    We have implemented this type of solution:

    (1) server 1: install and configure in usual way. Better to use different patterns for each product.

    When you configure Reporting and analysis framework services give repository location as shared drive location.

    (2) server 2: Installation of any product that has been installed in the server 1. While configure the database for the shared services registry point to detail diagram 1 server, it automatically configure the database for all the other remaining products.

    When you configure Reporting and analysis framework services give location of the repository as a shared drive which gave in Server 1.

    Make sure that the Shared disk is accessible from both servers.

    You can deploy applications weblogic Server from Server 2 by giving details of server 1. ensure that the weblogic Server 1 service must always be upward and running for Server 2 workspace to work.

    So if we set up the web server in both servers, then you must have load balancer and configure logical web address to this server for load balancing.

    If you configure only in one of the server, then this workspace server that url will act as load swing url.the problem with this is always THAT OSH must be running or workspace url will not work

    hope you understood.

Maybe you are looking for

  • cRIO9031 features not available

    I use Labview2015 to program the cRIO-9031. But when I put the project and after the device, there is a note that 'features not available' and the model cannot function normally. The problem is presented as the image below. Can someone give a little

  • Problems with the last update of Windows - XP

    My office has recently installed a few days ago most recent Windows automatic updates. I have never had any problem with them until once they have been installed. Now, I am constantly the dreaded BSoD, and my computer not acting is not right. My tv t

  • Impossible to open some websites using IE (7?).

    dv2500_Vista.  IE (7?) has recently become impossible to open some Web sites (youtube - never; fb, yahoo - sometimes).  It started a few days ago.  This applies to all users, some with and without parental control - although there seems to exist a va

  • CD/DVD drive does not recognize the DVD media disc.

    Greetings, Had problems with my CD/DVD drive not being able to recognize that a DVDmovie disc is in the drive. I tried to turn on/off, reinstalled the driver, update the driver, check if AutoPlay is enabled (currently set to invite me) and have used

  • Does not burn downloaded to the conversion of WAV to CD, MP3

    It's because the length of the file cannot be determined.  I ticked all the right boxes in the Library/Options/Privacy tab, yet do not burn.