Home » Server Options » RAC & Failsafe » SCAN Listener redirecting to wrong Local listener port
SCAN Listener redirecting to wrong Local listener port [message #685856] |
Thu, 07 April 2022 09:34  |
 |
piripicchio
Messages: 20 Registered: April 2018 Location: Rome
|
Junior Member |
|
|
Hi everyone,
this is the scenario: in a 4 node 12.1 RAC database, we have local listeners listening on standard port 1521 (non encrypted). In addition to those, now we also need an encrypted connection, so in order test the desired configuration, in a replica environment I added a new listener on port 1522, which of course reads its own sqlnet.ora. Direct connection to both ports work as expected, so I moved on and added the endpoint to the scan_listener. Again, connection through scan to both ports work as expected: encrypted on 1522, non-encrypted to the old one. So far so good...until today, when another DBA told me there's no correlation between scan_listener port and local listener port and I was just lucky. So to verify it I shut down the local listener on port 1522 and tried to connect using scan on same port and....he was right: I expected to fail the connection but instead I was still able to connect, apparently through the listener on port 1521..
Am I missing something?
[Updated on: Thu, 07 April 2022 09:50] Report message to a moderator
|
|
|
|
|
Re: SCAN Listener redirecting to wrong Local listener port [message #685867 is a reply to message #685859] |
Fri, 08 April 2022 03:00  |
John Watson
Messages: 8974 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Sussed. When I'm asked to enable tcps, I always try to persuade the client to use the native encryption instead, as you are doing (except that I do it the server side, with sqlnet.encryption_server = required). It is so much simpler. I don't see any point to using SSL between the apps tier and the database tier. I suppose if it were some ancient application that uses a two tier client-server model with each user having their own schema logon, it might make some sense. But only "might".
|
|
|
Goto Forum:
Current Time: Thu Apr 17 05:26:10 CDT 2025
|