Skip to Content
Oracle Net8 Configuration and Troubleshooting
book

Oracle Net8 Configuration and Troubleshooting

by Hugo Toledo, Jonathan Gennick
December 2000
Intermediate to advanced
408 pages
12h 26m
English
O'Reilly Media, Inc.
Content preview from Oracle Net8 Configuration and Troubleshooting

Appendix B. The tnsnames.ora File

The tnsnames.ora file is a text file used by Net8 to resolve net service names when local naming is used. By default, tnsnames.ora resides in the $ORACLE_HOME/network /admin directory.

Understanding the syntax used for tnsnames.ora entries is a key requirement for using almost any Net8 functionality. The same syntax used to define net service names in tnsnames.ora is also used to define net service names when Oracle Names or an LDAP-based repository such as the Oracle Internet Directory is used for name resolution.

Net Service Name Definitions

The primary purpose of an entry in the tnsnames.ora file is to link a net service name with a set of attributes that can be used to connect a client to an Oracle database. These attributes are loosely organized into the following two major categories:

  • The protocol address or addresses

  • The connection data

The protocol address for a net service name points the client to the physical server on which a database instance is running. You might also refer to a protocol address as a network address. The connection data identifies the specific database instance or service, running on that server, to which the client is to connect.

Descriptions and Description Lists

Taken together, the combination of a protocol address and connection data is referred to as a description . Most net service name definitions are fairly simple and consist of just one description. Here’s an example:

DONNA.GENNICK.ORG = (DESCRIPTION = (ADDRESS_LIST ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Pro Oracle Database 11g RAC on Linux

Pro Oracle Database 11g RAC on Linux

Steve Shaw, Martin Bach
Oracle 11g

Oracle 11g

Lewis Cunningham
Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Oracle Essentials: Oracle9i, Oracle8i and Oracle8, Second Edition

Rick Greenwald, Robert Stackowiak, Jonathan Stern

Publisher Resources

ISBN: 1565927532Catalog PageErrata