Presentation is loading. Please wait.

Presentation is loading. Please wait.

Basic Oracle Net Services Client-Side Configuration

Similar presentations


Presentation on theme: "Basic Oracle Net Services Client-Side Configuration"— Presentation transcript:

1 Basic Oracle Net Services Client-Side Configuration
Supinfo Oracle Lab. 4 Basic Oracle Net Services Client-Side Configuration

2 After completing this lesson, you should be able to do the following:
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

3 Clients can connect to a server using a host name if:
Host Naming Clients can connect to a server using a host name if: You are connecting to an Oracle database service using Oracle Net Services Client software Your client and server are connecting over a 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 like Connection Manager or security options are used

4 Host Naming Client Side
Server Client TCP/IP TRACE_LEVEL_CLIENT = OFF sqlnet.authentication_services = (NTS) names.directory_path = (HOSTNAME) sqlnet.ora listener.ora

5 Host Naming Server Side
Client Server 1521 TCP/IP SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = stc-sun02.us.oracle.com) (ORACLE_HOME = /u03/ora9i/rel12) (SID_NAME = TEST) sqlnet.ora listener.ora

6 Select Host Name Method

7 Host Naming Method Check the sqlnet.ora file

8 Local Naming Client Server sqlnet.ora tnsnames.ora listener.ora

9 Oracle Net Configuration Assistant

10 Choosing Local Naming

11 Configuring Local Net Service Names

12 Working with Net Service Names

13 Specify the Oracle Database Version

14 Database Service Name

15 Network Protocol

16 Host Name and Listener Port

17 Testing the Connection

18 Connection Test Result
TNSPING

19 Net Service Name

20 Save the Net Service Name

21 tnsnames.ora MY_SERVICE.US.ORACLE.COM = (DESCRIPTION = (ADDRESS_LIST =
# TNSNAMES.ORA Network Configuration File:/u03/ora9i/rel12/network/admin/tnsnames.ora # Generated by Oracle configuration tools. MY_SERVICE.US.ORACLE.COM = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = stc-sun02.us.oracle.com)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = TEST.us.oracle.com)

22 sqlnet.ora # SQLNET.ORA Network Configuration File: /u03/ora9i/rel12/network/admin/sqlnet.ora # Generated by Oracle configuration tools. NAMES.DEFAULT_DOMAIN = us.oracle.com NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME) SQLNET.EXPIRE_TIME=0 sqlplus SQL*Plus: Release Beta on Tue Feb 27 10:11: (c) Copyright 2000 Oracle Corporation. All rights reserved. Connected to: Oracle9i Enterprise Edition Release Beta JServer Release Beta SQL>

23 Troubleshooting the Client Side
The following error codes are related to problems on the client side: ORA “TNS:could not resolve service name” ORA “TNS:could not find path to destination” ORA “TNS:unable to connect to destination” ORA “TNS:illegal ADDRESS parameters” ORA “TNS:no listener”

24 In this lesson, you should have learned how to:
Summary In this lesson, you should have learned how to: Describe the difference between host naming and local service name resolution Use Oracle Net Configuration Assistant to configure: Local naming method Net service names Perform simple connection troubleshooting

25 This practice covers the following topics:
Practice 4 Overview This practice covers the following topics: Configuration of Local Naming Configuration net service names Testing the configuration


Download ppt "Basic Oracle Net Services Client-Side Configuration"

Similar presentations


Ads by Google