In 2 Node RAC clients always connect to Node 2...

Dear all,
I have installed RAC 10gR2 on Oracle Enterprise Linux Version 4 Update 5. ASM as storage option on iscsi shared storage.
In Enterprise Manager I can see 2 instance are UP! i can connect to oracle from any one of the node. All services are running fine on both nodes.
But when i connect to RAC database from any client machine it always connect to the second node where database instance BSS2 is running and never connects to BSS1.
I use this query to check which instance:
SELECT
instance_name
, host_name
, NULL AS failover_type
, NULL AS failover_method
, NULL AS failed_over
FROM v$instance
UNION
SELECT
NULL
, NULL
, failove_type
, failover_method
, failed_over
FROM v$session
WHERE username = 'SYSTEM';
My tnsnames.ora contains the following entry:
ORA_DEVP, ora_devp.world =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.63)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.64)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora_devp.idevelopment.info)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
I dont know why id do not connect to Node 1. RAC is running but the very basic feature is missing in my configuration. Kindly help.
Regards, Imran

Well, looking at this query more connections are on node 2 while very few are on node 1. Maybe this is because of instance load balancing BUT clinets are connecting to both nodes.
Thanks Jonathan.
Another thing is that i can not establish Transfer Application Failover (TAF) between the node, like if i am connected to node 2 from a client machine and when i stop instance running on node 2 and again try to run query from client it lost connection. Infact it should have transfered to node 1 instance.
Following is the entry on my tnsnames.ora file on both node (same on both nodes)
# tnsnames.ora.oraclecl2 Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora.oraclecl2
# Generated by Oracle configuration tools.
BSS2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl2-vip.beaconhouse.edu.pk)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = bss.beaconhouse.edu.pk)
(INSTANCE_NAME = bss2)
BSS1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl1-vip.beaconhouse.edu.pk)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = bss.beaconhouse.edu.pk)
(INSTANCE_NAME = bss1)
ORCL_TAF =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl1-vip.beaconhouse.edu.pk)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl2-vip.beaconhouse.edu.pk)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl_taf.beaconhouse.edu.pk)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
BSS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl1-vip.beaconhouse.edu.pk)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl2-vip.beaconhouse.edu.pk)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = bss.beaconhouse.edu.pk)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
LISTENERS_BSS =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl1-vip.beaconhouse.edu.pk)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl2-vip.beaconhouse.edu.pk)(PORT = 1521))
#Edited by Imran
ORA_DEVP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl1-vip.beaconhouse.edu.pk)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = oraclecl2-vip.beaconhouse.edu.pk)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora_devp.beaconhouse.edu.pk)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
also show service parameter commands show
ora_devp.beaconhouse.edu.pk as a service...
but it do not automatically tranfer the instance.
Thanks.

