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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Setup two listeners on a machine

Re: Setup two listeners on a machine

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Fri, 29 Dec 2006 01:11:27 +0100
Message-ID: <en0h9u$s5j$1@news4.zwoll1.ov.home.nl>


janu schreef:
> Hi,
>
> I have a question on Listener process.
>
> I have two listeners (L1 and L2) and two databases(DB1 and DB2) on one
> machine.
>
> L1 and L2 are using the port 1521 and 1522.
>
> My question is,
>
> How do I set up failover for L1 and L2, meaning if L1 crashes, my
> user connections should automatically connect to L2.
>
> A sample code would be great.
>
> Thanks a bunch
> janu
>

No - connections are there as a result of a hand-off by the listener. When a listener stops, connections still exist; there is no reason to reconnect.

New connection attempts, however, will fail with a 'No Listener' error.

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Thu Dec 28 2006 - 18:11:27 CST

Original text of this message

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