25
Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Embed Size (px)

Citation preview

Page 1: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

1

Chapter 13Network Administration

and Server-side Configuration

Page 2: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

2

Chapter Objectives

• Identify the different types of architecture available in an Oracle network environment

• Identify the components available within Oracle Net Services

• Identify features of the Oracle Connection Manager

Page 3: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

3

Chapter Objectives (Cont.)

• Specify the purpose of each layer in the Oracle communications stack

• State the purpose of a listener

• Create, configure, and delete a listener

Page 4: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

4

Networking Overview

• Group of devices connected through a transmission medium

• Requires modem or network interface card (NIC)

• Transmission medium: telephone wire (twisted pair wire), coaxial cable, fiber optics, microwave, laser

Page 5: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

5

Basic Network

Page 6: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

6

Layered Architecture

• Single-tierMainframe computer with dumb terminals

• Two-tierClient/server environment

• N-tierVarious servers used to handle different parts of a task: Web, e-mail, or application servers

Page 7: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

7

Single-tier Architecture

Page 8: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

8

Two-tier Architecture

Page 9: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

9

N-tier Architecture

Page 10: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

10

Architecture Implementation

Addresses four issues:– Connectivity– Manageability– Scalability– Security

Page 11: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

11

Oracle Net Services

• Addresses connectivity, manageability, and scalability issues

• Composed of:– Oracle Net– Oracle Net Listener– Oracle Connection Manager– Networking Tools

Page 12: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

12

Oracle Advanced Security

• Purchased separately from Database software

• Supports:– Data encryption

• Standard DES• Triple DES• RSA RC4

– User Authentication– Single sign-on

Page 13: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

13

Oracle Communications Stack

Page 14: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

14

Communication Stack for Web Client Connections

Page 15: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

15

Server Configuration

• Client contacts server through a listener

• Each database must have at least one listener

• Default name: LISTENER

Page 16: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

16

Listener Configuration

• Configure listener:– Net Manager– Net Configuration Assistant– Manually with text editor

• Listener parameters stored in LISTENER.ORA file

Page 17: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

17

LISTENER.ORA File

Page 18: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

18

Listener Control Utility

• Command-line interface

• LSNRCTL command launches utility

• Use HELP to view available commands

• Commands affect LISTENER by default

Page 19: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

19

Listener Control Utility Interface

Page 20: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

20

Listener Parameters

Page 21: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

21

Dynamic Registration

• PMON registers with default listener

• INSTANCE_NAME and SERVICE_NAMES must be configured

• SERVICE_NAMES includes DB_DOMAIN value and instance name

Page 22: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

22

Chapter Summary

• A single-tier architecture consists of a dumb terminal directly connected to a mainframe computer.

• A two-tier architecture consists of clients connecting to a server over a network with the processing burden being shared between the client and server.

• An n-tier architecture includes middleware between the client and database server tier, such as a server that can be used to multiplex client connections or function as a Web server.

Page 23: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

23

Chapter Summary (Cont.)

• Components of Oracle Net Services address the connectivity, manageability, and scalability of the Oracle9i network environment.

• Oracle Net Services includes Oracle Net, Oracle Net Listener, Oracle Connection Manager, and Networking Tools.

• Oracle Connection Manager can be used to multiplex client connections and to block or allow access from different clients and protocol conversion.

Page 24: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

24

Chapter Summary (Cont.)

• Oracle Advanced Server Security is a separately licensed product that provides support for data encryption and user authentication.

• The Oracle communications stack is based on the OSI model and provides the specifications for transmitting data across an Oracle network environment.

• Each database must have at least one listener configured to respond to client requests.

Page 25: Chapter 13Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 13 Network Administration and Server-side Configuration

Chapter 13 Oracle9i DBA II: Backup/Recovery and Network Administration

25

Chapter Summary (Cont.)

• A database listener can be configured when the database is created through Net Manager or through the Net Configuration Assistant.

• Operations such as starting, stopping, and reloading a listener can be performed through the Listener control utility (lsnrctl).

• The Net Manager can be used to change the configuration for a listener, delete a listener, or add a listener.