Creating a Net Service Alias

Notes:

You can create net service aliases for directory naming objects-- net service names or database services--in a directory server. A net service alias stores the name of the object it is referencing.

When a client requests a directory lookup of a net service alias, the directory determines that the entry is a net service alias and completes the lookup as if it is the referenced entry. For example, a net service alias of salesalias can be created for a net service name of sales. When salesalias is used to connect to a database service, as in CONNECT scott/tiger@salesalias, it will actually resolve to and use the connect descriptor information for sales.

There are two main uses for net service name aliases:

To create a net service name alias:

  1. In the navigator pane, expand Oracle Net Configuration > Directory > Service Naming > Aliases.

  2. Choose plus (+) from the toolbar, or choose Edit > Create from the menu bar. The Create Net Service Alias dialog box appears.

  3. In the Net Service Alias field, enter a name for the net service alias.

  4. In the Net Service or Database Service box, enter the following information about the net service name or database service:
  5. Choose Create.

Related Topics

Database Identification by Service Name

Oracle Net Services Overview