Create a Net Service Name

Net service names can be added to a tnsnames.ora file or a directory server. An added net service name enables a client to access a database service.

To create a net service name:

  1. In the navigator pane, expand Net8 Configuration > Directory or Local > Service Naming.

  2. Choose plus (+) from the toolbar, or choose Edit > Create from the menu bar. The Welcome page of the Net Service Name Wizard appears.

  3. Enter any name in the Net Service Name field. The net service name can be qualified with the client's domain. The net service name is automatically domain if the client domain is specified.

    seealso.gif
    See Also: Configure Default Domains for Clients

  4. Choose Next. The Protocol page appears.

  5. Select the protocol on which the listener is configured to listen. Note that this protocol must also installed on the client.

  6. Choose Next. The Protocol Settings page appears.

  7. Enter the appropriate protocol parameters for the chosen protocol in the fields provided.

  8. Choose Next. The Service page appears.

  9. Select a release, enter a destination service, and ,optionally, select a database connection type from the Oracle8i Connection Type list.

    If the destination service is release 8.1, select Oracle8i release 8.1, enter a service name in the Service Name field, and choose Next. If destination service is prior to release 8.1, select Oracle8i release 8.0 or Previous, enter an Oracle System Identifier in the Database SID field, and choose Next.

    Oracle Corporation recommends that you use the default setting of Database Default for the connection type. If multi-threaded server (MTS) is configured in the initialization parameter file, you can select Dedicated Server to force the listener to spawn a dedicated server, bypassing MTS configuration. If MTS is configured in the initialization parameter file and you want to guarantee the connection always uses MTS, select Shared Server.

  10. Choose Next. The Test page appears.

  11. Choose Test to verify that the net service name works, or choose Finish to save your configuration and dismiss the Net Service Name Wizard.

    If you choose Test, Net8 connects to the database server by using the connect descriptor information you configured. Therefore, the database and the listener must be running for a successful test. If they are not, see Chapter 11, Establishing a Connection and Testing the Network, in the Net8 Administrator's Guide to start the. A successful test results in the following message:

    The connection test was successful.

    If the test was successful, choose Close to dismiss the Connect Test dialog box, and then proceed to Step 12.

    If the test was not successful:

    a. Ensure that the database and listener are running, and then choose Test.

    b. Choose Change Login to change the user name and password for the connection, and then choose Test.

  12. Choose Finish to save your configuration and dismiss Net Service Name Wizard.

  13. Ensure the profile reflects the local (LOCAL) or directory naming (LDAP) method.

    seealso.gif
    See Also: Prioritize Naming Methods for further information about prioritizing naming methods