6 Copyright © 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment.

Slides:



Advertisements
Similar presentations
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
Advertisements

Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
Module 5: Configuring Access for Remote Clients and Networks.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Harvard University Oracle Database Administration CSCI E256 Session 7 Oracle Networking.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
2 Copyright © 2009, Oracle. All rights reserved. Installing your Oracle Software.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Module 1: Database and Instance. Overview Defining a Database and an Instance Introduce Microsoft’s and Oracle’s Implementations of a Database and an.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Presentation #36576 Presentation #36576 Oracle9i LDAP: Advanced Configuration of Directory Naming Daniel T. Liu Senior Technical consultant First American.
1 Chapter Overview Understanding Windows Name Resolution Using WINS.
13 Copyright © 2004, Oracle. All rights reserved. Oracle Shared Servers.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
Configuring CIFS Upon completion of this module, you should be able to: Configure the Data Mover for a Windows environment Create and Join a CIFS Server.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Client-Server – Lecture 4 Copyright System Managers LLC 2007 all rights reserved.
Enabling Advanced Net8 Features. Configuring Advanced Network Address and Connect Data Information.
5 Copyright © 2008, Oracle. All rights reserved. Configuring the Oracle Network Environment.
5 Copyright © 2007, Oracle. All rights reserved. Configuring the Oracle Network Environment.
1 Web Server Administration Chapter 9 Extending the Web Environment.
12 Copyright © 2004, Oracle. All rights reserved. Oracle Net Services.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
LIGHT WEIGHT DIRECTORY ACCESS PROTOCOL Presented by Chaithra H.T.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
By Lecturer / Aisha Dawood 1.  Dedicated and Shared Server Processes  Configuring Oracle Database for Shared Server  Oracle Database Background Processes.
Copyright  Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
Deploying Oracle Names Jeff D’Abate Sr. Database Administrator Enterprise Application Services November 19, 2004.
18 Copyright © Oracle Corporation, All rights reserved. Workshop.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Five Windows Server 2008 Remote Desktop Services,
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
3 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Server Side Configuration.
3 Copyright © 2004, Oracle. All rights reserved. Controlling Access to the Oracle Listener.
Lesson 12: Configuring Remote Management
Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration.
8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. BI Publisher Server: Administration and Security.
E Copyright © 2006, Oracle. All rights reserved. Oracle Shared Servers.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
5 Copyright © Oracle Corporation, All rights reserved. Usage and Configuration of the Oracle Shared Server.
Usage and Configuration of the Oracle Shared Server Supinfo Oracle Lab. 5.
Basic Oracle Net Services Client-Side Configuration
6 Copyright © 2006, Oracle. All rights reserved. Monitoring Grid Control.
2 Copyright © Oracle Corporation, All rights reserved. Basic Oracle Net Architecture.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
Module 8: Networking Services
Troubleshooting Network Communications
Configuring and Troubleshooting Routing and Remote Access
Network Load Balancing
Module 8: Concepts of a Network Load Balancing Cluster
Creating an Oracle Database
Enabling Distributed Transactions
IIS.
RAC Networking Lab.
Introduction of Week 5 Assignment Discussion
Presentation transcript:

6 Copyright © 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment

Copyright © 2009, Oracle. All rights reserved Objectives After completing this lesson, you should be able to: Use Enterprise Manager to: –Create additional listeners –Create Oracle Net Service aliases –Configure connect-time failover –Control the Oracle Net Listener Use tnsping to test Oracle Net connectivity Identify when to use shared servers and when to use dedicated servers

Copyright © 2009, Oracle. All rights reserved Oracle Net Services Application Oracle Net RDBMS Oracle Net Client or middle tier Database server TCP/IP network Listener Oracle Net configuration files Oracle Net configuration files

Copyright © 2009, Oracle. All rights reserved Oracle Net Listener Listener /network/admin/listener.ora./sqlnet.ora Oracle databases Oracle Net configuration files Enterprise Manager Database Control

Copyright © 2009, Oracle. All rights reserved Establishing Net Connections To make a client or middle-tier connection, Oracle Net requires the client to know the: Host where the listener is running Port that the listener is monitoring Protocol that the listener is using Name of the service that the listener is handling Names resolution

Copyright © 2009, Oracle. All rights reserved Listener Establishing a Connection Incoming connection request

Copyright © 2009, Oracle. All rights reserved Server process User Sessions PGA Listener User session User process

Copyright © 2009, Oracle. All rights reserved Tools for Configuring and Managing the Oracle Network Enterprise Manager Net Services Administration page Oracle Net Manager Oracle Net Configuration Assistant Command line

Copyright © 2009, Oracle. All rights reserved

Copyright © 2009, Oracle. All rights reserved Listener Control Utility Oracle Net listeners can be controlled with the lsnrctl command-line utility (or from EM). $. oraenv ORACLE_SID = [orcl] ? +ASM $ lsnrctl LSNRCTL for Linux: Version Production on 30-JUN :47:01 Copyright (c) 1991, 2009, Oracle. All rights reserved. Welcome to LSNRCTL, type "help" for information. LSNRCTL> help The following operations are available An asterisk (*) denotes a modifier or extended command: start stop status services version reload save_config trace spawn change_password quit exit set* show*

