About load balancing in rac

Dear Gurus
I want to ask about load balancing in RAC.
we have two nodes rac1 rac2 with physical ip as virtual ip as
rac1 rac2
physical 10.22.1.50 10.22.1.51
virtual 10.22.1.54 10.22.1.55
and two appliction servers app1 app2.Actually in tns file of app1 there is entry of virtual ip of rac1 (10.22.1.54)and in app2 virtual ip of rac2 (10.22.1.55). so we want to test whether load balancing is happening or not .like if app2 is down so whether the connection of app1 moving to rac2 also or not
so we down app2 and check.Guys tell me how could i check in that duration that whether connnection going to rac2.
i am unable to find the parameter of sessions connected in awr .Please tell how could i identify

i have stopped the IM's of one of my application server and checked the connections to my database with below query and according to it its connecting to both instances.Does it means that load balancing is happening fine.
SQL> SELECT inst_id, TO_CHAR(logon_time, 'DD-MON-YYYY HH24:mi:ss') "Hour when connected", count(*) "DB Sessions"
2 FROM gv$session
3 WHERE type = 'USER' and TO_CHAR(logon_time, 'DD-MON-YYYY HH24:mi:ss') like '%05-OCT-2011 17%'
4 GROUP BY inst_id, TO_CHAR(logon_time, 'DD-MON-YYYY HH24:mi:ss')
5 ORDER BY inst_id, TO_CHAR(logon_time, 'DD-MON-YYYY HH24:mi:ss');
INST_ID Hour when connected DB Sessions
1 05-OCT-2011 17:20:06 1
1 05-OCT-2011 17:27:18 1
2 05-OCT-2011 17:11:31 1
2 05-OCT-2011 17:26:28 2
2 05-OCT-2011 17:26:38 1
2 05-OCT-2011 17:27:18 1

