DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: client connection to RAC DB

  1. #1
    Join Date
    Mar 2006
    Posts
    176

    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?

    Thanks,

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    Think failover ad you will know why.

    regards

  3. #3
    Join Date
    Mar 2006
    Posts
    176
    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
    Location
    Lake Worth, FL
    Posts
    1,492

    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