Similar Messages

  • Clone multi-node RAC and ASM to single node

    Hi everyone.
    I need clone system with 3 application server and 2 oracle database RAC and ASM to single-node. The operating system is RHEL 5.
    I see some metalink notes, but we can't found nothing. I find notes with multi-node to single-node, but nothing with RAC to non-RAC.
    The eBS version is 11.5.10.2 and database version is 10.2.0.3
    Is possible this clone?
    Thanks very much.

    Hi User;
    Please follow below and see its helpful:
    EBS R12 with RAC and non-RAC
    Re: RAC to single instance ebs R12
    Re: Clone Oracle Apps 11.5.10.2 RacDB to Non-RAC DB
    Re: CLONING R12 RAC to NON RAC CLONING giving error RMAN-05517 temporary file
    [b]Migrating the DB-Tier (DB and CM) to Two node non RAC cluster[/b]
    Also check:
    http://www.oracle.com/technology/pub/articles/chan_sing2rac_install.html
    Regard
    Helios

  • Strange issue in Oracle ASM on Two node RAC where in one ASM node shows all diskgroup while other node shows  missing node.

    We have Oracle datbase 11gR1 in RAC node with Oracle ASM.Recently our database server got crashed and we are trying to restore back services.
    Using Snapshot technologyBusiness copy we had synced all our disk on storage level. Post this when we are trying to start ASM instance on node 1 it is coming and showing all diskgroups but on other node it is throwing errot with missing e diskgroup.
    ORA-15032: not all alterations performed
    ORA-15040: diskgroup is incomplete
    ORA-15042: ASM disk "5" is missing
    Expert please share your views.
    Thanks,
    Tushar

    The I/O fabric layer on the other node failed to mount all storage LUNs - resulting in ASM being unable to mount a diskgroup as there are missing disks in that group.
    Rebooting is exactly what could be needed to reset the h/w and infrastructure used by that node, in order for it to see all the storage disks again. As node 1 sees all storage disks (and is working), the disk itself on the storage system is intact and usable.
    What is the o/s? What is the fabric layer? What is used on o/s for dealing with the I/O fabric layer?

  • Routing all connections through a one node in a 2 node RAC cluster

    Hi everyone
    My client has the following requirement: an active/active RAC cluster (eg node1/node2), but with only one of the nodes being used (node1) and the other sitting there just in case.
    For things like services, i'm sure this is straightforward enough - just have them set to preferred on node1 and available on node 2.
    For connections, I imagine I would just have the vips in order in the tns file, but with LOAD_BALANCING=OFF, so they go through the tns entries in order (i.e node 1, then node 2), so this would still allow the vip to failover if node 1 is down.
    Does that sound about right? Have I missed anything?
    Many thanks
    Rup

    user573914 wrote:
    My client has the following requirement: an active/active RAC cluster (eg node1/node2), but with only one of the nodes being used (node1) and the other sitting there just in case.Why? What is the reason for a "+just in case+" node - and when and how is is "enabled" when that just-in-case situation occurs?
    This does not many any kind of sense from a high availability or redundancy view.
    For connections, I imagine I would just have the vips in order in the tns file, but with LOAD_BALANCING=OFF, so they go through the tns entries in order (i.e node 1, then node 2), so this would still allow the vip to failover if node 1 is down.
    Does that sound about right? Have I missed anything?Won't work on 10g - may not work on 11g. The Listener can and does handoff connections, depending on what the TNS connection string say. If you do not connect via a SID entry but via a SERVICE entry, and that service is available on multiple nodes, you may not (and often will not) be connected to instance on the single IP that you used in your TNS connection.
    Basic example:
    // note that this TEST-RAC alias refers to a single specific IP of a cluster, and use
    // SERVICE_NAME as the request
    /home/billy> tnsping test-rac
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2011 09:06:33
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS=(PROTOCOL=TCP)(HOST= 196.1.83.116)(PORT=1521)) (LOAD_BALANCE=no) (CONNECT_DATA=(SERVER=shared)(SERVICE_NAME=myservicename)))
    OK (50 msec)
    // now connecting to the cluster using this TEST-RAC TNS alias - and despite we listing a single
    // IP in our TNS connection, we are handed off to a different RAC node (as the service is available
    // on all nodes)
    // and this also happens despite our TNS connection explicitly requesting no load balancing
    /home/billy> sqlplus scott/tiger@test-rac
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 18 09:06:38 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
    SQL> !lsof -n -p $PPID | grep TCP
    sqlplus 5432 billy    8u  IPv4 2199967      0t0     TCP 10.251.93.58:33220->196.1.83.127:37031 (ESTABLISHED)
    SQL> So we connected to RAC node 196.1.83.116 - and that listener handed us off to RAC node 196.1.83.127. The 11gr2 Listener seems to behave differently - it does not do a handoff (from a quick test I did on a 11.2.0.1 RAC) in the above scenario.
    This issue aside - how do you deal with just-in-case situation? How do you get clients to connect to node 2 when node 1 is down? Do you rely on the virtual IP of node 1 to be switched to node 2? Is this a 100% safe and guaranteed method?
    It can take some time (minutes, perhaps more) for a virtual IP address to fail over to another node. During that time, any client connection using that virtual IP will fail. Is this acceptable?
    I dunno - I dislike this concept of your client of treating the one RAC node as some kind of standby database for a just-in-case situation. I fail to see any logic in that approach.

  • 11gR2- webutil upload file to AS on two nodes RAC?

    Hellow experts plz help with the following issue,
    we are using 11gR2 forms on two node rac,webutil configured on both nodes. upload/download files to AS folder(UP_FILES) using our forms. node 2 is actually replica of node 1(forms,reports,UP_FILES). we are now facing a problem that the form which upload file to AS, only upload that to the node from where it is running say if it is running from node1 then it upload files to folder UP_FILES on that node( as the entry in webutil.cfg file) but we want that UP_FILES folder should be synced with each other on both nodes and a form running whether from node1 or node2 upload the file to both nodes at time.
    How this will be accomplished?
    --------webutil.cfg entry
    transfer.appsrv.read.3=D:\UP_FILES
    transfer.appsrv.write.3=D:\UP_FILES
    -----FORM UPLOAD CODE
          IF :CONTROL.FILE_LOC IS NOT NULL THEN
            acyr3 := :CONTROL.TXTVOUCHERNO||'-'||acyr2 ;
           FILE_RESULT := WEBUTIL_FILE_TRANSFER.CLIENT_TO_AS_WITH_PROGRESS(CLIENTFILE=>:CONTROL.FILE_LOC,
           SERVERFILE =>'D:\UP_FILES\'||acyr3||'.PDF',
          PROGRESSTITLE=>'UPLOAD TO DATABASE IN PROGRESS',
          PROGRESSSUBTITLE=>'PLEASE WAIT' );
          END IF;
    --FORM DOWNLOAD CODE
            FILE_RESULT := WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT_WITH_PROGRESS
                 CLIENTFILE=>'D:\UP_FILES\'||acyr3||'.PDF',
            SERVERFILE =>'D:\UP_FILES\'||acyr3||'.PDF',
          PROGRESSTITLE=>'DOWNLOAD FROM DATABASE IN PROGRESS',
          PROGRESSSUBTITLE=>'PLEASE WAIT'
                 CLIENT_HOST('rundll32.exe url.dll,FileProtocolHandler D:\UP_FILES\'||acyr3||'.PDF');
                 IF FILE_RESULT THEN
      message('File downloaded successfully from the Application Server');
      END IF;

    Well, you're uploading the file to one node, so this is no surprise. What you can do is to store your file on a shared folder (which might be a bit tricky on windows) or synchronize a folder between your nodes. Unfortunately Forms can't access ASM directly (assuming you are using ASM), so you can't store your files directly in ASM where it would be accessible from both nodes.
    cheers

  • 9ir2 Single Node RAC + RH80

    Hi all.
    I'm triying to install a single node RAC based in the single node rac for linux document in the metalink.
    The document was made based in a oracle 9iR1 database an RH71, I have followed the steps and i have a working kernel made by my own, the raw devices, and softdog hacked for being testing only. But the service does not go up.
    I don't know if someone have made a single node rac instalation and can help me to choose the right pieces.
    I don't have a RHAS2.1 but I do have a UnitedLinux 1.0 Server Patched.
    I want to try the RAC tech but here (ecuador-sudamerica) is dificult to find firewire cards and disks so I´m working around a single node instalation.
    Any help will be apreciate.
    Fernando

    Hi
    Database version and GI versions are 11.2.0.2.2. And these are not multinode RAC configuration at any given time only single instance will be there for any given database. Some thing like ACTIVE and PASSIVE in hardware clusters such are VCS (Veritas Clusters).
    I agree with you failover sinario in multi node (2 or more) RAC environments. In single node clustering only one instance will be there, like services in multinode, here whole instance will be re created on available nodes.
    Hi
    Database version and GI versions are 11.2.0.2.2. And these are not multi node RAC configuration at any given time only single instance will be there for any given database. Some thing like ACTIVE and PASSIVE in hardware clusters such are VCS (VERITAS Clusters).
    I agree with you failover scenario in multi node (2 or more) RAC environments. In single node clustering only one instance will be there, like services in multi node, here whole instance will be re created on available nodes.
    Thanks,
    Thanks,

  • Multi-Node RAC-EBS R12 document

    Hi All,
    I am looking for high level steps for a clone of a multi-node RAC-EBS install along with expected times.
    Could someone please share such a document for R12?
    Thanks for your time!
    Regards,

    Hi
    It is mandatory to be certified for RAC clones.
    Note: 783188.1 - Certified RAC Scenarios for E-Business Suite Cloning
    You have not mentioned what kind of clone do you looking for whether it's Multi-Multi or Multi -Single,please see the below thread for multi to single instance
    Please see this docs
    Clone multi-node RAC and ASM to single node
    Thanks
    yakub

  • 2 Node RAC with Single Node Standby Help

    Hello Everyone -
    I'm preparing to set up a 2 node RAC and use a single-node standby database.
    I'm a bit confused on how to set up the Standby Redo Logs on the standby to use the LGWR functionality from the RAC instances.
    Should I just create a set of standby redo logs (alter database add standby logfile...) like on a single-instance environment or do I need to create standby logfile threads (alter database add standby logfile thread. . . ) one for each cooresponding thread on the RAC?
    It just seems odd that 2 RAC redo threads are able to write to one standby redo logfile at the same time (or maybe each RAC redo thread picks the first available standby redo log and writes to it??)
    If anyone has some advice or insight, I'd appreciate it.
    Andy

    Hello Andy,
    Did you get answer to your question about RAC with single standby?
    Could you please share with me your experience if you have done so.
    Thanks
    Amit

  • One of 4 node RAC always have higher load averages and higher than others

    Hello,
    We have a 4 node rac, 9208 on linux 4. When viewing top, we noticed the same one node always have a higher load average than the other 3 nodes. Is this normal. Loan balance is working fine but this one node always have higher load average. This is the node where we do the rac installation. Thank you.

    I do not remember what is the default for clb_goal (client load balancing) for 9i but 10g is LONG.
    check it
    select clb_goal from dba_services where name = <service name>
    you may have to change from LONG to SHORT OR SHORT to LONG depending your connection types.
    dbms_service.MODIFY_SERVICE(‘<service>’,clb_goal=> dbms_service.CLB_GOAL_LONG);
    Read the following article.
    http://www.databasejournal.com/features/oracle/article.php/3659411/Oracle-RAC-Administration---Part-15-Connection-Load-Balancing-and-FAN.htm

  • Oracle client 8i connecting to one node only

    Hello all,
    I had 2 node RAC database setup, in which when a person in development team tries to connect to the RAC database via oracle client,He can able to connect to one node only,when i tried tnsping80 utility it showing one VIP address
    He using oracle 8i client on windows7
    Database is 10G RAC and load balance is on in both database and client
    please provide the solution

    Hi,
    Also I am not sure whether 8i client is certified with 10g database or not.
    Do you have a metalink account. Read this Doc ID 207303.1
    Regards

  • Can fiber channel be used for connect server to a storage in two nodes RAC

    I decided to have an Oracle RAC cluster with only two nodes.
    The storage I have is a sun 3510FC. Also have five fiber chanal ports. But my each server (Sunfire v240) has got one Ultra160SCSI multimode (SE/LVD) not any fiber chanal ports. I found that there is some FC card available to use but none fiber switch available. I want to install this FC cards to the servers and make a straight connection with fibre cable to the storage. Can this be asolution or do i have to have a fibre switch?

    Hi
    Irrespective of whether such a configuration is supported or not by Oracle.
    Has anybody got 10gR2 RAC working on
    a. 2 servers
    b. shared storage with HBA and fibre channel cables
    c. interconnect on LAN
    (yes we know it is not supported by Oracle...but again we are not going production on that....just for demo/training purposes)
    No FC switch
    No ethernet switch
    If anybody has got this working would be great to hear of 'issues to guard against'
    Thanks

  • Always Connected Client

    Hi Experts,
    I am getting started with the Netweaver Mobile - always connected
    is there any client to install on my PDA .... isn't it the same as occasionally connected or it is different??
    please clear it to me

    Hi Ahmed,
    Occasionally connected clients and Always connected clients are different. 
    Always connected clients enables the users to directly access the business application online using mobile devices such as pocket PCs and Blackberry wireless handhelds.
    You can refer the below link to get more details on always connected clients.
    https://www.sdn.sap.com/irj/sdn/nw-mobile?rid=/webcontent/uuid/20ffed54-9812-2a10-9fb5-cb973a37ba3b#section4 [original link is broken]
    For Occasionally connected client, please refer this link.
    SAP NetWeaver Mobile [original link is broken]
    Regards,
    Dhanya
    Edited by: Dhanya K Moni on Dec 10, 2009 6:51 AM

  • All connections are connecting to 2nd node only in a 2 Node RAC Cluster

    Hello,
    I have a 10.2.0.3 database on a two node RAC Cluster with only one service configured. This service set to be preferred on both nodes.
    However, all the connections are falling on Node2 only. Any idea where to look.
    $> srvctl config service -d PSDB
    psdbsrv1 PREF: psdb1 psdb2 AVAIL:
    Thanks,
    MM

    Application is using the following connection string.
    jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = PQ2-PS-db-01-vip)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = PQ2-PS-db-02-vip)(PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = PSDBSRV1)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 5))))
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Slow Connection Speed on one node in a 2 node RAC set up

    hi all
    Having a bit of trouble with one of the nodes in a 2 node RAC set up
    We have traffic being sent directly to the node in question (using a serivce that only runs on Node 1)
    Forced connection to this node (sqlplus) from a remote application server takes 3 times longer than it does if we force conneciton to the second RAC node.
    If I try and connect locally - the conneciton speed is instant -
    There are NO performance issues with the server
    There are NO perfromance issues with the instance / database - this is only noticed when making the initial connection
    I have been around the network for the node and can see nothing wrong - so was wondering if there was anything you guys might have experienced whereas conneciton time is slow for one node only (949 ms - compared to 247 ms on node 2)

    If anyone out there is interested or comes accross this issue
    The problem turned out to be mount point options pm the Linux Volumes
    I had them configured as part of best practice for RAC / NetApp / Direct NFS - hjowever I also had individual binaries for both nodes so as to have greater availability.
    Thereffore I should have had the mount options for SINGLE NODE.
    Change was to
    - shutdown the instance
    - unmoiunt the binaries
    - change the following on fstab
    <mount>          <volume>             nfs   rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0        0 0
    to
    <mount>          <volume>             nfs    rw,bg,hard,rsize=32768,wsize=32768,vers=3,nointr,timeo=600,tcp
    - startup the instance and repeat on Node 2

  • Mutliple serveres in a two node RAC

    hello friends m i newbie in RAC and i have 7 servers in my company 4 are for oracle database used for different purposes having same instance name on each of them and 3 are for application servers used for different purposes having same instance name and i want to use two node RAC for all of them now my question is
    1) can i use all the 7 servers (4 database and 3 application) together in a two node RAC?
    2) in RAC can i have different instances having same name?
    thanx in advance

    saugat chatterjee wrote:
    hello friends m i newbie in RAC and i have 7 servers in my company 4 are for oracle database used for different purposes having same instance name on each of them and 3 are for application servers used for different purposes having same instance name and i want to use two node RAC for all of them now my question isRAC is a single database running across multiple servers (db instance on each). That is how Oracle scales.
    Oracle does not scale the converse way - running multiple databases on a single server.
    1) can i use all the 7 servers (4 database and 3 application) together in a two node RAC?That depends entirely on whether the 2 severs have the capacity to deal with the processing load currently handled by the database servers.
    Also note that in Oracle the terms "+database+" and "+schema+" differ from what are used by some other RDBMS products.
    An Oracle database is a physical entity. An Oracle schema is a (amongst other things) a logical database. So a single physical Oracle database can contain 1000's of logical databases - and these logical databases can be physically separated from one another (via tablespaces), can have different rights, can have different resource profiles, etc.
    Each RAC node is part of a shared everything cluster - meaning that the entire physical database is available on each and every RAC node.
    On RAC, you can do what is called application partitioning. You can for example configure HR clients to make use of the HR logical database (schema) on RAC node 1. RAC node 3 is for example used for the Data Mart application and node 2 handles the customer billing clients.
    In other words, you partition your applications across RAC nodes.
    2) in RAC can i have different instances having same name? The instance name is a physical name and should very seldom be explicitly used. Your physical RAC database's SID may be PROD. Your 4 RAC instances, one on each server, will have SIDs PROD1 to PROD4.
    But you should instead create database services and have clients connect (via the RAC's SCAN/Single Client Access Name) to a specific service.
    Bottom line to keep in mind - RAC is Oracle's answer to scalability. And RAC is multiple servers and a single database. Doing the converse and running multiple database on a single server (RAC or no RAC), very seldom makes any technical sense. It almost always will reduce both performance and scalability.

Maybe you are looking for