Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Listeners listening to multiple IPs

RE: Listeners listening to multiple IPs

From: Djordje Jankovic <djankovic_at_corp.attcanada.ca>
Date: Tue, 11 Dec 2001 10:20:26 -0800
Message-ID: <F001.003DA1AE.20011211100446@fatcity.com>

I tried doing this but had problems running two listener that listen on the same port number on two different IPs. One of the two did not want to start.

Djordje

> -----Original Message-----
> From: Stefan Jahnke [mailto:stefan.jahnke_at_d2vodafone.de]
> Sent: Tuesday, December 11, 2001 12:01 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Listeners listening to multiple IPs
>
>
> Hi
>
> I did this (don't know wether it's documented or not), but somebody
> recommended to split it up into 2 listeners (1 for each interface) to
> have a better way of controlling the workload (especially
> with multiple
> instances).
> Made sense to me.
>
> Djordje Jankovic schrieb:
> >
> > Something I learned today, but haven't seen it documented
> anywhere and would
> > like to see whether anybody has come across it.
> >
> > We have a Sun server (call it oracle.acme.com). It came to life by
> > combining two machines (oracle1.acme.com and
> oracle2.acme.com). So now it
> > has two IP addresses: hme0: x.y.z.001 - from oracle1 and
> hme1: x.y.z.002 -
> > from oracle2. There are few databases there (some of them
> were on oracle1
> > some on oracle2) and one listener listening to all of them.
> >
> > If you configure listener.ora file so that HOST=x.y.z.001,
> or HOST=x.y.z.002
> > that listener listens to that ONE IP only. However, if you put
> > HOST=oracle.acme.com in listener.ora than it listens to all
> IPs (in netstat
> > -an you see that it is listening to "*.1521" instead of to
> > "oracle.acme.com.1521"). That would mean that oracle does
> not resolve DNS
> > at replaces it with IP but first checks whether this is the
> primary IP for
> > that box.
> >
> > So, once we have put HOST=oracle.acme.com, all the
> connections were OK
> > (coming from clients with tnsnames files that are pointing to old
> > oracle1.acme.com and oracle2.acme.com) Of course DNS was changed..
> >
> > Anybody has come across this undocumented feature ? Any
> explanation to that
> > ?
> >
> > Djordje
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Djordje Jankovic
> > INET: djankovic_at_corp.attcanada.ca
> >
> > 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: ListGuru_at_fatcity.com (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).
> >
> > ---------------------------------------------------------
> > This Mail has been checked for Viruses
> > Attention: Encrypted mails can NOT be checked!
> >
> > **
> >
> > Diese Mail wurde auf Viren geprueft
> > Hinweis: Verschluesselte mails koennen NICHT auf Viren
> geprueft werden!
> > ---------------------------------------------------------
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Stefan Jahnke
> INET: stefan.jahnke_at_d2vodafone.de
>
> 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: ListGuru_at_fatcity.com (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: Djordje Jankovic
  INET: djankovic_at_corp.attcanada.ca

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: ListGuru_at_fatcity.com (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).
Received on Tue Dec 11 2001 - 12:20:26 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US