Oracle 10g Tutorials : Oracle Net Services

Oracle 10g Tutorials : Oracle Net Services

In this tutorial you will learn Oracle Net Services - An Overview, Using Oracle Net Manager, Creating Listeners, Choosing General Parameters , enable the tracing and logging for the database transactions. We will also learn how to use TNSPING to test Oracle Net connectivity.

Document Summary

This document gives the overview of the oracle net services. It also explains the uses of oracle net manager.

 

Oracle Net Services Overview

Oracle Net Services provides enterprise-wide connectivity solutions in distributed, heterogeneous computing environments. Oracle Net Services eases the complexities of network configuration and management, maximizes performance, and improves network diagnostic capabilities. Oracle Net, a component of Oracle Net Services, enables a network session from client application to an Oracle database server. Once a network session is established, Oracle Net acts as a data courier for the client application and the database server. It is responsible for establishing and maintaining the connection between the client application and database server, as well as exchanging messages between them. Oracle Net is able to perform these jobs because it is located on each computer in the network. Network sessions are established with the help of a listener. The listener is a separate process that resides on the database server. The listener receives incoming client connection requests and manages the traffic of these requests to the server. The listener brokers the client request, handing off the request to the server. Every time a client requests a network session with a server, a listener receives the actual request. If the client's information matches the listener's information, the listener grants a connection to the server.

 

Use Oracle Net Manager to create and configure listeners

 

Navigation – Start->Programs->Oracle-Oracle Client10g Home->Configuration and Migration Tools->Net Manager

 

Once you click on the Net Manager link on the above Navigation Path, following screen will appear in front of you.

 

 

Click on the Local link in the above screen and following screen will appear in front of you.

 

 

Click on the Listeners tab to see the list of existing listeners.

 

 

Please enter the name of the listener you want to create in the following pop up screen. You can choose any user friendly name.

 

 

 

<script type="text/javascript"></script> <script src="http://adsyndication.msn.com/delivery/getads.js" type="text/javascript"></script>

 

You will see the LISTENER1 created in the following screen. Click on Add Address button to add the Listening location’s address.

 

 

Choose General Parameters from the drop down and you will see following screen.

Let the default values in this screen.

 

 

Click on ‘Logging & Tracing’ tab and you will see following screen.

 

 

You can enable the tracing and logging for the database transactions and would be required to provide the files to store the logs or traces.

 

Click on ‘Authentication’ tab and you will see following screen. You can set the password for listener related operations in this screen.

 

 

Choose Database Services from Dropdown and you will see following screen.

 

 

Give the Global Database Name , SID and Oracle Home Directory to configure the database service for the Listener. Save the information and your listener is created and configured. You can change any of the listener’s parameters through oracle net manager.

<script type="text/javascript"></script> <script src="http://adsyndication.msn.com/delivery/getads.js" type="text/javascript"></script>

 

Use TNSPING to test Oracle Net connectivity

You can also use tnsping utility on command prompt to check Oracle Net connectivity. Follow these steps to check the connection to particular SID.

 

  1. Open Command prompt.
  2. Write tnsping < SID for the database connectivity you want to check >
  3. If you get the message “Used TNSNAMES adapter to resolve the alias” then tnsping utility is able to resolve the service name.
  4. If you get “TNS-03505: Failed to resolve name” message then tnsping utility is not able to resolve the service name and you need to check the SQLNET.ora and TNSNAMES.ora files on your machine.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值