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?
Think failover ad you will know why.
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?
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
Click Here to Expand Forum to Full Width