RE: Any way to run more than listener on the same port?

  • From: Christo Kutrovsky <kutrovsky.oracle@xxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Wed, 23 Mar 2005 15:51:53 -0500

I am copy/pasting this from the archives:

>For portability reasons our Unix SAs would like us to run one listener /
>instance on the same port of each server.

Yes you can have multiple listeners listening on different VIPs on the
same port.

To configure, just edit your listener.ora file and edit the
ADDRESS_LIST part of each listener definition, and set your
"HOST=<ip>" to the VIPs that your administrators are giving.

Example listener.ora:
LISTENER_DB1 =
  (ADDRESS_LIST =
        (ADDRESS= (PROTOCOL= IPC)(KEY= PNPKEY1))
        (ADDRESS= (PROTOCOL= TCP)(Host= 10.5.5.1)(Port= 1521))
  )

LISTENER_DB2 =
  (ADDRESS_LIST =
        (ADDRESS= (PROTOCOL= IPC)(KEY= PNPKEY2))
        (ADDRESS= (PROTOCOL= TCP)(Host= 10.5.5.2)(Port= 1521))
  )

LISTENER_DB3 =
  (ADDRESS_LIST =
        (ADDRESS= (PROTOCOL= IPC)(KEY= PNPKEY3))
        (ADDRESS= (PROTOCOL= TCP)(Host= 10.5.5.3)(Port= 1521))
  )


But with dynamic registration you dont really need to do "1 listener
per database". You can have 1 listener listen on all ips, and let each
database register with the listener as it starts/stops.
--
//www.freelists.org/webpage/oracle-l

Other related posts: