Basic Question about connecting client to box with multiple oracle instance
Oracle 11:
I just have a basic question about how does client/listener detemine which oracle instance to connect to:
1. tnsnames.ora and listener defines the host configuration and port is that how it comes to know? I am just trying to understand if request A comes to listener how would listener know which Oracle instance to route the traffic to?
2. When I do sqlplus / as sysdba how does it know which Oracle instance to connect to?