11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment.

Slides:



Advertisements
Similar presentations
Module 13: Implementing ISA Server 2004 Enterprise Edition: Site-to-Site VPN Scenario.
Advertisements

2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Module 5: Configuring Access for Remote Clients and Networks.
Lesson 18 – INSTALLING AND SETTING UP WINDOWS 2000 SERVER.
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.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
2 Copyright © 2009, Oracle. All rights reserved. Installing your Oracle Software.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
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.
13 Copyright © 2004, Oracle. All rights reserved. Oracle Shared Servers.
Linux Operations and Administration
Chapter 5 Roles and features. objectives Performing management tasks using the Server Manager console Understanding the Windows Server 2008 roles Understanding.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Client-Server – Lecture 4 Copyright System Managers LLC 2007 all rights reserved.
Module 10: Designing an AD RMS Infrastructure in Windows Server 2008.
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.
Remote Desktop Services Remote Desktop Connection Remote Desktop Protocol Remote Assistance Remote Server Administration T0ols.
12 Copyright © 2004, Oracle. All rights reserved. Oracle Net Services.
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.
1 Chapter Overview Using the New Connection Wizard to configure network and Internet connections Using the New Connection Wizard to configure outbound.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Module 1: Installing and Configuring Servers. Module Overview Installing Windows Server 2008 Managing Server Roles and Features Overview of the Server.
By Lecturer / Aisha Dawood 1.  Dedicated and Shared Server Processes  Configuring Oracle Database for Shared Server  Oracle Database Background Processes.
Deploying Oracle Names Jeff D’Abate Sr. Database Administrator Enterprise Application Services November 19, 2004.
Using OUI to install Oracle9i Release 2 on an OpenVMS System.
6 Copyright © 2009, Oracle. All rights reserved. Configuring the Oracle Network Environment.
Module 11: Implementing ISA Server 2004 Enterprise Edition.
18 Copyright © Oracle Corporation, All rights reserved. Workshop.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Five Windows Server 2008 Remote Desktop Services,
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.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
1 Chapter Overview Planning to Install SQL Server 2000 Deciding SQL Server 2000 Setup Configuration Options Running the SQL Server 2000 Setup Program Using.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration.
Linux Operations and Administration
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.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
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
Virtual Private Network Access for Remote Networks
Netscape Application Server
Module Overview Installing and Configuring a Network Policy Server
Network Load Balancing
Creating an Oracle Database
Enabling Distributed Transactions
IIS.
Oracle Architecture Overview
Introduction of Week 5 Assignment Discussion
Presentation transcript:

11 Copyright © 2005, Oracle. All rights reserved. Configuring the Oracle Network Environment

11-2 Copyright © 2005, 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 Oracle Net Manager to configure client and middle-tier connections Use tnsping to test Oracle Net connectivity Identify when to use shared servers versus dedicated servers

11-3 Copyright © 2005, 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

11-4 Copyright © 2005, 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 launched by Oracle Universal Installer Command Line

11-5 Copyright © 2005, Oracle. All rights reserved. Listener Control Utility Oracle Net listeners can be controlled with the command-line lsnrctl utility. $lsnrctl LSNRCTL for Linux: Version on 12-MAY :27:51 Copyright (c) 1991, 2004, 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*

11-6 Copyright © 2005, 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. UNIX or Linux command-line syntax: Prompt syntax: # lsnrctl # lsnrctl start # lsnrctl status LSNRCTL> LSNRCTL> start LSNRCTL> status

11-7 Copyright © 2005, Oracle. All rights reserved. Listener Control Utility Syntax Full Notes Page

11-8 Copyright © 2005, Oracle. All rights reserved. Listener Home Page

11-9 Copyright © 2005, Oracle. All rights reserved. Net Services Administration Pages

11-10 Copyright © 2005, Oracle. All rights reserved. Oracle Net Listener Listener /network/admin/listener.ora sqlnet.ora Oracle database(s) Oracle Net configuration files Enterprise Manager Database Control

11-11 Copyright © 2005, Oracle. All rights reserved. Creating a Listener

11-12 Copyright © 2005, Oracle. All rights reserved. Adding Listener Addresses

11-13 Copyright © 2005, Oracle. All rights reserved. Database Service Registration

