What are the advantages of using an alias for local_listener

This is a discussion on What are the advantages of using an alias for local_listener within the Oracle Server forums in Oracle Database category; I have used (for example) local_listener = '(ADDRESS = (PROTOCOL =TCP)(HOST=themis.sbd.com.au) (PORT=1537))' which seems to work fine. When I used dbua to upgrade to 10.2.0.4 it converted this to local_listener = LISTENER_CYCLTEST and added to tnsnames.ora: LISTENER_CYCLTEST.SBD.COM.AU = (ADDRESS = (PROTOCOL = TCP)(HOST = themis.sbd.com.au)(PORT = 1537)) What are the advantages of local_listener=lsnr_alias? Isn't the fact that there are two places requiring configuration rather than just one a probable disadvantage? Is it worth changing the config of other instances to use local_listener = lsnr_alias? ~trevor...

Go Back   Database Forum > Oracle Database > Oracle Server

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-26-2008, 08:42 PM
Default What are the advantages of using an alias for local_listener

I have used (for example)
local_listener = '(ADDRESS = (PROTOCOL =TCP)(HOST=themis.sbd.com.au)
(PORT=1537))'
which seems to work fine. When I used dbua to upgrade to 10.2.0.4 it
converted this to
local_listener = LISTENER_CYCLTEST
and added to tnsnames.ora:
LISTENER_CYCLTEST.SBD.COM.AU =
(ADDRESS = (PROTOCOL = TCP)(HOST = themis.sbd.com.au)(PORT = 1537))

What are the advantages of local_listener=lsnr_alias? Isn't the fact
that there are two places requiring configuration rather than just one
a probable disadvantage? Is it worth changing the config of other
instances to use local_listener = lsnr_alias?

~trevor
Reply With Quote
  #2  
Old 08-27-2008, 10:22 AM
Default Re: What are the advantages of using an alias for local_listener

On Aug 26, 7:42*pm, "trevor.willi...@rac.com.au"
wrote:
> I have used (for example)
> local_listener = '(ADDRESS = (PROTOCOL =TCP)(HOST=themis.sbd.com.au)
> (PORT=1537))'
> which seems to work fine. When I used dbua to upgrade to 10.2.0.4 it
> converted this to
> local_listener = LISTENER_CYCLTEST
> and added to tnsnames.ora:
> LISTENER_CYCLTEST.SBD.COM.AU =
> (ADDRESS = (PROTOCOL = TCP)(HOST = themis.sbd.com.au)(PORT = 1537))
>
> What are the advantages of local_listener=lsnr_alias? Isn't the fact
> that there are two places requiring configuration rather than just one
> a probable disadvantage? Is it worth changing the config of other
> instances to use local_listener = lsnr_alias?
>
> ~trevor


We just use one listener per server for all databases, if more than
one, on the server. We do not even code the local_listener parameter
at all. We are mostly 9.2 but I checked our 10g Oracle Application
Server install and its listener file is coded the same way.

If you plan to have named listeners I can see coding like the DBCA did
but otherwise I would not even use the local_listener parameter.

HTH -- Mark D Powell --
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 10:45 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.