DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Listener and Multiple Ports

  1. #1
    Join Date
    Oct 2002
    Posts
    284

    Listener and Multiple Ports

    Hi guys..

    Solaris 10 and Oracle 10gR2

    I have one DB called DSS listening on PORT 1521. Can i make this listener to also listen on Port 1556 by making an entry like that, so there will be load balancing ?

    ================================================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u10/app/ORACLE/product/10.2.0.1)
    (PROGRAM = extproc)
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = sdssssX)(PORT = 1521)
    (ADDRESS = (PROTOCOL = TCP)(HOST = sdssssX)(PORT = 1526))
    )
    )
    ==========================================


    thanks
    Ron

  2. #2
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    Did you get an error with 2 ports?

  3. #3
    Join Date
    Oct 2002
    Posts
    284
    no..there are no error messages.
    But how do i know, if the listener has used port 1521 or port 1526 ?

    thanks
    Ron.

  4. #4
    Join Date
    Nov 2006
    Location
    Sofia
    Posts
    630
    lsnrtl status
    or some OS utility showing the ports (netstat say)

    Regards

  5. #5
    Join Date
    Jul 2002
    Location
    Lake Worth, FL
    Posts
    1,492

    Cool


    Not sure, but you may need to add something like this to your tnsnames.ora file:
    PHP Code:
    DB01 =
      (
    DESCRIPTION =
        (
    ADDRESS_LIST =
          (
    ADDRESS = (PROTOCOL TCP)(HOST sdssssX)(PORT 1521))
          (
    ADDRESS = (PROTOCOL TCP)(HOST sdssssX)(PORT 1526))
          (
    LOAD_BALANCE=ON)
        )
        (
    CONNECT_DATA =
          (
    SERVER=DEDICATED)
          (
    SERVICE_NAME DB01.WORLD)
        )
      ) 

    "The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width