tnsnames.ora file for a Oracle 11g database in vcs cluster

Hi All,

I have a database which is a part of vcs cluster. I need to have a tnsnames entry such that the client can connect to wich ever server is up in the cluster.

eg, server1 (20.40.50.151) and server2 (20.40.50.152) are in a vcs cluster (20.40.50.150)
and server1 is active. Now, when there is a server1 failure then it should automatically failover to server2.

How do I setup my listener.ora file and tnsnames.ora file so as to be able to failover automatically?

i have never worked with VCS clustering before, so any input is greatly appreciated.

Thanks,
GP7Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

schwertnerCommented:
Sofar as i recall it is possible to double some values in tnsnames.ora file, like IP addresses
0
it-rexCommented:
there is something called a VIP “Virtual” IP address which will always point to whatever active in your cluster ;
ask your sys/network admin about it

and please read this

http://www.oraclemagician.com/white_papers/vcs_select.doc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GP7Author Commented:
@it-rex .. thank you for the link

I will let you know if i have any questions..
0
GP7Author Commented:
Thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.