Oracle Net Services Explained
In the field of database computing, Oracle Net Services consists of sets of software which enable client applications to establish and maintain network sessions with Oracle Database servers. Since Oracle databases operate in and across a variety of software and hardware environments, Oracle Corporation supplies high-level transparent networking facilities with the intention of providing networking functionality regardless of differences in nodes and protocols.
Terminology
- network service name (NSN): "[a] simple name for a service that resolves to a connect descriptor"[1] For example:
sales.acme.co.uk
Components
Oracle Corporation defines Oracle Net Services as comprising:[2]
- Oracle net
- listener
- Oracle Connection Manager
- Oracle Net Configuration assistant
- Oracle Net Manager
Oracle Net
Oracle Net,[3] a proprietary networking stack, runs both on client devices and on Oracle database servers in order to set up and maintain connections and messaging between client applications and servers. Oracle Net (formerly called "SQL*Net" or "Net8"[4]) comprises two software components:
- Oracle Net Foundation Layer: makes and maintains connection sessions. The Oracle Net Foundation Layer establishes and also maintains the connection between the client application and server. It must reside on both the client and server for peer-to-peer communication to occur.
- Oracle Protocol Support: interfaces with underlying networking protocols such as TCP/IP, named pipes, or Sockets Direct Protocol (SDP).
The listener
The listener process(es) on a server detect incoming requests from clients for connection - by default on port 1521[5] - and manage network-traffic once clients have connected to an Oracle database. The listener uses a configuration-file - listener.ora
- to help keep track of names, protocols, services and hosts. The listener.ora
file can include three sorts of parameters:[6]
- listener-address entries
- SID_LIST entries
- control entries
Apart from pre-defined and known statically-registered databases, a listener can also accept dynamic service registration from a database.
Oracle Connection Manager
The Oracle Connection Manager (CMAN) acts as a lightweight router for Oracle Net packets.[7]
Oracle Net Manager
Oracle Net Manager, a GUI tool, configures Oracle Net Services for an Oracle home on a local client or server host.[8] (Prior to Oracle 9i known as "Net8 Assistant".[9])
Associated software
Utilities and tools
tnsping
: determines the accessibility of an Oracle net service.[10]
Software suites
Oracle software integrating closely with and/or depending on Oracle Net Services includes:
See also
References
- Arun Kumar, John Kanagaraj and Richard Stroupe: Oracle Database 10g Insider Solutions. Sams, 2005.
External links
Notes and References
- Web site: Oracle Database Net Services Reference, 12c Release 1 (12.1). Johnston. Caroline. April 2014. docs.oracle.com. Oracle. 2014-06-04. network service name[:] A simple name for a service that resolves to a connect descriptor. Users initiate a connect request by passing a user name and password along with a network service name in a connect string for the service to which they want to connect: CONNECT username/password@net_service_name.
- http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/glossary.htm?type=popup#BGBBDIEC Glossary:Oracle Net Services
- http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/intro.htm#sthref44 Introduction to Oracle Net Services" in Oracle Database Net Services Administrator's Guide 11g Release 1 (11.1), retrieved 2008-01-05
- Book: Greenwald. Rick. Stackowiak. Robert. Stern. Jonathan. Oracle Essentials: Oracle Database 11g. November 2007. 4th. O'Reilly Media, Inc.. 2007. 13. 9780596555337. 2014-05-07. Oracle's network interface, Oracle Net, was formerly known as Net8 when used in Oracle8, and SQL*Net when used with Oracle7 and previous versions of Oracle..
- Book: Rajan. Claire. Oracle 10g Database Administrator II: Backup/Recovery and Network Administration. May 2006. Cengage Learning. 2006. 561. 9781418836641. 2014-12-08. By default, the listener listens on port 1521 for clients requiring database access..
- Book: Toledo. Hugo. Gennick. Jonathan. Oracle Net8: Configuration and Troubleshooting. registration. 2013-08-28 . 1 . O'Reilly series. 2001. O'Reilly Media, Inc.. 9781565927537. 71.
- Web site: Oracle Database JDBC Developer's Guide and Reference. Elizabeth Hanes Perry. June 2004. Oracle Database JDBC Developer's Guide and Reference 10g Release 1 (10.1). Oracle Corporation. 24–2. 2010-02-12. The Oracle Connection Manager is a lightweight, highly-scalable program that can receive Oracle Net packets and re-transmit them to a different server. To a client running Oracle Net, the Connection Manager looks exactly like a database server.. etal.
- Book: Strohm
, Richard
. Oracle Database Net Services Administrator's Guide 11g Release 1 (11.1). 2010-02-15. July 2008. Oracle Corporation. Oracle Net Manager enables you to configure Oracle Net Services for an Oracle home on a local client or server host.. etal.
- Book: Rick. Greenwald. Robert. Stackowiak. Jonathan. Stern. Russell. Deborah. Oracle essentials: Oracle Database 10g. 3. 1999. February 2004. O'Reilly. 0-596-00585-7. 62. In Oracle8, Oracle provided a GUI utility called the Net8 Assistant used to create the various configuration files required for Net8; this utility was renamed the Oracle Net Manager with the Oracle 9i release..
- Book: Mishra
, Sanjay
. Oracle utilities: pocket reference. 2010-02-11. O'Reilly Series Pocket Reference. 2004. O'Reilly Media. 978-0-596-00899-4. 106. Use
tnsping
to determine whether an Oracle Net service can be successfully reached [...] specify a protocol address instead of a net service name to test connectivity to an Oracle Names server or Connection Manager instance..