11-14 Copyright © 2005, Oracle. All rights reserved. Where We Are Learning how to use Enterprise Manager to: –Create and monitor listeners –Add listening addresses –Edit database service registration Establishing connections—choose/configure: –Names Resolution –Oracle Net Service aliases –Connect-time failover –Load balancing (RAC) –Source routing Using Oracle Net Manager Testing Oracle Net connectivity Identifying when to use shared servers versus dedicated servers

11-15 Copyright © 2005, 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

11-16 Copyright © 2005, 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

11-17 Copyright © 2005, 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

11-18 Copyright © 2005, 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

11-19 Copyright © 2005, 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

11-20 Copyright © 2005, 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

11-21 Copyright © 2005, Oracle. All rights reserved. Configuring Service Aliases Create or edit

11-22 Copyright © 2005, 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

11-23 Copyright © 2005, Oracle. All rights reserved. Advanced Connection Options Full Notes Page

11-24 Copyright © 2005, Oracle. All rights reserved. Where We Are Learning how to use Enterprise Manager to: –Create and monitor listeners –Add listening addresses –Edit database service registration Establishing connections—choose/configure: –Names Resolution –Oracle Net Service aliases –Connect-time failover –Load balancing (RAC) –Source routing Using Oracle Net Manager Testing Oracle Net connectivity Identifying when to use shared servers versus dedicated servers

11-25 Copyright © 2005, Oracle. All rights reserved. Oracle Net Manager

11-26 Copyright © 2005, Oracle. All rights reserved. Choosing Naming Methods Oracle Net Manager configures the Names Resolution methods for a client or middle tier and the order in which they are checked.

11-27 Copyright © 2005, Oracle. All rights reserved. Configuring Service Naming with Net Manager Step 1: Net Service NameStep 2: Protocol Step 4: Service Step 3: Protocol Setting

11-28 Copyright © 2005, Oracle. All rights reserved. Configuring Service Naming with Net Manager Step 5: Test

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

11-30 Copyright © 2005, 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 db.us.oracle.com:1521/dba10g tnsping orcl

11-31 Copyright © 2005, Oracle. All rights reserved. Where We Are Using Enterprise Manager to configure Oracle Network components Using Oracle Net Manager Testing Oracle Net connectivity Identifying when to use shared servers versus dedicated servers

11-32 Copyright © 2005, Oracle. All rights reserved. Listener Establishing a Connection Incoming connection request

11-33 Copyright © 2005, Oracle. All rights reserved. Server process User Sessions PGA Listener User session User process

11-34 Copyright © 2005, Oracle. All rights reserved. User Sessions: Dedicated Server User sessions Server process User session Server process

11-35 Copyright © 2005, Oracle. All rights reserved. User Sessions: Shared Servers Listener Dispatcher Server process

11-36 Copyright © 2005, Oracle. All rights reserved. Response queue for D001 Response queue for D002 Instance SGA Shared server processes S001 S002 S000 Response queue for D000 Processing a Request with Shared Servers Common request queue for all dispatchers Database server Client or middle tier User process Dispatcher D001 Dispatcher D002 Dispatcher D User process

11-37 Copyright © 2005, Oracle. All rights reserved. SGA Largepool and other memory structures Stack space PGA SGA and PGA User session data Cursor state Dedicated server: User session data is kept in the PGA. Oracle Shared Server: User session data is held in the SGA. PGA User session data Cursor state Stack space Sort data Sort data

11-38 Copyright © 2005, 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

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

11-40 Copyright © 2005, Oracle. All rights reserved. Oracle Connection Manager (CMAN): Overview Oracle Connection Manager typically resides on a separate server. It functions as a net traffic firewall and proxy server. It can be configured to perform: –Access control filtering –Session multiplexing –Protocol conversion

11-41 Copyright © 2005, Oracle. All rights reserved. Client Web browser Multiplexing Sessions Application Web server Oracle Connection Manager Database server Intranet RDBMS Oracle Net

11-42 Copyright © 2005, 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 Oracle Net Manager to configure client and middle-tier connections Use tnsping to test Oracle Net connectivity Identify when to use shared servers versus dedicated servers

11-43 Copyright © 2005, Oracle. All rights reserved. Practice Overview: Working with Oracle Network Components This practice covers: Configuring local Names Resolution to connect to another database Creating a second listener for connect-time failover

11-44 Copyright © 2005, Oracle. All rights reserved.