Listener config , grid standalone

From: wissem elkhlifi <wissem_at_oracle-great.com>
Date: Thu, 30 Jun 2011 11:08:47 +0200
Message-ID: <BANLkTim+tY1cxT72NJA1ztDmMjHODyK7Nw_at_mail.gmail.com>



Hi,

I need to configure two listeners in 2 different port number. (1521 and 1522) in grid infrastructure for standalone. My database version Oracle 11gR2, under Redhat Linux.

WHat I did, I have manually added in
/opt/11.2.0/grid/network/admin/listener.ora file:

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/app/oracle/product/11.2.0/db_1)
(PROGRAM = extproc)

    )
  )

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

SID_LIST_LISTENER_2 =
  (SID_LIST =
    (SID_DESC =
(GLOBAL_DBNAME = db02.example.com)
(ORACLE_HOME = /opt/app/oracle/product/11.2.0/db_1)
(SID_NAME = db02)

    )
  )

LISTENER_2 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.71.32)(PORT = 1522))   )

ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON Now using srvctl commad:

-bash-3.2$ srvctl add listener -l LISTENER_2
-bash-3.2$ srvctl add listener -l LISTENER
-bash-3.2$ srvctl config  listener -l LISTENER
Name: LISTENER
Home: /opt/11.2.0/grid
End points: TCP:1521
-bash-3.2$ srvctl config listener -l LISTENER_2 Name: LISTENER_2
Home: /opt/11.2.0/grid
End points: TCP:1521

Why srvctl config for LISTENER_2 is showing me 1521 instead of 1522? I have reloaded, stoped, started the listener again and again ... but still end points = 1521.

Any help?

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jun 30 2011 - 04:08:47 CDT

Original text of this message