Professional Documents
Culture Documents
5-2 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Oracle Net Services: Overview
Application RDBMS
5-3 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Oracle Net Listener: Overview
Oracle Net
configuration files
<ORACLE_HOME>/network/admin/listener.ora
./sqlnet.ora
5-4 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Establishing Oracle Network Connections
Names resolution
5-5 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Connecting to an Oracle Database
finance.us.flowers.com
Database server
5-6 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Name Resolution
CONNECT jsmith/jspass@finflowers
Name resolution
finflowers =(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=flowers-server)(PORT=1521))
(CONNECT_DATA=
(SERVICE_NAME=finance.us.flowers.com)))
LISTENER
port 1521 finance
flowers-server
5-7 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Establishing a Connection
Incoming connection
request Listener
5-8 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
User Sessions
Server
process
User process
Listener
5-9 Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Naming Methods
Client/application server
Oracle Net
• Is enabled by default
• Requires no client-side configuration
• Supports only TCP/IP (no SSL)
• Offers no support for advanced connection options such
as:
– Connect-time failover
– Source routing
– Load balancing
SQL> CONNECT hr/hr@db.us.oracle.com:1521/dba11g
Oracle Net
configuration files
LDAP directory
Oracle Net
configuration files
Non-Oracle
naming
service
Oracle Net
$ lsnrctl
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 08-OCT-2014 10:07:23
LSNRCTL> help
The following operations are available
An asterisk (*) denotes a modifier or extended command:
• Prompt syntax:
LSNRCTL> <command name>
LSNRCTL> start
LSNRCTL> status
User sessions
Server process
Server process
Server process
Listener
Server process
Server process
Server process
Listener
UGA