Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Configuring multiple listeners

2812743Dec 11 2014 — edited Dec 15 2014

Hi,

I'm having some trouble configuring multiple listeners for an Oracle 11g database.

I've tried setting it up in multiple ways, but i can't get the instance to listen on  the other hostname.

Local_listener is set to orcl, which is reflected in tnsnames.

tnsnames.ora

ORCL =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname1>)(PORT = 1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname2>)(PORT = 1522))

    (CONNECT_DATA =

      (SERVICE_NAME = orcl.<hostname>)

      (INSTANCE_NAME = orcl)

    )

  )

what am i missing?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2015
Added on Dec 11 2014
49 comments
17,820 views