We do that by creating a listener for each SID. So listener would look like:
LISTENER_SID1 =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = hostname)
(Port = 1521)
)
)
STARTUP_WAIT_TIME_LISTENER_SID1 = 0
CONNECT_TIMEOUT_LISTENER_SID1 = 0
TRACE_LEVEL_LISTENER_SID1 = OFF
SID_LIST_LISTENER_SID1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = SID1)
(ORACLE_HOME = /opt/app/oracle/product/8.0.6)
(PRESPAWN_MAX = 10)
)
)
LISTENER_SID2 =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = hostname)
(Port = 1526)
)
)
STARTUP_WAIT_TIME_LISTENER_SID2 = 0
CONNECT_TIMEOUT_LISTENER_SID2 = 0
TRACE_LEVEL_LISTENER_SID2 = OFF
SID_LIST_LISTENER_SID2 =
(SID_LIST =
(SID_DESC =
(SID_NAME = SID2)
(ORACLE_HOME = /opt/app/oracle/product/8.0.6)
(PRESPAWN_MAX = 10)
)
)
And tnsnames.ora would have entries for both SIDs with the corresponding port.
Terry
John Dunn wrote:
> Correction
>
> I have 2 SIDS running on my machine. I want to have a seperate external
> procedure listener for each SID.
>
> Can someone tell me what my listener.ora amd tnsnames.ora files should look
> like?
>
> Oracle is 8.1.7
>
> John
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: John Dunn
> INET: [EMAIL PROTECTED]
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Terry Ball
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).