dbTalk Databases Forums  

Sever and Client on one machine - delete one TNSNAMES.ORA?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Sever and Client on one machine - delete one TNSNAMES.ORA? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dean
 
Posts: n/a

Default Sever and Client on one machine - delete one TNSNAMES.ORA? - 12-20-2005 , 08:25 AM






Hi all,

I have one client 10g server on my office computer, which I use when
the regular servers are down .I also have 10g client. Both have a
TNSNAMES.ORA, and its not clear to me that it needs two of these files
to work properly. I seem to have to update both, using the net manager,
whenever the other servers change.

Any hints here on what is the best procedure. Can I delete the client
file?

Thanks,

Dean


Reply With Quote
  #2  
Old   
Mark C. Stock
 
Posts: n/a

Default Re: Sever and Client on one machine - delete one TNSNAMES.ORA? - 12-20-2005 , 08:29 AM







"dean" <deanbrown3d (AT) yahoo (DOT) com> wrote

Quote:
Hi all,

I have one client 10g server on my office computer, which I use when
the regular servers are down .I also have 10g client. Both have a
TNSNAMES.ORA, and its not clear to me that it needs two of these files
to work properly. I seem to have to update both, using the net manager,
whenever the other servers change.

Any hints here on what is the best procedure. Can I delete the client
file?

Thanks,

Dean

guessing that your running windoze -- in the registry you can set TNS_ADMIN
for each oracle home to point to a common directory

++ mcs




Reply With Quote
  #3  
Old   
dean
 
Posts: n/a

Default Re: Sever and Client on one machine - delete one TNSNAMES.ORA? - 12-20-2005 , 08:35 AM



Thanks. Looking for that key [TNS_ADMIN] in my registry comes up with
nothing though.


Reply With Quote
  #4  
Old   
Turkbear
 
Posts: n/a

Default Re: Sever and Client on one machine - delete one TNSNAMES.ORA? - 12-20-2005 , 08:52 AM



"dean" <deanbrown3d (AT) yahoo (DOT) com> wrote:

Quote:
Thanks. Looking for that key [TNS_ADMIN] in my registry comes up with
nothing though.
You have to create it then..
If you do not want to edit your registry, you can also use Environment Variables ( System ones) to set it..

TNS_ADMIN = <DRIVE:>/<OracleHomeYouWantToUse>/network/admin/




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.