RelationalDBDesign  
prev next prev next
  Course navigation
 
Lesson 10
(TNS): Transparent Network Substrate
 
Objective
Describe Oracle's TNS architecture.
   
The Oracle Transparent Network Substrate (TNS) facilitates simple inter-database communication.
To implement TNS, Oracle has built a management layer over the standard network topology.
 
Oracle management layer
   
To implement Net8, several Oracle files must be present on the server:
  1. tnsnames.ora defines outgoing database requests. It contains all database names (SIDs) running on the processor.
    When a new database is added to a box, the file /etc/tnsnames.ora must be updated.
    This file also describes each domain name, including protocol, host, and port information.
  2. istener.ora contains a list of destinations for incoming database connections.. When a new destination database is added to a box, it must be added to /etc/listener.ora and the listener must be bounced.
In addition, TNS uses several server files to resolve host and service names. On UNIX, these files include:
  1. /etc/HOSTS lists all the host names and their corresponding IP addresses.
  2. /etc/SERVICES lists the SQL*Net services and their IP addresses.
The following SlideShow illustrates how a connection is made.
Click the Forward and Back navigation arrows to flip through the images. If your browser is not Java-enabled, or if you're behind a corporate firewall that screens Java, you may see only a gray box. In that case, click the SlideShow transcript to view the illustration as a series of static images.
 
Image
Inter Database Communication
    In the next lesson, two ways to connect to remote databases will be discussed.
  Course navigation