Copyright © 2009, Oracle. All rights reserved Listener Control Utility Syntax Commands from the listener control utility can be issued from the command line or from the LSNRCTL prompt. Command-line syntax: Prompt syntax: $ lsnrctl $ lsnrctl start $ lsnrctl status LSNRCTL> LSNRCTL> start LSNRCTL> status

Copyright © 2009, Oracle. All rights reserved

Copyright © 2009, Oracle. All rights reserved Using SRVCTL to Start and Stop the Listener If Oracle Restart is configured to monitor your listener, you should use SRVCTL to manage that listener. Example syntax: $ srvctl -h $ srvctl start listener $ srvctl stop listener $ srvctl start listener –l mylistener $ srvctl status listener

Copyright © 2009, Oracle. All rights reserved Listener Home Page

Copyright © 2009, Oracle. All rights reserved Net Services Administration Page

Copyright © 2009, Oracle. All rights reserved Creating a Listener

Copyright © 2009, Oracle. All rights reserved Adding Listener Addresses

Copyright © 2009, Oracle. All rights reserved Database Service Registration

Copyright © 2009, Oracle. All rights reserved

Copyright © 2009, Oracle. All rights reserved 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

Copyright © 2009, Oracle. All rights reserved 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 SQL> CONNECT No Oracle Net configuration files

Copyright © 2009, Oracle. All rights reserved Local Naming Requires a client-side Names Resolution file Supports all Oracle Net protocols Supports advanced connection options such as: –Connect-time failover –Source routing –Load balancing SQL> CONNECT Oracle Net configuration files

Copyright © 2009, Oracle. All rights reserved Directory Naming Requires LDAP with Oracle Net Names Resolution information loaded: –Oracle Internet Directory –Microsoft Active Directory Services Supports all Oracle Net protocols Supports advanced connection options SQL> CONNECT LDAP directory Oracle Net configuration files

Copyright © 2009, Oracle. All rights reserved External Naming Method Uses a supported non-Oracle naming service Includes: –Network Information Service (NIS) External Naming –Distributed Computing Environment (DCE) Cell Directory Services (CDS) Oracle Net Non-Oracle naming service

Copyright © 2009, Oracle. All rights reserved Configuring Service Aliases

Copyright © 2009, Oracle. All rights reserved Advanced Connection Options Oracle Net supports the following advanced connection options with local and directory naming: Connect-time failover Load balancing Source routing

Copyright © 2009, Oracle. All rights reserved

Copyright © 2009, Oracle. All rights reserved Testing Oracle Net Connectivity The tnsping utility that tests Oracle Net service aliases: Ensures connectivity between the client and the Oracle Net Listener Does not verify that the requested service is available Supports Easy Connect Names Resolution: Supports local and directory naming: tnsping host01.example.com:1521/orcl tnsping orcl

Copyright © 2009, Oracle. All rights reserved User Sessions: Dedicated Server Process Server process User sessions Server process Listener

Copyright © 2009, Oracle. All rights reserved User Sessions: Shared Server Processes Listener Dispatchers Server process User sessions

Copyright © 2009, Oracle. All rights reserved SGA and PGA Oracle Shared Server: User session data is held in the SGA. Remember to consider shared server memory requirements when sizing the SGA. Stack space PGA User Session Data Cursor State Sort Area Hash Area Create Bitmap Area Bitmap Merge Area UGA System Global Area (SGA)

Copyright © 2009, Oracle. All rights reserved Shared Server: Connection Pooling The client application has been idle past the specified time, and an incoming client requests a connection. The maximum number of connections is configured to 255. This client connection is the 256th connection into the server. Connection pooling is turned on so that this connection can be accepted. Database server Idle client Active client New client

Copyright © 2009, Oracle. All rights reserved When Not to Use a Shared Server Certain types of database work must not be performed using shared servers: Database administration Backup and recovery operations Batch processing and bulk load operations Data warehouse operations DispatcherDedicated server process

Copyright © 2009, Oracle. All rights reserved Configuring Communication Between Databases Sending data or messages between sites requires network configuration on both sites. You must configure the following: –Network connectivity (for example, TNSNAMES.ora) –Database links CREATE DATABASE LINK CONNECT TO IDENTIFIED BY USING ' ';

Copyright © 2009, Oracle. All rights reserved Connecting to Another Database CONNECT CREATE DATABASE LINK remote CONNECT TO HR IDENTIFIED BY HR USING 'REMOTE_ORCL'; SELECT * FROM REMOTE_ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = host02.example.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.example.com) ) tnsnames.ora SQL*Plus

Copyright © 2009, Oracle. All rights reserved 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

Copyright © 2009, Oracle. All rights reserved Quiz When using the shared server process architecture, the PGA is relocated into the SGA. 1.True 2.False

Copyright © 2009, Oracle. All rights reserved Summary In this lesson, you should have learned how to: Use Enterprise Manager to: –Create additional listeners –Create Oracle Net Service aliases –Configure connect-time failover –Control the Oracle Net Listener Use tnsping to test Oracle Net connectivity Identify when to use shared servers and when to use dedicated servers

Copyright © 2009, Oracle. All rights reserved 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

Copyright © 2009, Oracle. All rights reserved