How to check the load balancing in Oracle 11gR2 2 node RAC

Dear All,
Can any one please assist me how to check whether the incoming connections are evenly distributing across the nodes..?
We have two nodes, when we check the sessions counts in both nodes, Most of the time we could see node -1 has more no of sessions than node-2..? So just wanted to know whether load balancing is happening or not ...? If not how to enable it and distribute the incoming connections evenly..?
Oracle 11gR2 / RHEL5

SQL> select inst_id,count(*) from gv$session where username is not null group by inst_id;
INST_ID COUNT(*)
1 43
2 40
Not sure how to check the users are connecting through scan or not ..? But below are scan setttings...
SQL> !srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1521
SQL> !srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node za-rac-prd-02
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node za-rac-prd-01
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node za-rac-prd-01
SQL> !srvctl config scan
SCAN name: rac_prd.abc.local, Network: 1/10.100.130.0/255.255.255.192/eth6.64
SCAN VIP name: scan1, IP: /rac_prd.abc.local/10.100.130.55
SCAN VIP name: scan2, IP: /rac_prd.abc.local/10.100.130.54
SCAN VIP name: scan3, IP: /rac_prd.abc.local/10.100.130.53
SQL>

Similar Messages

  • How to use the Load Balancer Plug-in to serve multiple domains

    In SJSAS8.1 SE/EE the asadmin commands that create and maintain a load balancer configuration operate within a domain. When the load balancer configuration is exported an xml file is created that contains all the information for that domain. To make the load balancer plug-in balance the load for multiple domains, the loadbalancer.xml files can be manually merged to conatin the data that is exported from each domain's load balancer configuration.
    For example, 2 domains are created, both having a load balancing configuration. After exporting both configurations using the asadmin export-http-lb-config command, the user would then cut and past the cluster information into the single loadbalancer.xml file that resides under the web server's config directory.
    An example of the manually merged loadbalancer.xml file follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <loadbalancer>
    <cluster name="domain1">
    <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://localhost:1026 https://localhost:38181" name="i1"/>
    <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://localhost:1027 https://localhost:38182" name="i2"/>
    <web-module context-root="ab" disable-timeout-in-minutes="30" enabled="true"/>
    <health-checker interval-in-seconds="5" timeout-in-seconds="60" url="/"/>
    </cluster>
    <cluster name="domain2">
    <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://localhost:1029 https://localhost:38189" name="i3"/>
    <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://localhost:1030 https://localhost:38188" name="i4"/>
    <web-module context-root="webservice" disable-timeout-in-minutes="30" enabled="true"/>
    <health-checker interval-in-seconds="5" timeout-in-seconds="60" url="/"/>
    </cluster>
    <property name="response-timeout-in-seconds" value="60"/>
    <property name="reload-poll-interval-in-seconds" value="5"/>
    <property name="https-routing" value="false"/>
    <property name="require-monitor-data" value="false"/>
    <property name="route-cookie-enabled" value="true"/>
    </loadbalancer>
    Hope this helps - Mark

    Mark, be my savior, I work for SUN as subcontractor at client site. the only one at site ...so I depend on this forum for solutions........
    still having trouble failingover to second instance. I have two AccessManagers behind this loadbalancer.
    Here is what I saw......
    **************LOGS**********************
    [20/Jun/2005:14:22:47] failure (15102): for host 128.114.65.13 trying to GET /amconsole/base/AMA
    dminFrame, service-passthrough reports: timed out waiting for request body
    [20/Jun/2005:14:22:47] warning (15102): reports: lb.runtime: ROUT1014: Non-idempotent request /
    amconsole/base/AMAdminFrame cannot be retried.
    So I went and updated the loadbalancer.xml (see at the end of the msg). Now I get a different kind of problem...
    **************LOGS******************************
    [20/Jun/2005:15:25:18] failure (15295): for host 128.114.65.13 trying to GET /amconsole/base/AMA
    dminFrame, service-passthrough reports: timed out waiting for request body
    [20/Jun/2005:15:25:18] info (15295): reports: lb.runtime: RNTM3003 : Error servicing the request : NoVal
    Here is my loadbalancer.xml file...
    <loadbalancer>
    <cluster name="cluster1">
    <instance name="instance1" enabled="true" disable-timeout-in-minutes="1" listeners="http://idm-test-1.ucsc.
    edu:80 "/>
    <instance name="instance2" enabled="true" disable-timeout-in-minutes="1" listeners="http://idm-test-2.ucsc.
    edu:80 "/>
    <web-module context-root="amconsole" disable-timeout-in-minutes="1" enabled="true" error-url="sun-http-lber
    ror.html" >
    <idempotent-url-pattern url-pattern="/*" no-of-retries="3" />
    </web-module>
    <web-module context-root="amserver" disable-timeout-in-minutes="1" enabled="true" error-url="sun-http-lberr
    or.html" >
    <idempotent-url-pattern url-pattern="/*" no-of-retries="3" />
    </web-module>
    <web-module context-root="ampassword" disable-timeout-in-minutes="1" enabled="true" error-url="sun-http-lb
    error.html" />
    <web-module context-root="amcommon" disable-timeout-in-minutes="1" enabled="true" error-url="sun-http-lberr
    or.html" >
    <idempotent-url-pattern url-pattern="/*" no-of-retries="3" />
    </web-module>
    <health-checker url="/" interval-in-seconds="15" timeout-in-seconds="2" />
    </cluster>
    <property name="reload-poll-interval-in-seconds" value="60"/>
    <property name="response-timeout-in-seconds" value="30"/>
    <property name="https-routing" value="false"/>
    <property name="require-monitor-data" value="true"/>
    <property name="active-healthcheck-enabled" value="true"/>
    <property name="number-healthcheck-retries" value="3"/>
    <property name="route-cookie-enabled" value="true" />
    </loadbalancer>
    **************************************************************

  • Help! how to check the SQL run in Oracle?

    Hi all,
    I have a problem. the developer said the SQL written in Java code are not the one executed in Oracle DB. that mean the query is some how manipulated by some PL/SQL so the final query run in Oracle is different. So can someone teach me how to check the actual SQL run in Oracle?
    Thanks a lot.
    Regards,
    Jason

    Hi Michel Thanks. But it looks like the query stored in v$sqlarea is not the final executable SQL. for example, the code in application is "select column_A from default_table where column_A = ?" and this ? will be given some value in run time. the query stored in v$sqlarea will be like "select column_A from default_table where column_A = :1"... what is this :1?
    Also if some PL/SQL procedure appends some condition to the SQL, is it possible to view the full query from database side?
    ok, let me try trace and tkprof first.

  • What to audit and how to manage the audit records in oracle 11gr2

    can anyone help me how to audit and manage the audit records in oracle 11gr2

    867726 wrote:
    can anyone help me how to audit and manage the audit records in oracle 11gr2
    Hi,
    I would recommend have a read this link for details http://download.oracle.com/docs/cd/E11882_01/server.112/e10575/tdpsg_auditing.htm#TDPSG50000
    Cheers

  • How to check the date of an Oracle session

    hello
    How to check how long a session was opened?
    thx

    set lines 100 pages 999
    col ID          format a15
    col osuser     format a15
    col login_time     format a14
    select      username
    ,     osuser
    ,     sid || ',' || serial# "ID"
    ,     status
    ,     to_char(logon_time, 'hh24:mi dd/mm/yy') login_time
    ,     last_call_et
    from     v$session
    where     username is not null
    order     by login_time
    Regards,
    Andy Barry

  • How to open the second VM in Oracle 11gR2 2-nodes RAC system ?

    Folks,
    Hello. I have been installing Oracle Database 11gR2 RAC system using 2 nodes that are 2 Virtual Machines (rac1 and rac2) on the top of VMPLayer 3.
    I follow the tutorial http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html to do.
    The original Virtual Machine rac1 has run correctly. I configure rac1 network (eth0 and eth1) by opening VM rac1 and using command "[root@rac1\] #neat" as root user to invoke the network configuration.
    For the second Virtual Machine rac2, I simply copy all files in "C:\VM\rac1" into "C:\VM\rac2". Then I have done the following:
    1) In the directory "C:\VM\rac2", rename "rac1.vmx" to "rac2.vmx".
    2) Change display name from "rac1" to "rac2" in the file "rac2.vmx".
    The next thing to do for rac2 is to open the Virtual Machine rac2 and configure its network (eth0 and eth1) by using the command "[root@rac2\]#neat" as root user.
    But by this step, I don't understand how to open the Virtual Machine rac2 so that can configure its network (eth0 and eth1).
    Can any folk tell me how to open the VM rac2 to configure its network by this step ?

    Hi,
    But by this step, I don't understand how to open the Virtual Machine rac2 so that can configure its network (eth0 and eth1)."rac2" is a new virtual machine after you copied and changed the display name and you need to add this in the vmware enventory (I am talking about vmware server and vmware player should have the same way as it is supposed to run multiple vritual machines on your PC). Then it will be visible it to you. Now start this new machine and edit the network configuration.
    Salman

  • How to check the Oracle Release?

    Hi,
    How to check the release version in Oracle AS ?
    And
    How to find what oracle AS release has happened in year (example 2005)?
    Best Regards

    There are a couple of ways I use to find the version:
    1. Open the Oracle Universal Installer on the machine where the OAS is installed, click on Installed Products. That should display the product and the version number.
    2. Set the oracle environment variables, then run the command below
    +$ORACLE_HOME/jdk/jre/bin/java -jar $ORACLE_HOME/j2ee/home/oc4j.jar -version+
    This should display the version of the OC4J which generally is the version of the OAS (unless you have applied any one-off patches)
    Have no idea about the second part of your question. Sorry.
    - Steve

  • Functional load balancing in oracle RAC

    Hi all,
    Could anyone suggest how to setup functional load balancing in oracle RAC? Will there be any performance improvement in doing so? I implemented server side load balancing and the performance of INSERT, UPDATE and DELETE are very poor. Will functional load balancing be of any use? Please tell me the steps of how to implement functional load balancing?
    Regards,
    Aravind
    Edited by: Aravind K R on Jul 12, 2011 2:49 PM

    Aravind K R wrote:
    Hi all,
    Could anyone sujjest how to setup functional load balancing in oracle RAC? Will there be any performance improvement in doing so? I implemented server side load balancing and the performance of INSERT, UPDATE and DELETE are very poor. Will functional load balancing be of any use? Please tell me the steps of how to implement functional load balancing?
    Regards,
    Aravind
    Hi,
    Load balancing will not necessary increase performance, it just distribute the load more evenly.
    Is the DML statement only slow in specific instance?
    To prove if there is problem with load balancing, have you tried connect to one instance and perform same DML statement? compare the result
    Cheers

  • Using the load balancer

    Hi, I just started using the SJWS7.0. When a client sends a request, is the request to the load balancer server name or the admin server name? Any information on how to use the load balancer will also be appreciated

    The server where the load balancer is running. The admin server has not play in the load balancing beyond allowing you to configure and manage it using the administration console.

  • Can anyone tell me how to check the balance on an iTunes gift card that is not yet scratched?

    Can anyone tell me how to check the balance on an iTunes gift card that is not yet scratched or activated?

    If it's not printed on the card, then you'll need to check the receipt from the purchase of the card. There's no way to check the value from the card itself without redeeming it.
    Regards.

  • How to get a server name through the load balancer

    Hi.
    I'd like to get the server name where is my application installed. There are some servers and clients access there throuth the load balancer. When I try to get it with request.getServerName(), I get the virtual address of the load balancer.
    Any suggestions?
    Thanks.

    Dear Sikindar;
    THanks for your cooperation, but I believe that these Tcodes will eb helpful if I know the table name, actually we don't know its name and that's what I'm asking about, how can I get the table name for the ABAPer?
    Appreciating your cooperation.
    Best Regards;
    Lobna

  • How to check the performance of the database instance in oracle apps 11i

    hii everybody,
    i want to know,how to check the performance of the database instance using oracle applications 11i.your help highly appreciated,thanks.

    Pl do not post duplicates - how to check the performance of the server in oracle applications 11i

  • How to check the Oracle Apps version 11.5.10.2 or 11.5.10.1

    Hi,
    I have a basic question. How can I check the version fo my oracle apps instances. Whether it is 11.5.10 or CU1 or CU2.
    Also, how to find what all patchsets were included in each version.
    Thanks.

    I have a basic question. How can I check the version
    fo my oracle apps instances. Whether it is 11.5.10 or
    CU1 or CU2.- From the application, navigate to Help > About
    - Check "s_apps_version" value in the context file
    - Run the following query:
    SQL> select release_name
    from fnd_product_groups;
    Also, how to find what all patchsets were included in each version.Check "List of Included Patches" section:
    Note: 298352.1 - 11.5.10 Oracle E-Business Suite Consolidated Update 1
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showNOT?p_id=298352.1
    Note: 316366.1 - 11.5.10 Oracle E-Business Suite Consolidated Update 2
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showNOT?p_id=316366.1
    Note that the patches included in CU2 are cummulative -- they include the contents of CU1.

  • How the Load balancing happens in CPO

    Hi All,
    On what bases the process engine selects the process or request and how the load balancing happens.

    Hi!
    I am a little confused by the question (as it refers to "request"), but I am going to assume that you are asking how a High Availability Process Orchestrator environment with several servers chooses which processes running on which server.
    The answer to that question is...
    In general, processes to be executed are split equally between all servers. The only piece of data being taken into account during process instance assignment is the current load on the servers (as counted by the number of top-level processes, not counting child processes). For example, suppose that there are 3 servers in the environment, and server A is running 5 top-level processes, servers B & C are running 3 top-level processes. When new process is started (e.g. on a schedule or manually or triggered via an external event), it will be assigned to either server B or server C for execution, because servers B & C have less load. If under the same circumstances (A:5, B:3, C:3), there are 4 processes started at the same time. When the work is distributed, the total expected work 5+3+3=11 (existing work) and 4 (new work) will be distributed equally with, with servers B&C each getting 2 new processes.
    This is a general load balancing algorithms used by the servers in HA environment to decide which server runs which process instance.
    There are other factors that come into play, as some processes/activities can only run on server A or server B for technical limitations (e.g. SAP work against a particular SAP System can only be executed from one server in the environment). When those come into play, the work may end up distributed unevenly.
    Note that available memory, CPU load, or disk space on servers are not directly taken into account during load distribution.

  • How to check the performance of the server in oracle applications 11i

    hii everybody,
    i want to know,how to check the performance of the system(test server) using oracle applications 11i.your help highly appreciated,thanks.

    938946 wrote:
    hii everybody,
    i want to know,how to check the performance of the system(test server) using oracle applications 11i.your help highly appreciated,thanks.Please see old threads for the same topic/discussion -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Performance+AND+Tuning&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for

  • Can not find location of method in Flash example

    The issue that I am having is that I have search high and low to find where the method "flashmo_graphic()" is defined in the example that can be found here: http://www.flashmo.com/preview/flashmo_158_heart_effect I also attached folder.  There is a "

  • How unhealthy is this RAC?

    Here's is the contents of v$system_event.. Is this EVENT     TOTAL_WAITS     TIME_WAITED     AVERAGE_WAIT enq: TX - index contention     40564851     214701526      5.29 enq: TX - row lock contention     188846     12454614     65.95 enq: SQ - conten

  • SetCtrlAttribute doesn't update ATTR_LABEL_TEXT

    I am calling SetCtrlAttribute(handle, ATTR_LABEL_TEXT, graphcontrolID, "arbitrary text"), but the text label on the graph control isn't getting updated.  I tried calling ProcessDrawEvents(), but that doesn't help.  How do I get the label to change? S

  • Approved RMA but status is Pending

    Hi, I enabled the iStore Return process with Approval. I created one RMA order and Approved by an approver, but the RMA order status still Internal Pending Approval. How to change the order status to Booked at Header level now Internal Pending Approv

  • Save button in workbook not working

    Hi, We have a SAVE button in Workbook using BI IP Functionality.Usually users will enter data through this which will be saved in real time cubes. Data is inputted in workbook and SAVE button is clicked to save the data,This button is integrated in w