Skip Headers

Oracle9i Net Services Reference Guide
Release 2 (9.2)

Part Number A96581-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page Go to next page
View PDF

10
Oracle Names Parameters (names.ora)

This chapter provides a complete listing of the names.ora file configuration parameters.

This chapter contains these topics:

Overview of Oracle Names Server Configuration File

Oracle Names server configuration, stored in the names.ora file, consists of the following elements:

By default, names.ora is located in the $ORACLE_HOME/network/admin directory on UNIX operating systems and the ORACLE_HOME\network\admin directory on Windows NT. names.ora can also be stored the following locations:

Figure 10-1 shows a names.ora file for an Oracle Names server named namesvr2.us.acme.com.

Figure 10-1 Example names.ora File

NAMES.SERVER_NAME=namesvr2.us.acme.com
NAMES.ADDRESSES=
 (ADDRESS=(PROTOCOL=tcp)(HOST=namesvr2-server)(PORT=1575)) 
NAMES.ADMIN_REGION=
 (REGION=
  (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=sales-server)(PORT=1521)) 
    (CONNECT_DATA=
      (SERVICE_NAME=sales.us.acme.com))
  (USERID=system)
    (PASSWORD=manager)
    (NAME=local_region)
  (REFRESH=86400)
  (RETRY=60)
  (EXPIRE=600))
