DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006

    client connection to RAC DB

    Quick question on RAC DB, I noticed that you can either use PHYSICAL server name or VIRTUAL name on the connection string in your tnsnames. Both will work but I don't know the best practice. I think we should use the VIRTUAL name for RAC DB instead of physical name.

    Could someone please explain to me why?


  2. #2
    Join Date
    Jan 2001

    Think failover ad you will know why.


  3. #3
    Join Date
    Mar 2006
    Thanks for your response and please help me understand.

    Lets say you have two node cluster so you have testV1 and testV2. so when the client connected the RAC DB, the user will connect to the less-use instance and lets say instance 1, so if instance 1 crashed, the client connection will automatically failover instance 2? whereas if I use PHYSICAL named as test1 and test2, it won't failover if the instance crashed?

  4. #4
    Join Date
    Jul 2002
    Lake Worth, FL

    Two for tea...

    You need to code both (preferably the virtual ip's) in the tnsnames.ora entry and specify the failover=true option.
    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.