1. Trang chủ
  2. » Công Nghệ Thông Tin

Naming Method Configuration pot

21 161 1

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • Naming Method Configuration

  • Objectives

  • Overview of Naming Methods

  • Host Naming

  • Host Naming: Client Side

  • Host Naming: Server Side

  • Host Naming: Example

  • Configuring Host Naming Using Net Manager

  • Local Naming

  • Configuring the tnsnames.ora File Using Net Manager

  • Slide 11

  • Slide 12

  • Slide 13

  • Slide 14

  • Slide 15

  • Configuring the Local Naming Method Using Net Manager

  • Generated Files: tnsnames.ora

  • Generated Files: sqlnet.ora

  • Troubleshooting the Client Side

  • Summary

  • Practice 4 Overview

Nội dung

4 Copyright © Oracle Corporation, 2002. All rights reserved. Naming Method Configuration 4-2 Copyright © Oracle Corporation, 2002. All rights reserved. Objectives After completing this lesson, you should be able to do the following: • Describe the difference between host naming and local service name resolution • Use Oracle Net Configuration Assistant to configure: – Host Naming method – Local naming method – Net service names • Perform simple connection troubleshooting 4-3 Copyright © Oracle Corporation, 2002. All rights reserved. Overview of Naming Methods • Naming methods are used by a client application to resolve a connect identifier to a connect descriptor when attempting to connect to a database service. • Oracle Net provides five naming methods: – Host naming – Local naming – Directory naming – Oracle Names – External naming 4-4 Copyright © Oracle Corporation, 2002. All rights reserved. Host Naming Clients can connect to a server using a host name under the following conditions: • Connecting to an Oracle database service using Oracle Net Services Client software • Client and server are connecting using TCP/IP protocol • Host names are resolved through an IP address translation mechanism such as DNS or a local /etc/hosts file • No advanced features such as Oracle Connection Manager or security options are used 4-5 Copyright © Oracle Corporation, 2002. All rights reserved. Host Naming: Client Side sqlnet.ora … names.directory_path = (HOSTNAME) Server listener.ora Client TCP/IP 4-6 Copyright © Oracle Corporation, 2002. All rights reserved. Host Naming: Server Side Client sqlnet.ora listener.ora Server SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = stc-sun02.us.oracle.com) (ORACLE_HOME = /u03/ora9i/rel12) (SID_NAME = TEST) 1521 TCP/IP 4-7 Copyright © Oracle Corporation, 2002. All rights reserved. Host Naming: Example • listener.ora file: • Connecting from the client: SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = stc-sun02.us.oracle.com) (ORACLE_HOME = /home1/user461/oracle) (SID_NAME = TEST) sqlplus system/manger@stc-sun02.us.oracle.com 4-8 Copyright © Oracle Corporation, 2002. All rights reserved. Configuring Host Naming Using Net Manager 4-9 Copyright © Oracle Corporation, 2002. All rights reserved. Local Naming listener.ora ServerClient tnsnames.ora sqlnet.ora 4-10 Copyright © Oracle Corporation, 2002. All rights reserved. Configuring the tnsnames.ora File Using Net Manager [...]... host naming and local service name resolution • Use Oracle Net Manager to configure: – Host naming method – Local naming method – Net service names • 4-22 Perform simple connection troubleshooting Copyright © Oracle Corporation, 2002 All rights reserved Practice 4 Overview This practice covers the following topics: • Local Naming configurationConfiguration of net service names • Testing the configuration. .. 4-15 Copyright © Oracle Corporation, 2002 All rights reserved Configuring the Local Naming Method Using Net Manager 4-16 Copyright © Oracle Corporation, 2002 All rights reserved Generated Files: tnsnames.ora # TNSNAMES.ORA Network Configuration # File:D:\oracle\ora92\NETWORK\ADMIN\tnsnames.ora # Generated by Oracle configuration tools U461 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST... 8461)) ) (CONNECT_DATA = (SERVICE_NAME = U461) ) ) 4-17 Copyright © Oracle Corporation, 2002 All rights reserved Generated Files: sqlnet.ora # SQLNET.ORA Network Configuration File: D:\oracle\ora92\NETWORK\ADMIN\sqlnet.ora # Generated by Oracle configuration tools NAMES.DIRECTORY_PATH= (TNSNAMES) 4-19 Copyright © Oracle Corporation, 2002 All rights reserved Troubleshooting the Client Side The following . between host naming and local service name resolution • Use Oracle Net Configuration Assistant to configure: – Host Naming method – Local naming method – Net. service. • Oracle Net provides five naming methods: – Host naming – Local naming – Directory naming – Oracle Names – External naming 4-4 Copyright © Oracle

Ngày đăng: 23/03/2014, 00:20

TỪ KHÓA LIÊN QUAN