Tnsentries in 11g RAC

Dear all,
We have 11g RAC installed on Solaris 5.10
Our failover TNS Entries are like this
TEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.94)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HYDES)
TEST1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HYDES)
whem am giving tnsping test and tnsping test1 from any client , it works fine..connection succeded..
but when am trying to connect using sqlplus user@test
am getting the error :
Enter password:
ERROR:
ORA-12545: Connect failed because target host or object does not exist
whereas I can able to connect sqlplus user@test1
Any ideas ?
Kai
LOCAL_LISTENER IS ALREADY set to the listener name on both the nodes..
I can able to connect from the server , but from any client it is giving this problem
Thanks
Kai

LOCAL_LISTENER is not supposed to be the listener name - it should be a tnsnames entry from the server's tnsnames.ora (in $ORACLE_HOME/network/admin). Or it can be an embedded connect string such as "(ADDRESS=(PROTOCOL = TCP)(HOST = 192.168.0.85)(PORT = 1521))".
Check that LOCAL_LISTENER is configured correctly with "lsnrctl services <LISTENER_NAME>" on your server - you should see the instance listed as accepting connections. If you don't see the instance then maybe you have an invalid TNSNAMES alias in LOCAL_LISTENER.

Similar Messages

  • Oracle 11g RAC on RHEL 4.0, error on 1 Node while running ./root.sh for CRS

    Hi,
    I am trying to install Oracle 11g RAC on RHEL 4.0 on Vmware and at the end of CRS installation when installer asks to run the two scripts (orainstRoot.sh and root.sh) on one node (on the node where runInstaller is started) throws following error
    [root@LRAC1 crs]# ./root.sh
    WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
    WARNING: directory '/xhdd/u01/crs' is not owned by root
    WARNING: directory '/xhdd/u01' is not owned by root
    WARNING: directory '/xhdd' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: cannot execute binary file
    /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig: line 78: /xhdd/u01/crs/oracle/product/11.1.0/crs/bin/ocrconfig.bin: Success
    Failed to upgrade Oracle Cluster Registry configuration
    [root@LRAC1 crs]#
    While on the second node the root.sh script does not give any errors, here the output
    [root@LRAC2 crs]# ./root.sh
    WARNING: directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/xhdd/u01/crs/oracle' is not owned by root
    WARNING: directory '/xhdd/u01/crs' is not owned by root
    WARNING: directory '/xhdd/u01' is not owned by root
    WARNING: directory '/xhdd' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    Oracle Cluster Registry configuration upgraded successfully
    The directory '/xhdd/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs/oracle/product' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs/oracle' is not owned by root. Changing owner to root
    The directory '/xhdd/u01/crs' is not owned by root. Changing owner to root
    The directory '/xhdd/u01' is not owned by root. Changing owner to root
    The directory '/xhdd' is not owned by root. Changing owner to root
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: lrac1 lrac1-priv lrac1
    node 2: lrac2 lrac2-priv lrac2
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Now formatting voting device: /dev/sdd1
    Format of 1 voting devices complete.
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Cluster Synchronization Services is active on these nodes.
    lrac2
    Cluster Synchronization Services is inactive on these nodes.
    lrac1
    Local node checking complete. Run root.sh on remaining nodes to start CRS daemons.
    Any ideas to solve this issue.
    Thanks in advance,
    Sameer

    I tried reinstalling again and it worked on Vmware Server.Some oracle products are certified on Oracle VM , but not RAC at the moment.
    You can download Oracle VM from otn.oracle.com
    Check ML Note:464754.1 for details about Certified Software on Oracle VM.
    - Virag Sharma
    http://virag.sharma.googlepages.com/

  • Anybody using 11g RAC Database with OIM 9.1.0.2?

    Hi,
    We have poor performance problems with 11g RAC Database with OIM 9.1.0.2.
    It looks like the issue could be because of RAC Ccluster.
    Anybody using 11g RAC Database with OIM 9.1.0.2?
    If so, What is the JDBC Driver r u using? Also what App Server (Weblogic or OAS etc) ?
    Appreciate your input.
    Regards
    Vijay Chinnasamy

    We are using weblogic 10.3. And I am sorry to tell you that we are yet to move to production.
    We are planning to have Database in RAC, so i just thought of taking inputs from you.
    can you tell me under what operations you face the poor performance issue?
    For us the max no. of users in production is around 6k. So I am wondering how this RAC availability will affect the performance.
    Thanks for sharing your inputs.

  • How to create listener in 11g RAC on windows 2008 server

    Dear All,
    i worked on win 2003 and linux 4, 5 too. i have installed oracle RAC on both windows and linux.
    now i have installed oracle RAC11gR1 on windows 2008 server.than installed oracle software . now i want to create listener from db_home which i am facing problem.
    i m starting netca from db_home. following the insturction when i finishing it , the proces get started but in the middle is showing the listener on node1 and node2 can't be created.
    please guid me how i willl be able to creat it.
    2nd poing how to create asm instance on RAC11gR1. is it need to install saparate home like 10g for that or i can create from 11g software home.
    thanks,
    sher khan

    thanks for the update ,
    dear oracle 11g rac recomends to create ocr and voting disk on asm.
    i followed the documents they are saying you have to install grid control infrastructure and than need to create asmcfs.(automatic storage management cluster file system.).
    how to create asmcfs to avoid the gridcontrol, if its must is it need to install on one node or both nodes.
    can you plz guide me how to do this .
    thanks,

  • Upgrade Oracle 10g RAC - Oracle 11g RAC on Linux Environment

    We are planning to Upgrade our databases to Oracle 10g RAC - Oracle 11g RAC which is Linux Environment. Kindly suggest me the best option for migration. Our production database size is 80GB.
    - Frest installation of oracle 11g using export/iimport dumps
    - Migration
    - Upgrade process
    Any information regarding this will be appreciated.

    Pl identify exact versions of "10g" and "11g", along with the exact OS versions.
    Pl see the upgrade doc - http://docs.oracle.com/cd/E11882_01/server.112/e23633/toc.htm
    HTH
    Srini

  • Oracle EBusiness DBA and Architect Available - Expert in 10g and 11g RAC

    I have implemented Ebusiness on all OS's - upgraded every OS - mixed environment, Linux migrations - CUrrently just wrapped up an 11.5.10CU2 - 10g - to R12CU4 11g RAC upgrade
    Call me for help - available - [email protected]

    Hi,
    First of all, you better created a new thread for this question, but still an attempt to answer your questions:
    Sizing is a very delicate task. It will be very difficult to size only on database size and # concurrent users.
    What anyone in this business would need to know is the processor architecture (Intel/Sparc/Power/etc.) and speed, the type of OS, etc.
    The best thing you can do is go to your hardware provider and see if they have anything like a sizing questionnaire to fill in (I know IBM, HP and Sun -at least used to- have them) and send it back to them to come up with a sizing estimate for you.
    It is generally better to have the Concurrent Manager away from the database tier. You can consider separate Concurrent Manager nodes, or include them into your application tier nodes.
    Regards,
    Arnoud Roth
    Oracle E-Business Suite Technical Architect

  • Upgrade oracle 9i RAC to Oracle 11g RAC

    Hi all,
    db version:oracle 9.2.0.5 RAC
    OS:Linux
    My project team and client is planning to upgrade oracle 9i RAC to Oracle 11g RAC.
    please suggest any MOS notes any links.
    thanks,
    Visu.
    Edited by: visu996253 on Apr 8, 2013 5:30 AM

    db version:oracle 9.2.0.5 RAC
    OS:Linux
    My project team and client is planning to upgrade oracle 9i RAC to Oracle 11g RAC.
    please suggest any MOS notes any links.Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
    http://www.oracle.com/technetwork/products/upgrade/index-088044.html
    785351.1 - Oracle 11g Upgrade Companion
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17222.pdf - Oracle® Database Upgrade Guide 11g Release 2 (11.2) E10819-02
    Edited by: KR10822864 on Apr 8, 2013 5:52 AM
    added more info.

  • Oracle 11g RAC installation on windows 2008 64 bit

    Hello Everyone,
    can i get some details regarding Oracle 11g RAC installation on windows 2008,
    minimum Hardware Requirement
    Will windows support ASM
    Can i get a documentation regarding the RAC installation on windows. we were planning to have 11.5 on windows 2008.
    please send me some docs regarding os requirements, installation and ASM details.
    Thank you

    Hi Everyone,
    I installed Oracle RAC 11g on Windows 2008 64 bit, The installation was successfull crs_state -t executed successfully.
    Bt the machine got crashed ,when executed a select query with 100 sessions( For performance evaluation using TG). A blue screen is appeared on two nodes. So i am not able to evaluate the performance.
    Can you please tell any suggesstions to solve this issue? Is our hardware is not sufficient? Or any software settings has to be done?. I tried most of hte technique ,bt the problem still exists.
    The following machine configuration is used for Oracle RAC setup
    Intel Core 2 Duo 2.66 GHz,
    Ram :4GB.
    OS : windows 2008 Server 64 Bit
    Oracle RAC , Clusterware 11g R2 64 Bit.

  • Which one is best option RAC 10g or oracle 11g RAC for certifiction point ?

    hi ,
    which one is best option RAC 10g or oracle 11g RAC for certifiction point of view?
    can any one detail difference between above 2 options?
    Regards,
    A.Anwar

    A. Anwar wrote:
    hi ,
    which one is best option RAC 10g or oracle 11g RAC for certifiction point of view?
    can any one detail difference between above 2 options?The main difference is: Oracle Lifetime Support
    Premier Support Ends
    Oracle 10g R2 - Jul 2010
    Oracle 11g R2 - Jan 2015
    Extended Support Ends
    Oracle 10g R2 - Jul 2013
    Oracle 11g R2 - Jan 2018
    http://www.oracle.com/us/support/library/lifetime-support-technology-069183.pdf
    Oracle 10g R2 is getting unsupported.

  • ORA-04068 on 11g RAC does not resolve automatically !

    Did you ever get the combination of these three ORAs?
    ORA-04068: Existing state of package has been discarded
    ORA-04065: Not executed, altered or dropped stored procedure <PROCEDURE_NAME>
    ORA-06508: PL/SQL: Could not find program unit being called: <PROCEDURE_NAME>
    *1st I checked for invalid objects in the database, there are none!*
    *2nd Then I checked the metalink note 1058873.1 that describes a similar error:*
    In hecheck output, we see that the objects affected are listed as "Dependency$ p_timestamp > > mismatch for VALID objects".
    Also, the following script can be used for finding the mismatches:
    set pagesize 10000
    column d_name format a20
    column p_name format a20
    select do.obj# d_obj,do.name d_name, do.type# d_type,
    po.obj# p_obj,po.name p_name,
    to_char(p_timestamp,'DD-MON-YYYY HH24:MI:SS') "P_Timestamp",
    to_char(po.stime ,'DD-MON-YYYY HH24:MI:SS') "STIME",
    decode(sign(po.stime-p_timestamp),0,'SAME','*DIFFER*') X
    from sys.obj$ do, sys.dependency$ d, sys.obj$ po
    where P_OBJ#=po.obj#(+)
    and D_OBJ#=do.obj#
    and do.status=1 /*dependent is valid*/
    and po.status=1 /*parent is valid*/
    and po.stime!=p_timestamp /*parent timestamp not match*/
    order by 2,1;However, the query returned 0 rows.
    *3rd Then I read about similar errors on http://oraclequirks.blogspot.com/2007/03/ora-04061-existing-state-of-package-has.html*
    The article describes the state of package being invalidated when one user calls a procedure in a package that has a global variable and changes the value of the global variable and then when a developer compiles that package, another user will get the error ORA-04061: existing state of package has been invalidated the first time he calls the procedure, but the second time it will work without returning errors.
    However, my error is persistant and Oracle can't resolve it automatically.
    Here's how the error occurs:
    - I have a PACKAGE that has a global variable and procedures
    - User1 connects to Instance1 and calls a procedure inside the PACKAGE. The procedure sets the value of the global variable by calling a function outside the package.
    For example: L_GLOBAL_VAR := OUTSIDE_FUNCTION(30);
    - The developer compiles the PACKAGE
    - User1 can continue working normaly - he receives the 1st error by Oracle informing him that the value of the global variable has changed (normal behaviour), but the second time he calls the procedure inside the PACKAGE, no errors are reported.
    - User2 connects to the second instance of the RAC (Instance2)
    - When User2 tries to call the same procedure, he constantly gets ORA errors (ORA-04068, ORA-04065, ORA-06508), like this:
    ORA-04068: Existing state of package has been discarded
    ORA-04065: Not executed, altered or dropped stored procedure "OUTSIDE_FUNCTION"
    ORA-06508: PL/SQL: Could not find program unit being called: "OUTSIDE_FUNCTION"
    ORA-06512: at "PACKAGE2", line 1920
    ORA-06512: at "PACKAGE2", line 265The PACKAGE2 has a procedure which is being called at line 265, and that procedure calls the function OUTSIDE_FUNCTION at line 1920.
    Symptoms:
    - User2 cannot correct the error by repeatingly calling the PACKAGE procedure.
    - The developer cannot resolve the issue by recompiling the PACKAGE.
    - The developer can only temporarily resolve the issue by recompiling the OUTSIDE_FUNCTION. After doing it, the User2 does not receive errors. However, if the User2 reconnects, the error returns.
    - The solution is to recompile the PACKAGE2. After doing it, the User2 does not receive errors.
    However, I'm totally confused by this Oracle behaviour.
    I told the developers that they shouldn't compile packages while there are users working on the database (a possible solution), but as a developer I know that is very very hard on a 24/7 production database, especially if there are some urgent bugs to resolve etc.
    We were working on a single instance Oracle 9i database before upgrading to Oracle 11g RAC (11.2.0.1.0), and we never had similar problems.
    I would be very grateful for any suggestions regarding this issue.
    Thanks,
    Daniel

    Hi P. Forstmann,
    Thanks for your answer. I've read about the edition based redefinition but if I understand it correctly, that's not exactly what I'm looking for.
    For example, if a connected user reports a bug that prevents her from doing her work, the developers should resolve that bug ASAP and recompile the objects in question, which should affect the connected users.

  • Listener restart problem in 11g RAC

    11g RAC environment, I manually shutdown the database with "shutdown immediate" and stop the listener with "lsnrctl stop". Later I manually startup only the database but the listener is also started automatically at almost the same. Why would this happen ? I just don't want the listener to startup automatically at that time.
    What can i do to prevent the listener from auto-starting when i startup the database manually.

    Are you sure about stopping listener correctly ?
    Use below command when stopping listener.
    Usage: srvctl stop listener [-l <lsnr_name>] [-n <node_name>] [-f]

  • Need Help in Data migration from standard 10g to standard to 11g RAC

    Hi,
    We are running an application in Standard 10g (Not RAC). Our service provider has installed a fresh standard 11g RAC and did not transfer the data from 10g to 11g RAC.
    I want to migrate the 10g data to 11g RAC.
    I wanted to know the followings
    1) Easy data transfer technique (Data Pump or RMAN) & How do I do that (Steps)
    2) How to backup the fresh 11g RAC (In case of errors in data transfer process to recover the base) (How to do)
    Appreciate your help as I only have average knowledge in DBA.
    Thanks.
    Jezee
    Edited by: 991554 on Mar 3, 2013 11:27 PM

    See the 11g Upgrade guide chapter "Moving Data Using Oracle Data Pump" http://docs.oracle.com/cd/E11882_01/server.112/e23633/expimp.htm#i262220
    See the 11g RAC Administration and Deployment Guide chapter "Managing Backup and Recovery" http://docs.oracle.com/cd/E11882_01/rac.112/e16795/backup.htm#i443637
    Get some training on 11g Grid Infrastructure and RAC
    Hemant K Chitale

  • Best practice for installation oracle 11g rac on windows 2008 server x64

    hello!
    can somebody tell me a good book or an other kind of literature regarding "best practice for installation oracle 11g rac on windows 2008 server x64"? thx in advance!
    best regards,
    christian

    Hi Christian,
    Check this on MOS
    *RAC Assurance Support Team: RAC Starter Kit and Best Practices (Windows) [ID 811271.1]*
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=811271.1
    DOC Modified: 14-DEC-2010
    Regards,
    Levi Pereira

  • 11g Rac hangs on Oracle VM 2.1.2

    Hi Gurus,
    Has any body ever successfully built a stable 11g Rac on Oracle VM 2.1.2 following the below instruction ?
    http://www.oracle.com/technology/pub/articles/wartak-rac-vm.html
    I built everything except creation of the database by runInstaller. My system is not stable and keeping hanging in the middle of creation database.
    I did some tests to only run two VMs (rac1,rac2) on VM server. The system hangs after a few hours.
    Does anybody has a successul story with the similar configuration?
    Thanks
    Eric
    System config:
    Motherboard: Asus P5Q-E
    CPU: Intel Q9300
    Memory: 8GB
    Oracle VM 2.1.2
    Oracle Enterprise Linux 5 Update 2 template - HVM with PV Drivers Small x86_64 (64 bit)
    Oracle Clusterware 11g Release 1 (11.1.0.6.0) for Linux x86-64
    Oracle Database 11g Release 1 (11.1.0.6.0) for Linux x86-64
    Openfiler 2.3 x86_64 domU Filesystem Tarball

    You are using HVM - try PVM (paravirtualization). It works for me, I've keep getting some mails from others mostly related to skipping some steps (missing bridge, syntax error in XEN file and so on). I don't know how you are performing RAC on just 2 nodes without storage nodes (shared XEN diskfiles -- "w!" parameter ?)
    Really I would like to help you, but without some in-depth traces (kernel oops, dmesg, /var/log/messages including errors, symptoms) i'm unable to do it. There is possibility that HVM image triggers some bugs which PVM does not (i've done it only on PVM for performance reasons)
    -Jakub.
    Edited by: vnull on Jan 24, 2009 2:11 AM

  • Install 11g RAC or 10g RAC

    We're in the process getting ready to start the implementation of our first RAC project. We've done a great deal of discovery and prep. We've had Oracle in to discuss the project in detail.
    We have one open item. Should we go with 11g RAC or 10.2.0.4 RAC, which is known to be stable.
    Is 11g RAC stable enough for production. How does 11g RAC compare with 10.2.0.4 with respect to stability, bugs, etc.
    Any real world advice regarding this issue would be appreciated. Thanks in advance.

    Hi,
    yes, 11g RAC is stable enough. You will actually find that quite some fixes were incorporated into 11g first and then backported to 10.2.0.4.
    Comparing 10.2.0.4 and 11.1.0.7, you will, however, find that ASM has been enhanced quite a bit. For example:
    3.ASM Fast Rebalance
    4.ASM Fast Mirror Resync
    5.ASMCMD New Commands
    6.Preferred Mirror Read
    Please, see ML Note "429098.1 - 11g ASM New Feature" for more information.
    Aome of these features will only be available to you if you have an 11.1 DB in addition to 11.1 ASM, which might be an issue from the application certification perspective. Nevertheless, some of the features can be used only using 11.1 ASM and 11.1 Oracle Clusterware. The ML note mentioned above will provide you with more information.
    BTW, you might want to have a look at ML Note "337737.1 - Oracle Clusterware - ASM - Database Version Compatibility" in this context, too.
    Hope that helps. Thanks,
    Markus

Maybe you are looking for

  • 9.0.1 won;t allow a pdf to open without locking up; I want an older version

    After downloading 9.0.1 I can't open a pdf I was previously able to open. Even worse, once I try, everything on the page becomes immune to my cursor and when I close the browser and try to reopen, even hours later, I'm told Firefox is already running

  • Output Parameters - Urgent

    In my JSP page i am using Callable Statements for storing the data. The stored procedure returns a value after inserting the data. I want to know, how to access the output parameter passed by the stored procudure in the JSP page

  • Creating smart album based on multiple albums

    Hi, I would like to create a smart album based on the ratings of the photo and based on more than 1 album. Is this possible? because when i do try to base the condition on more than 1 album, no photos in my smart album show up. Thank you.

  • Add page number

    How Do I easily add page numbers to all the pages in my document...? Do I really have to manually create a textbox and put a number in it or add a text variable to each and every page? Is't there like some kind of one button push like microsoft word

  • Loan Request Approved but it is not updating in R/3 IT 0045.

    Dear All, Loan approval process is completed. But it is not getting update in R/3. Are there any back ground programs needs to run to update the record? Or else where I can check the completed requests in R/3? Thanks in Advance. Potru.