listener.ora
,
reviewed how dynamic service registration lets instances advertise themselves to the listener,
and practiced essential operations with lsnrctl
:
start
, stop
, status
, services
, and reload
.
You also saw where tracing and logging are configured for troubleshooting.
Oracle supports several naming methods. In practice, prioritize them in this order:
Minimal client setup; great for dev, containers, and automation. Examples:
sqlplus hr@//dbhost.acme.com:1521/ORCLPDB1
sqlplus "hr@//dbhost.acme.com/ORCLPDB1?ssl_server_dn_match=yes&wallet_location=/opt/wallet"
Use query parameters for TLS options and timeouts. Works with SQL*Plus, JDBC Thin, and other Oracle clients.
Centralize service metadata in an LDAP directory such as Oracle Unified Directory (OUD)
or Oracle Internet Directory (OID). Clients resolve a simple net service name (e.g.,
sales_rw
) without maintaining local files. Best for enterprises needing consistency and
role-based access across many apps.
tnsnames.ora
)A per-host alias file that maps names to connect descriptors. Simple and reliable, but requires change management when endpoints move. Keep it for edge cases, air‑gapped systems, or as a fallback if LDAP is unavailable.
Oracle Names was retired long ago in favor of standards‑based LDAP directories. Do not deploy it.
sqlnet.ora
or via Easy Connect Plus parameters.You now understand the server side: listeners, services, security, and naming resolution. In the next module, we configure clients, choosing a naming method, setting TLS and wallets, and validating connections end‑to‑end.
Before moving on, verify your understanding with a short quiz: