Create an Alias for a Network Object

You can create aliases for almost any type of object stored in an Oracle Names server. An alias is an alternative name for an object. It stores the name of the object it is referencing. When a client requests a lookup of an alias, Oracle Names completes the lookup as if it was actually the entry it is referencing. For example, an alias of db1alias can be created for an object named db1. When db1alias is used to connect to a database service, as in CONNECT scott/tiger@db1alias, it will actually resolve to and use the connect descriptor information for db1.

There are two main uses of aliases:

To create an alias:

  1. In the navigator pane, expand Oracle Net Configuration > Oracle Names Servers.

  2. Select the Oracle Names server.

  3. From the list in the right pane, select Manage Data.

  4. Select the Aliases tab.

  5. Select Add.

  6. Enter the alias in the Alias Name field and the actual name of the object in the Canonical Name field.

  7. Choose Execute.

  8. Choose File > Save Network Configuration.