Professional Documents
Culture Documents
Configuring The Oracle Network Environment
Configuring The Oracle Network Environment
Objectives
After completing this lesson, you should be able to:
Use Enterprise Manager to:
6-2
Application
Oracle Net
Client or
middle tier
RDBMS
TCP/IP
network
Oracle Net
configuration files
6-3
Oracle Net
Listener
Database server
Oracle Net
configuration files
Enterprise
Manager
Database
Control
Listener
Oracle databases
Oracle Net
configuration files
<Grid_home>/network/admin/listener.ora
./sqlnet.ora
6-4
Names resolution
6-5
Establishing a Connection
Incoming
connection request
Listener
6-6
User Sessions
Server
process
User session
PGA
User process
Listener
6-7
6-8
6 - 10
Prompt syntax:
6 - 11
6 - 13
srvctl
srvctl
srvctl
srvctl
srvctl
-h
start listener
stop listener
start listener l mylistener
status listener
6 - 14
6 - 15
Creating a Listener
3
4
6 - 16
10
6 - 17
6 - 18
Naming Methods
Oracle Net supports several methods of resolving connection
information:
Easy connect naming: Uses a TCP/IP connect string
Local naming: Uses a local configuration file
Directory naming: Uses a centralized
LDAP-compliant directory server
External naming: Uses a supported non-Oracle naming
service
Client/application server
Oracle Net
Oracle Net configuration files
6 - 20
Easy Connect
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
Local Naming
Oracle Net
configuration files
6 - 22
6 - 23
6 - 24
6 - 26
Server process
Server process
Server process
Listener
6 - 27
User sessions
Dispatchers
Listener
6 - 28
Sort
Area
Hash
Area
Stack
space
UGA
6 - 29
Active
client
New
client
Database
server
The maximum
number of
connections is
configured to 255.
Dispatcher
6 - 31
Dedicated
server process
Quiz
Which configuration files are used to configure the listener?
1. listener.ora
2. listener.conf
3. tnsnames.ora
4. tnsnames.conf
5. sqlnet.ora
6. sqlnet.conf
6 - 32
Quiz
When using the shared server process architecture, the PGA is
relocated into the SGA.
1. True
2. False
6 - 33
Summary
In this lesson, you should have learned how to:
Use Enterprise Manager to:
6 - 34
Practice 6 Overview:
Working with Oracle Network Components
This practice covers the following topics:
Configuring local Names Resolution to connect to another
database
Creating a second listener for connect-time failover
6 - 35