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

Thread: Multiple IP in TNS Listener

Threaded View

  1. #4
    Join Date
    Nov 2002
    Location
    New Delhi, INDIA
    Posts
    1,796
    You can use three different listeners with three different port for each of them.

    something like...

    listener.ora
    Code:
    LISTENER1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = first_ip_address)(PORT = 1540))
          )
        )
      )
    
    SID_LIST_LISTENER1 =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = DB1.WORLD)
          (ORACLE_HOME = D:\Oracle\Ora92)
          (SID_NAME = DB1)
        )
      )
    
    LISTENER2 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = second_ip_address)(PORT = 1541))
          )
        )
      )
    
    SID_LIST_LISTENER2 =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = DB2.WORLD)
          (ORACLE_HOME = D:\Oracle\Ora92)
          (SID_NAME = DB2)
        )
      )
    
    LISTENER3 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = third_ip_address)(PORT = 1542))
          )
        )
      )
    
    SID_LIST_LISTENER3 =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = DB3.WORLD)
          (ORACLE_HOME = D:\Oracle\Ora92)
          (SID_NAME = DB3)
        )
      )
    But remember you need to take care with your tnsnames.ora


    For more on how to setup listener and tnsnames refer to the Oracle network administrators Guide at tahiti.oracle.com

    HTH
    Last edited by adewri; 07-14-2003 at 09:00 AM.
    Amar
    "There is a difference between knowing the path and walking the path."

    Amar's Blog  Get Firefox!

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