Similar Messages

  • Weblogic: load balancing and RAC contention

    I cannot locate any useful documentation on this: I am trying to find the optimal configuration to allow an Weblogic Application server to load balance to RAC.
    I see high numbers of v$sqlstats.clwait_delta for sessions connected from weblogic servers; typically from 25-95% over the overall statement execution time.
    Configuration is a three node RAC 10.2.0.4 on Linux; with and eight node weblogic cluster connected using about 150 sessions (equally divided between the rac nodes), hosting a number of applications. They use "Least Connections" load balancing which means any thread(/connection) could be used next. The weblogic sessions connect to a RAC service that is configured with LOAD_BALANCE=YES.
    I suspect that contention is caused by behaviour such as
    - insert on one node, then immediately query back on another node
    - inserts to indexed tables being distributed across all three nodes.
    There is too much going on here, and I want to simplify the configuration to eliminate contention for the same data blocks across nodes - this will likely mean new database services configured with LOAD_BALANCE=NO and some form of application partitioning on the weblogic servers. There are other load balancing schemes available for weblogic; but none seem designed to work well with rac.
    Is there any best practice documentation available to configure weblogic on RAC (as opposed to single-instance, which doesnt have any such contention issues).
    Any pointers appreciated!
    Rgds
    Mark Teehan
    Singapore

    Hi,
    see these 2 whitepapers:
    http://www.oracle.com/technetwork/database/enterprise-edition/twpracwkldmgmt-132994.pdf
    http://www.oracle.com/technetwork/database/enterprise-edition/bestpracticesforxaandrac-128676.pdf
    they should provide you with enough information on what to do.
    Regards
    Sebastian

  • 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

  • Load balancing on rac database with single node appsTier

    Hi,
    Please advice me, I am working on to configure load balancing on appstier, following is my setup and steps I did so far.
    Host name      Services
    Clelx062ptlge --     Rac 1 – only database
    Clelx063ptlge --     Rac 2 – only database
    Clelx042ptlge --     All apps services including concurrent managers
    I have two R12 database(UDEV -- development & HRQA -- UAT), I only made changes in apps tier xml file of udev for some load balancing parameters, following are the changes I did.
    *<TWO_TASK oa_var="s_tools_twotask" osd="unix"> udev_806_BALANCE </TWO_TASK>*
    *<CP_TWOTASK oa_var="s_cp_twotask" customized="yes">udev_806_BALANCE</CP_TWOTASK>*
    *<TWO_TASK oa_var="s_weboh_twotask" osd="unix"> udev_BALANCE </TWO_TASK>*
    I changed the values from "UDEV" to given above value. After the above change I ran autoconfig. Then Concurrent managers and forms services are not automatically getting failover to second database node, I need to bounce services to fail it back to other available Rac node. Please note that we have only one appsTier
    Thanks,
    Tanveer Mohammed.

    Hi,
    Yes, i have checked the doc referenced, and already did the steps given in the doc. Also i did all the steps given into ID 388577.1 but still Concurrent managers and forms services are not automatically getting failover to second database node, I need to bounce services to fail it back to other available Rac node.
    Please advice...
    Thanks,
    Tanveer Mohammed.

  • Question about Load balancing with IISPROXY

              Hi,
              We are running WLS 5.1.0 SP5 on NT 4.0 SP6. We are not using clustering.
              We are able to round robin between multiple instances of the WLS successfully.
              Question: If one of the instances of WLS goes down, is there any way to configure
              the plugin to take it out of the loop automatically (without using clustering)?
              Thanks,
              Anil.
              

    This is not the syntax. Syntax is just this:
              MaxSkips=something.
              eg: MaxSkips=25
              The doc says:
              5:10:1000 for min:default:max
              By which we mean that default value is 10, max is 1000 and min is 5. I guess the
              docs are confusing about the syntax here. We will correct them.
              --Vinod.
              Anil Kommareddi wrote:
              > Vinod,
              > I could not find any documentation on the MaxSkips parameter except in the Service Pack
              > docs. The syntax is MaxSkips=min:default:max.
              >
              > how do the min and max parameters work?
              >
              > Vinod Mehra wrote:
              >
              > > Even if the servers in the WebLogicCluster list are non clustered you WILL be
              > > able to do load balancing. But the problem is if the servers go down the plugin
              > > will not remove them. But it not that bad. If an connection attempt fails the
              > > server is marked as bad and will be skipped for the next MaxSkips (default=10)
              > > cycles of load balancing. MaxSkips parameter is configurable for IISProxy
              > > (SP4 onwards, I think).
              > >
              > > -Vinod.
              > >
              > > Prasad Peddada wrote:
              > >
              > > > I believe there won't be any load balancing unless you use servers in a cluster. As
              > > > an alternative you can use hardware load balancers directly in a situation like this.
              > > >
              > > > Anil Kommareddi wrote:
              > > >
              > > > > Hi,
              > > > >
              > > > > We are running WLS 5.1.0 SP5 on NT 4.0 SP6. We are not using clustering.
              > > > > We are able to round robin between multiple instances of the WLS successfully.
              > > > >
              > > > > Question: If one of the instances of WLS goes down, is there any way to configure
              > > > > the plugin to take it out of the loop automatically (without using clustering)?
              > > > >
              > > > > Thanks,
              > > > > Anil.
              > > >
              > > > --
              > > > Cheers
              > > >
              > > > - Prasad
              

  • Load Balancing in RAC

    If you have 2 node cluster , you have configured Node 1 as Preferred instance and Node 2 as available.
    According to Oracle , the service will always run on a preferred instance and will relocate to available instance in case of preferred node failure.
    Also you have server side load balancing, as per documentation the service will relocate on available instance if the preferred node crashes.
    Question: How will Oracle take care of Load Balancing , since the service on available node will only run if the preferred node crashes. Since the service is not running on Node 2 (available instance) ? How will oracle distribute the connections among the nodes?

    The answer to your question depends one the configuration of your Oracle Net Services, Whether you have configured connection load balancing or server side load balancing. Oracle will only balance the workload among the database instance running the service. By default Oracle starts the service on prefered node and in your case you have configured only one preferred database instance for your service and at a time service will run on one node only so Oracle does not have any options to distribute the workload even if you have configured the server side load balancing for the services using the service level goals.
    To explain it further, consider you have 3 node cluster. The database instance on first and second node are preferred instances for the net service and service-level goals are defined for server side load balancing.
    Now suppose second node fails and Oracle relocates the service to third node. Because Oracle is aware about the services running in the cluster even the relocated services (You should read about LOCAL_LISTENER and REMOTE_LISTENER to understand how Oracle register services with listeners on other cluster nodes) thats why using the load balancing advisory Oracle decides, which node the new database connection should be connected.

  • Load balancing in RAC 11.2

    Hello,
    what is the best practise for rman backups load balancing for 11.2 RAC.
    Should we use scan listener or should we use old method of allocating each channel to each node ?

    If you are using FRA (db_recovery_file_dest - obviously a SHARED FRA diskgroup/filesystem etc.. ) you set parallelism and let it handle it. It will automagically do some load balancing. You no longer need to allocate/deallocate channels in this configuration.
    RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    # default backup device is disk
    RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 6;
    One thing to consider. Your archivelog backup destination needs to be accessible CLUSTER WIDE ie on ALL nodes.
    I would like to see Oracle support ACFS for this sort of shared location - currently it is not supported. I have tested it and it works, but there is still a single-point-of-failure. ASM itself.

  • Question about Load Balance SFTP service by using CSS1150X

    Does anyone come across of load balancing SFTP service by using CSS1150X? Typically by configuring CSS1150X to load balance FTP service, the configuration will as follow:
    content ftp_rule
    vip address 192.168.3.6
    protocol tcp
    port 21
    application ftp-control
    add service serv1
    add service serv2
    add service serv3
    active
    group ftp_group
    vip address 192.168.3.6
    add service serv1
    add service serv2
    add service serv3
    active
    However, for my personal understanding and knowledge, I will configure my CSS1150X as follow to load balance SFTP service:
    content sftp_rule
    vip address 192.168.3.6
    protocol tcp
    port 22 //Change 21 to 22
    application ftp-control
    add service serv1
    add service serv2
    add service serv3
    active
    group sftp_group
    vip address 192.168.3.6
    add service serv1
    add service serv2
    add service serv3
    active
    My question is, "application ftp-control" in content "ftp_rule" is still applicable to SFTP or not?

    I believe application ftp-control would not be used for sftp.
    This might cause the session to get dropped when there is no data channel created and cause issues with long connections.
    Hope it helps!!

  • Query about Load-Balancer 'proxy'

    Hi,
    When using load-balancer 'proxy', with multiple remote addresses defined, does the client randomly select the initial connection from the list of remote connections in the config file?
    I know the proxy will redirect a client to a less loaded proxy, however I want to distribute the initial connection randomly. In our configuration we will have a lot of extend clients. If they all connect to the first proxy in the list, this will cause that proxy to run hot (and possibly fall over).
    Hopefully I've explained that ok? It's quite a tounge-twister of technical terms. Anyhow if someone knows the answer to this I'd be grateful, as I can't find any clarification in the documentation.
    Cheers
    Rich

    Rich,
    When multiple remote addresses are defined, Coherence does randomize the address list defined in the configuration file and connect to the next address in the list.
    -Luk
    Edited by: lsho on Jul 19, 2012 10:56 AM

  • Question about load balancing between Portal and ABAP

    Hi,
    I have the problem whit load balancing between Portal and ECC (ERC) ABAP
    Exist two system:
    1) ECC (ERP) ABAP = Backend     Module = HR
    2) EP (JAVA) = Frontend
    The users (9000 users) logon in the EP and run query (data personal) in the ECC.  The problem to all user connect in Central Instance and not in the Dialog Instance.
    How can balancing the conecction HTTP (EP) to ECC (ABAP)??
    I need balancing in the ECC to Dialog Instance

    Jco -> right. Another possibility is that you use iviews that point to the backend in this case you will need to use a load balanced entry for the backend system in the [system landscape|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/8c1e438d7017fce10000000a42189c/frameset.htm] -> SAP_R3_LoadBalancing
    If you have ESS deployed on your portal, you will most probably need to do both.
    Cheers Michael

  • Question about Load Balancing Wireless connections using WLC- F5- ISE

    Hi all,
    Can anyone give me some orientation how the radius auth process/handshake between the WLC and ISE changes once the F5 is installed in the middle in order to perform load balancing?
    We can do some kind of load balancing by configuring different radius servers on each WLC for which, I must configure the same shared secret in the WLC and ISE so the radius request/accept could be processed.
    Now that we have the F5 in the middle, do I need to create/configure the same shared secret in the F5 so radius transactions can be processed by this device?. Based on the following link, I must configure the F5 in the ISE like another NAD device (similar to the WLC) but I do not know if this additional configuration in the ISE includes the Auth parameter to be added in the ISE NAD (F5) configuration.
    How to properly use a load balancer in Cisco's Identity Services Engine
    http://www.networkworld.com/community/blog/load-balancing-cisco-identity-services-engine
    Our sheme is shown next,

    When you covert the pair into SSO, all the APs will go to the ACTIVE unit.  No unit will "live" in the standby unit because this unit will "share" the AP-support license between the two.
    This is the first step you need to get sorted.  Send an email to [email protected] and give them the exact details of what you want to do (i. e.  AP SSO) and then provide the serial number of your nominated active WLC and the serial number of your nominated standby WLC.

  • Inquiry about Load Balancer 440

    Hi
    We are planning to buy the Barracuda Load Balancer 440- BBFI440a to be used as H/W load balancer for our applications and Ftp servers. We are using oracle application server 10.1.2.0.2 and Oracle BI and windows 2003 FTP server.
    My question is, does the Barracuda load balancer certified with Oracle AS 10.1.2.0.2?
    Thanks

    Rich,
    When multiple remote addresses are defined, Coherence does randomize the address list defined in the configuration file and connect to the next address in the list.
    -Luk
    Edited by: lsho on Jul 19, 2012 10:56 AM

  • Whats the best way to go about load balancing Exchange 2010 CAS

    My server guys want to LB the Exchange 2010 client access servers, this will be the 7th Context on my Ace 4710.
    see table for ports that are used
    Port
    Usage
    25
    smtp
    80
    http various
    110
    POP3 clients
    135
    RPC end point mapper
    143
    imap4 clients
    443
    SSL various
    993
    secure imap 4 clients
    995
    secure pop3 clients
    6001
    rpc related outlook anywhere
    6002
    rpc related outlook anywhere
    6003
    rpc related outlook anywhere
    60200
    rpc CAS
    60201
    exchange address book service
    whats the best way of going about this?
    do I just LB the IP addresses of the Servers and ignore the ports?
    do i have to do anything special for ports 993 and 995 secure imap and pop?
    I am sure there are more questions I shold be asking!

    OK
    so If I have a single serverfarm with all services do I filter on  the virtual
    address something like below?
    class-map match-any EXCH_vip
    match virtual-address 172.16.93.2 tcp eq 25
    match virtual-address 172.16.93.2 tcp eq 80
    match virtual-address 172.16.93.2 tcp eq 110
    match virtual-address 172.16.93.2 tcp eq 135
    match virtual-address 172.16.93.2 tcp eq 143
    match virtual-address 172.16.93.2 tcp eq 443
    match virtual-address 172.16.93.2 tcp eq 993
    match virtual-address 172.16.93.2 tcp eq 995
    match virtual-address 172.16.93.2 tcp eq 6001
    match virtual-address 172.16.93.2 tcp eq 6002
    match virtual-address 172.16.93.2 tcp eq 6003
    match virtual-address 172.16.93.2 tcp eq 60200
    match virtual-address 172.16.93.2 tcp eq 60201

  • 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

  • 2 App servers in farm will be auto failover and load balanced?

    Dear all,
    We are going to setup following SharePoint farm:
    2 WFE
    2 APP
    2 OWA
    2 SQL with shared NAS
    We will have hardware load balance in front of 2 WFE. From my understanding, the 2 WFE will detect which APP server is available and send the request there.
    Hence, if APP1 is down, all traffic come from both WFE will be directed to APP2.
    But I am not so sure about the part about load balance. If all the 8 server instance are working properly, the new request come from WFE2 will be sent to APP1 or APP2? Or it depends on which service application is asking?
    In addition, we planned to run all search components on APP servers. But the 2 APP servers are both 16GB memory which is lower than suggested specification.  I am considering whether I can assign all the search workload on APP2 while all the other on
    APP1.
    Thanks.
    Mark

    Here is a good artcicle on how SharePoint load balances service applications:
    http://blogs.msdn.com/b/dtaylor/archive/2011/02/23/sharepoint-2010-service-application-load-balancer.aspx 
    Yes you can create APP02 as search server but then service apps will not be redundant , so it would be better to run all the service apps on both the servers and if you see any memory issues, then scale it later.
    As per
    http://technet.microsoft.com/en-us/library/651dba4d-8751-4bd8-9492-f2842b2e1177(v=office.15)#HW_Enterprise , 16 GB is recommended for application server  so i think you should be okay unless there is very high load .
    Amrita Talreja

Maybe you are looking for

  • Free goods more than one for a single good

    hi gurus how to allocate more than one free goods for the purchase of one material. answers will be highly apprecieated

  • Follow up action worklist

    Hi, What is follow up action work list and where do we define it? Regards Deepak

  • MDS error while starting Admin server

    Hi, I am getting below error while starting Weblogic Admin Server : [2012-02-06T20:53:34.247-05:00] [AdminServer] [ERROR] [] [oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Defa

  • Using mingw to make a .dll for use in labview ?

    I have seen some posts on this, but none of them take it all the way from C code to configuring the shared library node... My code is heavily based on this: http://forums.ni.com/ni/board/message?board.id=170&thread.id=171056 Here are my files: //reed

  • HT1819 'Byte-Range' request error, but no problems using Advanced menu

    On Windows Vista PC, latest iTunes update: No trouble subscribing to podcast feed using Advanced menu. iTunes will even update/load new episodes, but I receive 'byte-range' request error when submitting podcast feed to the directory. Is it normal to