NAMES.DOMAIN_HINTS=
  (HINT_DESC=
   (HINT_LIST=
     (HINT= 
      (NAME=namesvr1)
      (ADDRESS=(PROTOCOL=tcp)(HOST=namesvr1-server)(PORT=1575))
NAMES.DOMAINS=
 (DOMAIN=
 (NAME=us.acme.com)
     (MIN_TTL=86400))

Oracle Names Parameters

This section lists and describes the names.ora file parameters.


NAMES.ADDRESSES

Purpose

Use the parameter NAMES.ADDRESSES to list the protocol addresses on which the Oracle Names server listens. Any valid ADDRESS or ADDRESS_LIST is allowed.

See Also:

Syntax

NAMES.ADDRESSES= 
 [(ADDRESS_LIST=]
   (ADDRESS=...)
   (ADDRESS=...)[)]

Default

NAMES.ADDRESSES= 
  (ADDRESS=(PROTOCOL=tcp)(HOST=namesvr-server)(PORT=1575))

Example

NAMES.ADDRESSES=
  (ADDRESS_LIST=
  (ADDRESS=(PROTOCOL=tcp)(HOST=namesrv2-server)(PORT=1575)) 
  (ADDRESS=(PROTOCOL=tcp)(HOST=namesrv2-server)(PORT=1375)))

NAMES.ADMIN_REGION

Purpose

Use the parameter NAMES.ADMIN_REGION to specify the data source for an administrative region.

Syntax

NAMES.ADMIN_REGION= 
 (REGION=
  (DESCRIPTION=
    (ADDRESS=...)
    (CONNECT_DATA=(SERVICE_NAME|SID=service_name|sid)))
  (USERID=user)
  (PASSWORD=password)
  (REFRESH=seconds)
  (RETRY=seconds)
  (EXPIRE=seconds)
  (VERSION=version)
  (TYPE=ldap|ldif)
    (HOST=directory_host)
    (PORT=port)
    (TIMEOUT=time)
    (SUBTREE_LIST=
      (SUBTREE=(BASE=base_DN)[(SCOPE=sub|one)))

Subparameters

REGION supports the following subparameters:

DESCRIPTION: Specify the connect descriptor that the Oracle Names server uses to connect to the region database.

USERID: If loading data from the region database, specify a database user. If loading restricted data from a LDAP-compliant directory server, specify a directory user with read privileges in the form of a distinguished name (DN).

PASSWORD: Specify the password for the database user or directory user.

REFRESH: Specify the interval in seconds when the memory cache (not the cache checkpoint file) for the local Oracle Names server will be refreshed from the region database.

The interval value for this parameter is irrelevant for Oracle Names LDAP Proxy servers, because the directory has no mechanism for enabling the Oracle Names LDAP Proxy server to determine if there is new data. Even if this parameter is specified, an Oracle Names LDAP Proxy server always has a reload interval of 248 days, 13 hours, and 20 minutes

RETRY: Specify the interval in seconds the Oracle Names server will wait after a failure to connect to the region database before trying again.

EXPIRE: Specify the time in seconds to wait before terminating the retry attempt.

VERSION: Specify an arbitrary value. Even though the value is irrelevant, this parameter is still necessary.

The following parameters are reserved for Oracle Names LDAP Proxy servers:

TYPE: Specify how the Oracle Names LDAP Proxy server is to load data from a directory server. This parameter supports the following values:

ldap: Specifies that the Oracle Names LDAP Proxy server is to load data directly from a directory server

ldif: Specifies that the Oracle Names LDAP Proxy server is to use data from an LDAP Data Interchange Format (LDIF) file

The following subparameters are for (TYPE=ldap):

HOST: Specify the directory server host name.

PORT: Specify the listening TCP/IP port for the directory server. If you do not specify this option, the default port (389) is used.

TIMEOUT: Specify the time limit in seconds in which the Oracle Names LDAP Proxy server can spend performing a search of directory objects. This time limit cannot be greater than the time limit set for searches in the directory server. By default, the time limit is set to 10 seconds, which is sufficient for most searches.

SUBTREE_LIST | SUBTREE: Use the SUBTREE parameter to specify the DN. Use the SUBTREE_LIST parameter if there are multiple DNs. The SUBTREE parameter supports the following subparameters:

BASE: Specify a subtree location in the directory information tree (DIT) from which the Oracle Names Proxy server should load data. The location is specified as a DN of a LDAP directory entry. The Oracle Names Proxy loads directory naming data from one or more Oracle Contexts located in the subtree following the entry specified.


Note:

Do not prefix the DN with "dn:". For example, (BASE=dn:dc=com) is not acceptable.


SCOPE: Specifies where the Oracle Names Proxy server looks for directory data to load. one (default) specifies that the Oracle Names Proxy server look only in one Oracle Context directly following the entry specified in the BASE parameter. sub specifies the Oracle Names Proxy server look in all the Oracle Contexts in the subtree following the entry specified in the BASE parameter.

See Also:

Oracle9i Net Services Administrator's Guide for more information about configuring the NAMES.ADMIN_REGION parameter for Oracle Names LDAP Proxy servers

Example

NAMES.ADMIN_REGION=
 (REGION=
  (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=sales-server)(PORT=1575))
    (CONNECT_DATA=(SERVICE_NAME=sales.us.acme.com)))
  (USERID=system)
  (PASSWORD=manager)
  (REFRESH=172800)
  (RETRY=2700)
  (EXPIRE=8700)
  (VERSION=34619392))

NAMES.AUTHORITY_REQUIRED

Purpose

Use the parameter NAMES.AUTHORITY_REQUIRED to specify whether or not system queries require authoritative answers.

Default

false

Example

NAMES.AUTHORITY_REQUIRED=true

NAMES.AUTO_REFRESH_EXPIRE

Purpose

Use the parameter NAMES.AUTO_REFRESH_EXPIRE to specify the amount of time, in seconds, for the Oracle Names server to cache database server addresses in other administrative regions obtained through the NAMES.DOMAIN.HINTS parameter. At the end of this interval, the Oracle Names server issues a query to the other regions to refresh the database server addresses.

Default

600

Acceptable Values

60 to 1209600

Example

NAMES.AUTO_REFRESH_EXPIRE=1200000

NAMES.AUTO_REFRESH_RETRY

Purpose

Use the parameter NAMES.AUTO_REFRESH_RETRY to specify the interval, in seconds, that the Oracle Names server retries the other Oracle Names servers on its domain hint list.

Default

180

Minimum Value

60

Maximum Value

3600

Example

NAMES.AUTO_REFRESH_RETRY=180

NAMES.CACHE_CHECKPOINT_FILE

Purpose

Use the parameter NAMES.CACHE_CHECKPOINT_FILE to specify the name and directory path of the file to which the Oracle Names server writes its checkpoint file.

Default

The $ORACLE_HOME/network/names/ckpcch.ora file on UNIX operating systems and the ORACLE_HOME\network\names\ckpcch.ora file on Windows NT

Example

NAMES.CACHE_CHECKPOINT_FILE=c:\oracle\network\names\cacheck.ora

NAMES.CACHE_CHECKPOINT_INTERVAL

Purpose

Use the parameter NAMES.CACHE_CHECKPOINT_INTERVAL to specify the interval, in seconds, in which the Oracle Names server writes a checkpoint of its stored data to a checkpoint file. Each Oracle Names server can periodically write its cached data to a file to protect against startup failures.

Default

0 (disabled)

Minimum Value

10

Maximum Value

259200 (3 days)

Example

NAMES.CACHE_CHECKPOINT_INTERVAL=24

NAMES.CONFIG_CHECKPOINT_FILE

Purpose

Use the parameter NAMES.CONFIG_CHECKPOINT_FILE to specify the name and directory path of the file used to checkpoint Oracle Names server configuration settings.

Default

The $ORACLE_HOME/network/names/ckpcfg.ora file on UNIX operating systems and the ORACLE_HOME\network\names\ckpcfg.ora file on Windows NT

Example

NAMES.CONFIG_CHECKPOINT_FILE=c:\oracle\network\names\configck.ora

NAMES.CONNECT_TIMEOUT

Purpose

Use the parameter NAMES.CONNECT_TIMEOUT to specify the time, in seconds, for the Oracle Names server to wait for a connection request from a client to complete.

Default

3

Minimum Value

1

Maximum Value

600

Example

NAMES.CONNECT_TIMEOUT=8

NAMES.DEFAULT_FORWARDERS

Purpose

Use the parameter NAMES.DEFAULT_FORWARDERS to provide an address list of other Oracle Names servers used to forward queries.

Syntax

NAMES.DEFAULT_FORWARDERS= 
 (FORWARDER_LIST=
   (NAME=onames_server)
   (ADDRESS=...))

Subparameters

FORWARDER_LIST supports the following subparameters:

NAME: Specify the Oracle Names server name to forward queries.

ADDRESS: Specify the protocol address of the Oracle Names server.

See Also:

"Protocol Parameters" for descriptions of the correct parameters to use for each protocol

Example

NAMES.DEFAULT_FORWARDERS= 
 (FORWARDER_LIST=
  (FORWARDER=
    (NAME=rootserv1.com)
    (ADDRESS=(PROTOCOL=tcp)(HOST=root-server)(PORT=4200))))

NAMES.DEFAULT_FORWARDERS_ONLY

Purpose

Use the parameter NAMES.DEFAULT_FORWARDERS_ONLY to specify how the Oracle Names server forwards queries.

When you set the parameter to true, the Oracle Names server forwards queries only to those Oracle Names servers listed as default forwarders with the NAMES.DEFAULT_FORWARDERS parameter. When you set the parameter to false, the Oracle Names server calls the Oracle Names servers listed as default forwarders before other Oracle Names servers found in the cache.

Default

false

Example

NAMES.DEFAULT_FORWARDERS_ONLY=c:\oracle\network\names\domainck.ora

NAMES.DOMAIN_CHECKPOINT_FILE

Purpose

Use the parameter NAMES.DOMAIN_CHECKPOINT_FILE to specify the name and path of the file used for checkpoint authoritative domain data.

Default

The $ORACLE_HOME/network/names/ckpdom.ora file on UNIX operating systems and the ORACLE_HOME\network\names\ckpdom.ora file on Windows NT

Example

NAMES.DOMAIN_CHECKPOINT_FILE=c:\oracle\network\names\domainck.ora

NAMES.DOMAINS

Purpose

Use the parameter NAMES.DOMAINS to provide a list of domains in the local region of the Oracle Names server, as well as the default time to live (TTL) in seconds for data in those domains.

Syntax

NAMES.DOMAINS=
 (DOMAIN_LIST=
 (DOMAIN=
  (NAME=domain)
  (MIN_TTL=ttl))

Subparameters

NAMES.DOMAINS supports the following subparameters:

DOMAIN: Specify the domain name.


Note:

Specify the root domain with a dot (.) or a null value.


MIN_TTL: Specify the TTL for the domain data.

Example

In the following example, NAMES.DOMAINS contains a listing for the root (value of null), com, acme.com, and hq.oracle.com domains. All the domain precedent to hq.acme.com must be defined in order to define hq.acme.com.

NAMES.DOMAINS=
 (DOMAIN_LIST=
 (DOMAIN=
  (NAME=)
  (MIN_TTL=86400))
 (DOMAIN=
  (NAME=com)
  (MIN_TTL=86400))
 (DOMAIN=
  (NAME=acme.com)
  (MIN_TTL=86400))
 (DOMAIN=
  (NAME=hq.acme.com)
  (MIN_TTL=86400)))

NAMES.DOMAIN_HINTS

Purpose

Use the parameter NAMES.DOMAINS_HINTS in one of two ways:

Subparameters

NAMES.DOMAINS_HINTS supports the following subparameters:

HINT_LIST: Specify a list of hints. Each hint contains the name and address of Oracle Names server in a remote administrative region. HINT_LIST uses the following syntax:

(HINT_LIST=
 (HINT=(NAME=onames_server)(ADDRESS=...)))

DOMAIN_LIST: Specify the list of remote domains. DOMAIN_LIST uses the following syntax:

(DOMAIN_LIST=
 (DOMAIN=domain))

Usage Notes

See Also:

Oracle9i Net Services Administrator's Guide for usage notes

Examples

In the following example, NAMES.DOMAIN_HINTS contains a domain hint for Oracle Names server rootsvr.com that is located in the root domain of the remote administrative region. The DOMAIN parameter is left null, meaning that the hint is for the root domain.

NAMES.DOMAIN_HINTS=
 (HINT_DESC=
   (HINT_LIST=
    (HINT=
      (NAME=rootsvr.com)
      (ADDRESS=(PROTOCOL=tcp)(HOST=root-server)(PORT=1575))))
   (DOMAIN_LIST=
    (DOMAIN=)))
 

The following example shows a hint to query two domains, the root domain and the us.acme.com domain, for Oracle Names servers rootsvr.com and namesvr.us.acme.com.

NAMES.DOMAIN_HINTS=
 (HINT_DESC=
   (HINT_LIST=
    (HINT=
     (NAME=rootsvr.com)
     (ADDRESS=(PROTOCOL=tcp)(HOST=root-server)(PORT=1575)))
    (HINT=
     (NAME=namesrv.us.acme.com)
     (ADDRESS=(PROTOCOL=tcp)(HOST=hr-server)(PORT=1575))))
   (DOMAIN_LIST=
    (DOMAIN=)
    (DOMAIN=us.acme.com)))

NAMES.FORWARDING_AVAILABLE

Purpose

Use the parameter NAMES.FORWARDING_AVAILABLE to specify how the Oracle Names server forwards client requests.

When you set the parameter to on, the Oracle Names server forwards client requests to remote Oracle Names server. When you set the parameter to off, clients outside the local domain without access to the network are unable to resolve names.

Default

on

Values

on | off

Example

NAMES.FORWARDING_AVAILABLE=off

NAMES.FORWARDING_DESIRED

Purpose

Use the parameter NAMES.FORWARDING_DESIRE to specify how the Oracle Names server handles requests for remote Oracle Names servers.

When you set the parameter to true, the Oracle Names server provides protocol address of remote Oracle Names server to clients. This way, clients are redirected to the appropriate Oracle Names server. When you set the parameter to false, the Oracle Names server connects to the remote Oracle Names server on behalf of clients.

Default

true

Values

true | false

Example

NAMES.FORWARDING_DESIRED=true

NAMES.KEEP_DB_OPEN

Purpose

Use the parameter NAMES.KEEP_DB_OPEN to specify whether to attempt to keep the connection to the region database open between operations.

When you set the parameter to true, the connection is left open after each load, reload, or reload-check. When you set the parameter to false, the connection is closed after each load, reload, or reload-check.

Default

true

Values

true | false

Example

NAMES.KEEP_DB_OPEN=false

NAMES.LOG_DIRECTORY

Purpose

Use the parameter NAMES.LOG_DIRECTORY to specify the destination directory where the log file for Oracle Names server operational events are written

Default

The $ORACLE_HOME/network/log directory on UNIX operating systems and the ORACLE_HOME\network\log directory on Windows NT

Example

NAMES.LOG_DIRECTORY=c:\oracle\network\names

NAMES.LOG_FILE

Purpose

Use the parameter NAMES.LOG_FILE to indicate the name of the output file to which Oracle Names server operational events are written. The file name extension is always .log. Do not enter an extension for this parameter.

Default

names

Example

NAMES.LOG_FILE=onames

NAMES.LOG_STATS_INTERVAL

Purpose

Use the parameter NAMES.LOG_STATS_INERVAL to specify the number of seconds between full statistical dumps in the log file.

Default

0 (disabled)

Minimum Value

10 seconds

Maximum Value

none

Example

NAMES.LOG_STATS_INTERVAL=12

NAMES.LOG_UNIQUE

Purpose

Use the parameter NAMES.LOG_UNIQUE to indicate whether or not log files are given unique names.

When you set the parameter to on, a process identifier is appended to the name of each log file generated, allowing multiple log files to coexist. For example, log files named namespid.log are created if the default log file name, names.log, is used.

Default

false

Values

true | false

Example

NAMES.LOG_UNIQUE=true

NAMES.MAX_OPEN_CONNECTIONS

Purpose

Use the parameter NAMES.MAX_OPEN_CONNECTIONS to specify the number of connections that the Oracle Names server can have open at any given time. The value is generated as the value 10 or the sum of one connection for listening, 5 for clients, plus one for each remote domain defined in the local administrative region, whichever is greater.

The calculated value is acceptable for most installations.

Default

Calculated based on entered data.

Minimum Value

2

Maximum Value

64

Example

NAMES.MAX_OPEN_CONNECTIONS=52

NAMES.MAX_REFORWARDS

Purpose

Use the parameter NAMES.MAX_REFORWARDS to specify the maximum number of times the Oracle Names server attempts to forward an operation.

Default

2

Minimum Value

1

Maximum Value

15

Example

NAMES.MAX_REFORWARDS=2

NAMES.MESSAGE_POOL_START_SIZE

Purpose

Use the parameter NAMES.MESSAGE_POOL_START_SIZE to specify the initial number of messages allocated in the Oracle Names server message pool that are used for incoming or outgoing forwarded messages.

Default

10

Minimum Value

3

Maximum Value

256

Example

NAMES.MESSAGE_POOL_START_SIZE=10

NAMES.NO_MODIFY_REQUESTS

Purpose

Use the parameter NAMES.NO_MODIFY_REQUESTS to allow or disallow operations that modify data in the Oracle Names server region.

When the parameter NAMES.NO_MODIFY_REQUESTS is set to true, the Oracle Names server refuses any operations that modify data in its region. When the parameter NAMES.NO_MODIFY_REQUESTS is set to false, the Oracle Names server accepts operations that modify data in its region.

Default

false

Values

true | false

Example

NAMES.NO_MODIFY_REQUESTS=true

NAMES.NO_REGION_DATABASE

Purpose

Use the parameter NAMES.NO_REGION_DATABASE to enable or disable the Oracle Names server from loading data from a region database.

When you set the parameter to true, the Oracle Names server does not load data from a region database. Instead, it loads data from its checkpoint files. When you set the parameter to false, the Oracle Names server loads data from a region database.

Default

false

Values

true | false

Example

NAMES.NO_REGION_DATABASE=true

NAMES.PASSWORD

Purpose

Use the parameter NAMES.PASSWORD to set an encrypted password for an Oracle Names server, so that certain privileged operations, such as STOP, RESTART and RELOAD, used from the Oracle Names Control utility are secure.

If this parameter is set with Oracle Net Manager, then the password is encrypted. A clear-text password can be made manually. If the password is clear-text, ensure that the NAMESCTL.INTERNAL_ENCRYPT_PASSWORD parameter in the sqlnet.ora file is set to false.

Default

None

Example

NAMES.PASSWORD=625926683431aa55

NAMES.RESET_STATS_INTERVAL

Purpose

Use the parameter NAMES.RESET_STATS_INTERVAL to specify the number of seconds during which the statistics collected by the Oracle Names servers should accumulate. At the frequency specified, they are reset to 0. The default value of 0 means never reset statistics.

Default

0 (never reset)

Minimum Value

10

Maximum Value

None

Example

NAMES.RESET_STATS_INTERVAL=15

NAMES.SAVE_CONFIG_ON_STOP

Purpose

Use the parameter NAMES.SAVE_CONFIG_ON_STOP to specify whether or not runtime configuration changes are saved into the names.ora file.

When you set the parameter to true, the Oracle Names Control utility saves runtime configuration changes to names.ora file. Any parameters which were modified through Oracle Names Control utility SET operations replace prior names.ora settings. When you set the parameter to false, the Oracle Names Control utility does not save runtime configuration changes to the names.ora file.

Default

false

Example

NAMES.SAVE_CONFIG_ON_STOP=false

NAMES.SERVER_NAME

Use the NAMES.SERVER_NAME parameter to uniquely identify an Oracle Names server by a name. All configuration references to a particular Oracle Names server use this name.

Default

ONAMES_onames_server

Example

NAMES.SERVER_NAME=namesrv1.us.acme.com

NAMES.TOPOLOGY_CHECKPOINT_FILE

Purpose

Use the parameter NAMES.TOPOLOGY_CHECKPOINT_FILE to specify the name and path of the file used for checkpoint topology data. This file defines the domains in the administrative region and the Oracle Names servers authoritative for each domain. Specifically, topology data consists of:

Default

The $ORACLE_HOME/network/names/ckptop.ora file on UNIX operating systems and the ORACLE_HOME\network\names\ckptop.ora on Windows NT

Example

NAMES.TOPOLOGY_CHECKPOINT_FILE=c:\oracle\network\names\topck.ora

NAMES.TRACE_DIRECTORY

Purpose

Use the parameter NAMES.TRACE_DIRECTORY to specify the destination directory of the output trace files from Oracle Names trace sessions.

Default

The $ORACLE_HOME/network/trace directory on UNIX operating systems and the ORACLE_HOME/network/trace directory on Windows NT

Example

NAMES.TRACE_DIRECTORY=/oracle/network/admin/trace

NAMES.TRACE_FILE

Purpose

Use the parameter NAMES.TRACE_FILE to specify the name of the output trace files for Oracle Names trace sessions. The file name extension is always .trc.

Default

names

Example

NAMES.TRACE_FILE=onames

NAMES.TRACE_FUNC

Purpose

Use the parameter NAMES.TRACE_FUNC to enable the internal mechanism to control tracing by a function name.

Default

false

Example

NAMES.TRACE_FUNC=false

NAMES.TRACE_LEVEL

Purpose

Use the parameter NAMES.TRACE_LEVEL to turn Oracle Names tracing on, at a specific level, or off.

Default

off

Values

Example

NAMES.TRACE_LEVEL=admin


NAMES.TRACE_TIMESTAMP

Purpose

When NAMES.TRACE_LEVEL is set to a specific tracing level, you can use the parameter NAMES.TRACE_TIMESTAMP to add a time stamp in the form of dd-mon-yyyy hh:mi:ss:mil to every trace event in the trace file for Oracle Names.

Default

true

Values

yes or true | no or false

Example

NAMES.TRACE_TIMESTAMP=true

NAMES.TRACE_UNIQUE

Purpose

Use the parameter NAMES.TRACE_UNIQUE to specify whether or not a unique trace file is created for each Oracle Names trace session. When the value is set to on, a process identifier is appended to the name of each trace file, enabling several files to coexist. For example, trace files named namespid.trc are created if default trace file name names.trc is used. When the value is set to off, data from a new trace session overwrites the existing file.

Default

on

Values

on | off

Example

NAMES.TRACE_UNIQUE=on