Tnsname for RAC

Hi,
I am working on RAC.
And I want to connect client to the database but I don't know the tnsname's parameter. I tried the normal way which is configuring the IP address and port number and SID and it didn't work. Please help if there is a different way to configure the tnsnames on RAC.
Wessam

Thanks for ur fast reply.
I tried with tns client settings given by U , but it gives me the error:
ora-12154 : TNS : Could not resolve service name.
I have also tried connecting to this same service name from sql*plus client in same (server )machine giving user@service_name it works fine .....but connecting from client on the other machine is giving me the above mentioned error.
Warm Regards
wessam

Similar Messages

  • How Do I Configure SSL for RAC Installation.

    Experts,
    Requesting your inputs on configuring SSL for my RAC environment.
    - Oracle DB version is 11.2.0.2
    - RAC is with two nodes.
    - Two nodes are : rac1.oracle.com and rac2.oracle.com
    - RAC setup has SCAN feature configured. SCAN FQDN : racscan.oracle.com
    - All clients talk to RAC DB using SCAN feature as shown below.
    client applications -> racscan.oracle.com ---> rac1.oracle.com
    ---> rac2.oracle.com
    - tnsnames.ora file on both RAC instances has hostname as "racscan.oracle.com" instead of their individual phyiscal host names.
    How do I configure SSL for RAC:
    1. Do I need to generate certificate request for individual hostnames or only for SCAN hostname ?.
    2. If I generate a certificate based on SCAN hostname, how does SSL work since SCAN hostname is not a phyiscal host name ?
    3. What is recommended strategy for configuring SSL for RAC environment ?
    Thanks

    The documentation on the creation of Oracle Wallets is not specific to RAC, and the RAC SCAN instructions for TCPS are very vague on the specific requirements for the certificates required in the wallets for proper operation. I too am struggling to get it to work. Does anyone have a more technical guide to the specific configuration of the certificates needed and what specific configuration file changes need to be made?
    Also, the self signed documentation is getting REALLY old. Oracle, please stop giving instructions that demonstrate irresponsibility and show the proper method of certificate requesting and importing to wallets.
    Edited by: user11338513 on Mar 21, 2012 2:23 PM

  • How can I have a collective AWR report for RAC database in 10gR2 and 11gR1?

    Plz correct me here
    awrrpt.sql takes the snapshot at the instance level and incase we have 5 instances we have to take 5 awr reports for a particular period.correct???
    If above is true ,any wayout to collect a single collective AWR report for RAC database which includes information on all the instances in Oracle 10g R2 or 11gR1 ?
    Thanks in advance
    Gagan

    I have never come across a way for this. though I can n't say it is not there.
    But I guess it may not be feasible too becuase as we know the current AWR report contains data which is specific for one instance.
    Various hit ratios, top events, instance effeciency reports.... what not ..
    It would be really nice to see something is a new format where it lists values from each instance in a single report.. I guess such a thing Does not exiist as of now.

  • Urgent help needed in configuring X1151A for RAC cluster

    for RAC requirements I have to configure this card to use the interface name of ce1 but I have tried changing slots and puting /etc/hostname.ce1 file out there but it fails .. it always comes up as ce0.
    my question is : How can I cofigure this card to come up as ce1 ? in the other box I had to do nothing .. i just placed the /etc/hostname.ce1 file with hostname and it works perfect.
    can you please email me a copy of your response at [email protected] ?
    thanks
    Sami

    Look for "ce" instances in the /etc/path_to_inst file. You'll need to change the lines so that the hardware path you want is "1".
    Keep a backup and write down the pathname. You can give that path to a 'boot -a' prompt if anything bad happens.
    Darren

  • Error for rman for RAC db

    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: TEST (DBID=485988764) connected to recovery catalog database
    RMAN> run {
    2> resync catalog;
    3> allocate channel oem_backup_disk1 type disk
    4> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    5> allocate channel oem_backup_disk2 type disk
    6> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    7> backup as COMPRESSED BACKUPSET tag=Nov100921
    8> archivelog all not backed up 2 times;
    9> release channel oem_backup_disk1;
    10> release channel oem_backup_disk2;
    11> }
    12>
    starting full resync of recovery catalog full resync complete
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 11/10/2009 09:22:07
    RMAN-06004: ORACLE error from recovery catalog database:
    ORACLE error from recovery catalog database:
    This is the error for RAC database. This error is because if i include recovery catalog in the script. if there is no recovery catalog then it is working fine.

    run {
    allocate channel oem_backup_disk1 type disk format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    backup as COMPRESSED BACKUPSET tag=Nov100921 archivelog all not backed up 2 times;
    release channel oem_backup_disk1;
    it worked successfully.
    if i run like this keeping it in script
    run {
    resync catalog;
    allocate channel oem_backup_disk1 type disk
    format '/misc/OraBackup/${3}/%d_ARCH_%T_%t_%s';
    allocate channel oem_backup_disk2 type disk
    format '/misc/OraBackup/${3}/%d_ARCH_%T_%t_%s';
    backup as COMPRESSED BACKUPSET tag=$TAG
    archivelog all not backed up 2 times;
    release channel oem_backup_disk1;
    release channel oem_backup_disk2;
    then i will get the error
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: TEST (DBID=485988764) connected to recovery catalog database
    RMAN> run {
    2> resync catalog;
    3> allocate channel oem_backup_disk1 type disk
    4> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    5> allocate channel oem_backup_disk2 type disk
    6> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
    7> backup as COMPRESSED BACKUPSET tag=Nov100921
    8> archivelog all not backed up 2 times;
    9> release channel oem_backup_disk1;
    10> release channel oem_backup_disk2;
    11> }
    12>
    starting full resync of recovery catalog full resync complete
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 11/10/2009 09:22:07
    RMAN-06004: ORACLE error from recovery catalog database:
    ORACLE error from recovery catalog database:

  • What is acceptable level of Private Interconnect Latency for RAC

    We have build 3 Node RAC on RHEL5.4 on VMware.
    There is node eviction problem due to loss of Network Heartbeat.
    ocssd.log:[    CSSD]2010-03-05 17:48:21.908 [84704144] >TRACE: clssnmReadDskHeartbeat: node 3, vm-lnx-rds1173, has a disk HB, but no network HB, DHB has rcfg 0, wrtcnt, 2, LATS 1185024, lastSeqNo 2, timestamp 1267791501/1961474
    Ping statistics from Node2 to Node1 are as below
    --- rds1171-priv ping statistics ---
    443 packets transmitted, 443 received, 0% packet loss, time 538119ms
    rtt min/avg/max/mdev = 0.150/2.030/630.212/29.929 ms
    [root@vm-lnx-rds1172 oracle]#
    Can this be reason for Node eviction? What is acceptable level of of private interconnect latency for RAC ?

    What is acceptable level of of private interconnect latency for RAC ?Normal local network latency should be enough. By the way latency settings are very generous.
    Can you check if your to-be-evicted node runs and is reachable when seeing the node eviction messages?
    In addition to that: Can you check the log files of the eviced node. Check for time stamps around "2010-03-05 17:48:21.908". Make sure all systems are NTP synchronized.
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • Oracle White Paper- Storage Option for RAC. on Linux

    hi..
    This in reference with White Paper.. Stotage Option for RAC on LINUX. Author- Umadevi Byrappa.
    Which states on page 10: To Use NAS for RAC database file storage select the file system storage option in OUI. or the Clustered file system storage option in DBCA.
    With which i disagree. File storage option of oracle 10g RAC only shows.
    1. Clustered File system.
    2. ASM
    3. Raw Devices.
    When i try to select Cfs and select the shared directory on NFS it says. < Directory_Name> is not a clustered file system or Shared on Both <Server_1> < Server_2>. and at this point of time i m stuck.
    1. I dont want to use OCFS as its not supporting NAS.
    2. Selecting CFS doesnt recognise mounted shared volume as valid storage device option can only store OCRfile and CSS file.
    3. So, I have to use ASM.. with zero padded files..which i dont want to because no other option. ( PART NO. B10766-02 PAGE C-6)
    Also, I would like oracle to provide Back up Recovery Option or Document which tells me how could i Recover Database when i use Zero Padded Files.
    What would be the best Option in the above scenario ?
    I hope by applying patch or with workaround somehow it shows Filesystem ONLY.I'll be the happiest man in this Case.
    Any suggestions and corrections are most welcome. I wish i m wrong.
    Nadeem ( [email protected] )

    NFS isn't a clustered file system at all - by RFC it is an exported file system with access controls
    If your vendor offers an NFS solution over and beyond that - more power to them. However that isn't "NFS"..
    http://www.faqs.org/rfcs/rfc3010.html
    You can use NFS in a clustered server environment (to mount apps, read only data and for synchronous access to files), however it doesn't support the concurrency out of the box for RDBMS transactions - if a vendor is supporting this promise then that is for you to decide.
    However i stand by my statement that NFS is a file system exported across your network and not a full clustered file system.

  • Looking for best practice / installation guide for grid agent for RAC

    I am looking for best practice / installation guide for grid agent for RAC, running on windows server.
    Thanks.

    Please refer :
    MOS note Id : [ID 378037.1] -- How To Install Oracle 10g Grid Agent On RAC
    http://repettas.wordpress.com/2007/10/21/how-to-install-oracle-10g-grid-agent-on-rac/
    Regards
    Rajesh

  • Is a gateway mandatory for RAC environment?

    Question:
    Is a gateway mandatory for RAC installation, general on RAC environment?
    *..when yes, why?*
    Many thanks
    I make this test with my only one RAC node
    1. Run with gateway:
    [oracle@linux1 ~]$ crs_stat -t
    Name           Type           Target    State     Host       
    ora....SM1.asm application    ONLINE    ONLINE    linux1     
    ora....X1.lsnr application    ONLINE    ONLINE    linux1     
    ora.linux1.gsd application    ONLINE    ONLINE    linux1     
    ora.linux1.ons application    ONLINE    ONLINE    linux1     
    ora.linux1.vip application    ONLINE    ONLINE    linux1     
    ora.orcl.db    application    ONLINE    ONLINE    linux1     
    ora....l1.inst application    ONLINE    ONLINE    linux1     
    ora....test.cs application    ONLINE    ONLINE    linux1     
    ora....cl1.srv application    ONLINE    ONLINE    linux1
    [oracle@linux1 ~]$ srvctl status database -d orcl
    Instance orcl1 is running on node linux1All thing seem correct!
    2. run without gateway (blank setting):
    [oracle@linux1 ~]$ crs_stat -t
    Name           Type           Target    State     Host       
    ora....SM1.asm application    ONLINE    OFFLINE              
    ora....X1.lsnr application    ONLINE    OFFLINE              
    ora.linux1.gsd application    ONLINE    ONLINE    linux1     
    ora.linux1.ons application    ONLINE    ONLINE    linux1     
    ora.linux1.vip application    ONLINE    OFFLINE              
    ora.orcl.db    application    ONLINE    OFFLINE              
    ora....l1.inst application    ONLINE    OFFLINE              
    ora....test.cs application    ONLINE    OFFLINE              
    ora....cl1.srv application    ONLINE    OFFLINE              
    [oracle@linux1 ~]$ srvctl status database -d orcl
    Instance orcl1 is not running on node linux1Something is false!

    By default, the server's default gateway is used as a ping target during the Oracle RAC 10g VIP status check action.
    Upon a ping failure, Oracle will decide that the current interface where the VIP is running has failed, and will initiate
    an interface / internode VIP failover.
    In above case, we used just one node for CRS installation, so the VIP coudn't failover to other nodes and thus reported additional error like :
    CRS-1006: No more members to consider
    CRS-0215: Could not start resource 'ora.dbtest2.vip'.
    Try ->
    A parameter FAIL_WHEN_DEFAULTGW_NOT_FOUND in the file
    $ORA_CRS_HOME/bin/racvip to address this problem.
    The following steps will fix the VIP starting problem for above mentioned scenario.
    1- stop nodeapps
    2- As root,
    vi the script $ORA_CRS_HOME/bin/racgvip and change the value of
    variable FAIL_WHEN_DEFAULTGW_NOT_FOUND=0 .
    3- start nodeapps and you should see the resources ONLINE
    You may proceed with netca and dbca to create a RAC database after this.

  • NETCA listener configuration error for RAC database

    Hi,
    WE have a RAC setup on 2 nodes and now we want to change the default listener port for RAC database.
    Database ver: 10.2.0.4
    We now that srvctl does not work to add listener manually to CRS.
    We are now using netca to create new listener on both the RAC nodes but it gives error throwing :
    Problem in configuration : Node(S): hostname
    Try again...
    When we try to start the listener say listener_I it throws following error:
    Problem in configuration :node1
    Listener start to failed:Listener may already be running
    CRS-0215:Could not start resource
    This is urgent
    any help is appreciated.
    Regards,
    Milan

    user12073248 wrote:
    How you fix it? write to [email protected]
    Hi Mauricio,
    In this forum we help for free regardless of priority.
    First you try to help in the forum if the author of the post request your e-mail you give to him.
    Hope you understand it.
    Thanks in advance for doing your part to make this community as valuable as possible for everyone!
    Levi Pereira

  • Can I use virtual Servers in private cloud for RAC

    Hello  to all
    We are going to install an Oracle RAC on two servers
    But our Hardware Administrator says to us   “I Allocate two virtual servers in the our private cloud not two physical Servers (or real Servers)”
    Do you think it’s practical and reasonable to using virtual Server for Oracle RAC  in production environment ?
    Which one is better physical server or virtual server  for RAC?
    Please write your reasons
    Thanks

    Using virtual machines is officially  supported for RAC only in a few cases which can be found here:
    http://www.oracle.com/technetwork/database/virtualizationmatrix-172995.html
    Make sure that you meet these requirements in your private cloud. Some cases like vmware are still somewhat supported despite beeing not on the list.
    Beside this you should make sure that your 2 virtual machines run on different hardware servers in the cloud, otherwise you lose most parts of the rac advantage regarding high availability, when both virtual servers happen to run on the same hardware during a crash
    Virtual servers are used in production environments, but you will have to take greater care for many aspects of rac compared to physical hardware, e.g.. something like "live migration" of vmware can kill a rac node due to timeout.
    I would prefer hardware for rac anytime over virtual servers and spare me the hassle of dealing with all possible issues arising from the virtualization.
    And check oracles licensing policy...
    Running an enterprise edition rac on e.g. a large vmware cluster is insanely expensive, you pay every cpu core the rac COULD run on -> the entire cluster!
    If you must use virtual hardware but don't want to and need an argument against it use the license issue.
    Regards
    Thomas

  • OVM disks for RAC implementation

    Dear All
    is there any guide available on how can you create the disks for RAC ASM in OVM 3.3.1 using a fiber channel block level storage?
    Thanks
    George

    You are right, you can't use virtual disks for RAC configuration. Have a look here (especially page 18):
    http://www.oracle.com/technetwork/products/clustering/oracle-rac-in-oracle-vm-environment-131948.pdf
    Using physical disks means that you create LUNs on your storage array connected to Oracle VM Servers by fabric channel. You map these LUNs to all servers in the pool or all standalone servers where you are going to install your virtual machines being Clusterware nodes. Then you rediscover storage in Oracle VM Manager, mark these LUNs as "shared" in OVMM and add them to your virtual machines as "Physical disks" (by editing guest properties in OVMM).
    Alternatively you can directly map iSCSI or NFS storage to your guests. By "directly" I mean you use IP addresses and software in your guests as iSCSI initiator or NFS client - without engaging Oracle VM in the middle.
    Regards,
    Michal

  • Configuring oracle OCI  client for RAC 10.2.0.1

    hi,
    can any one give the links for doc for
    configuraing oracle OCI client for RAC
    regards
    krishna

    Download from below:
    http://www.oracle.com/technology/tech/dotnet/ode/index.html
    Refer:
    Note:374820.1 - How to Install the Oracle Database Extensions for .NET (ODE.NET) from metalink.

  • Standalone Standby Creation for RAC database

    Hi,
    I am in process of configuring standalone standby for my RAC database. The database version is 11.2.0.3. RAC is using SCAN listeners. I have got MOS for configuring standalone standby for RAC 387339.1. But specific steps I need to perform in case of SCAN listeners.
    Any document or link is appreciated.
    Regards,

    Hello;
    The white paper "Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2" has a section on this.
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
    This may also help :
    http://www.oracle.com/technetwork/database/availability/maa-wp-11g-racone-standby-501088.pdf
    And these :
    Configuring and Administering Oracle Net Listener
    http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm
    srvctl relocate scan
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#RACAD7499
    srvctl relocate scan_listener
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#CDDIDDCF
    Troubleshooting Oracle Clusterware
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/troubleshoot.htm#CHDFJIEG
    From Oracle support :
    How to Setup SCAN Listener and Client for TAF and Load Balancing [Video] [ID 1188736.1]
    Best Regards
    mseberg

  • How can I config listener and tnsnames for 2 instances?

    Now I can create 2 instances on single machine but I can't config listener and tnsnames for them.
    Every time that I reconfig tnsnames, the newer is available but the old is unavailable. For example, there are instance A and instance B. When instace A can be connected instance B can't be connected. The error message is "ORACLE not available", although instance B is already started.

    Insert into listener.ora
    after the characteristics of
    first database
    (SID_DESC =
    (GLOBAL_DBNAME = <global_dbname>)
    (ORACLE_HOME = <oracle_home>)
    (SID_NAME = <second_sid>)
    Copy Paste the sid_desc of your first db
    and insert it with the second sid
    lsnrctl restart
    and the outputs messages will show you
    two instances and the extproc.
    null

Maybe you are looking for

  • Old crt monitor

    i just picked up an old apple crt monitor and hooked it up to my macbook so i could have more space for creating music. i was wondering if there is any way to have the toolbar on both screens. when i have garageband opened on the big screen the toolb

  • Is it possible to keep both iPhoto and Aperture on the same Mac

    I would like to use both IPhoto (for day by day pictures) and Aperture (for pictures made with my SLR in Raw format). Is anybody able to advice me about this opportunity?

  • A Flex time success story

    I posted this in the Logic Express section but it's also related to Logic Pro so I wanted to make sure users of Logic Pro who may not check out the LE section hear about this success. I’ve run into some surprisingly great Flex results recently. I’m n

  • How dangerous is to use Arch as the base of webhosting servers?

    Hi all, I am wondering this because I want to build my webhosting infrastructure using archlinux, but I wanted to know, what pitfalls should I expect from doing this? Will the rolling release model eventually become to dangerous for this kind of busi

  • Illustrator, Photoshop and InDesign are continually crashing

    I am having real issues when using Illustrator, Photoshop and InDesign. Linking files continually crashes the software, can anyone help please it's driving me nuts!