Oracle Network Management

Oracle Net is a network component of Oracle, which can establish the connection between the client or middleware server to the database server, and is responsible for the maintenance of the connection between the client and the server.
On the client side Oracle Net is a background component, which is used by Sql*plsu but we can't see its existence. The
server side Oracle Net includes an active process listener (listener), which is responsible for synchronizing external programs and database services. connect. Without the listener, the client will not be able to connect to the database.
When the listener is started, it will read a file called listener.ora. This file is the listener configuration file. This file specifies all the hosts of the listener, the instance name of the listener, the port number of the listener, the protocol of the listener, etc.



 Configure the listener on the server side (listener.ora)

There are two ways to configure

1. Modify the listener.ora file directly

2. Configuration via Oracle Net Manage

3. lsnrctl start listener name (used to start the listener)
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 23-March-2016 18:4
3:13
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, please type "help" for information.
LSNRCTL> help
The following operations can use an
asterisk (*) to indicate modifiers or extended commands:
start stop status
services version reload
save_config trace change_password
quit exit set*
show*

Client listening network service name

1. Configure using Oracle Net Configuration Assistant

2. Use tnsping to check whether the configuration listener can communicate with the server

C:\Users\nowhill>tnsping jljcz

The Oracle Net tool (command) tnsping is an OSI session layer tool that is used to:

1) Verify name resolution (name resolution, of course, oracle's own network service name)

2) Whether the remote listener is started

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327030758&siteId=291194637