Re: sys_context to get connection string?

  • From: Andrew Kerber <andrew.kerber@xxxxxxxxx>
  • To: Mladen Gogala <gogala.mladen@xxxxxxxxx>
  • Date: Sun, 11 Jun 2017 16:22:11 -0500

You lost me completely.  How does ezconnect centralize anything?  if
anything it decentralizes everything.

On Sun, Jun 11, 2017 at 4:03 PM, Mladen Gogala <gogala.mladen@xxxxxxxxx>
wrote:

On 06/11/2017 03:51 PM, Andrew Kerber wrote:

I am not fond of ezconnect at all. The strings get embedded all over the
place and failover to a standby or dr site can require changes in far too
many undocumented locations. Tnsnames gives you a single place to make
changes.  If properly done, tns is the way to go as you can change a single
file and push to everyplace that is supposed to have it.


Problem is that tnsnames.ora done properly requires other tools like
versioning system or configuration management tools (chef, puppet,
ansible). The tnsnames.ora file is local to every machine and there is
literally no way to prevent users from modifying them. Users can create
their own version, point TNS_ADMIN there and use their own. There are only
two ways of having them centralized, one is OID, the other one is
EZCONNECT.  I've used OID, normally by putting the connect descriptors into
the active directory, which is usually present at almost every client of
mine . However, for providing the  end users who want to connect Excel or
other tools to Oracle with a simple and understandable string, EZCONNECT is
manna from heaven. In this case, of course,  heaven is in Redwood Shores,
CA.


--
Mladen Gogala
Oracle DBA
Tel: (347) 321-1217




-- 
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.'

Other related posts: