Oracle Networking Products Getting Started for Windows Platforms Release 8.0.3 A53746-01 |
|
This chapter describes how to configure your network, including:
Configure your network based upon one of two models:
Additional Information:
See:
|
After you have installed and verified the setup of Oracle Networking Products, use the Oracle Net8 Easy Config to configure a simple network by creating the client configuration files:
Configuration File | Description |
---|---|
TNSNAMES.ORA |
Contains the names and addresses of services on the network. This configuration file is used by both clients and distributed servers to identify destinations servers. To see a sample and a detailed explanation of this configuration file, refer to Appendix B, "Configuration File Content". This file is saved to the directory ORACLE_HOME\NET80\ADMIN. |
SQLNET.ORA |
Used by all clients and servers on the network. The file contains client profile information including optional diagnostic parameters, client information about Oracle Names (if used), and other optional parameters such as native naming and security. To see a sample and a detailed explanation of this configuration file, refer to Appendix B, "Configuration File Content". This file is saved to the directory ORACLE_HOME\NET80\ADMIN. |
Note:
Default configuration files are automatically installed onto your system when you install Oracle Networking Products. Use Oracle Net8 Easy Config to modify these files. |
To configure a simple network:
From the taskbar, select Start > Programs > Oracle for Windows NT or Windows 95> Oracle Net8 Easy Config.
Oracle Net8 Easy Config appears:
The second screen appears:
The third screen appears:
The fourth screen appears:
Click Next to continue. The fifth screen appears:
The Connection Test screen appears:
The status of the test appears in the field below the Test button. Click Done when the test is complete.
The Finish screen appears.
The next time Oracle Net8 Easy Config is invoked, the service name appears in the list box.
The next section discusses how to modify the simple network configuration using Oracle Net8 Easy Config.
For a simple network environment like the one you just configured in the above section (that does not use Oracle Names), use Oracle Net8 Easy Config to:
These changes are saved to the TNSNAMES.ORA file.
To modify a service name:
From the taskbar, select Start > Programs > Oracle for Windows NT or Windows 95 > Oracle Net8 Easy Config.
Oracle Net8 Easy Config appears.
The status of the test appears in the field below the Test button. Click Done when the test is complete.
The Finish screen appears.
To delete a protocol address from a service name in the TNSNAMES.ORA file:
From the taskbar, select Start > Programs > Oracle for Windows NT or Windows 95 > Oracle Net8 Assistant.
The Oracle Net8 Assistant appears.
The TNSNAMES.ORA file is re-created.
The Oracle Net8 Assistant exits.
To delete a service name from the TNSNAMES.ORA file:
From the taskbar, select Start > Programs > Oracle for Windows NT or Windows 95 > Oracle Net8 Easy Config.
Oracle Net8 Easy Config appears.
A message appears asking you to confirm your decision to delete the service name.
The Finish screen appears.
If you click Finish, the service name is deleted, and the TNSNAMES.ORA file is re-created.
Adding addresses to service name is an advanced networking configuration task and is usually not necessary on a simple network. To add an additional protocol address for a service name, use the Oracle Net8 Assistant:
From the taskbar, select Start > Programs > Oracle for Windows NT or Windows 95 > Oracle Net8 Assistant.
Oracle Net8 Assistant appears.
The TNSNAMES.ORA files is re-created.
The Oracle Net8 Assistant exits.
To specify the type of names resolution you want to use:
From the taskbar, select Start > Programs > Oracle for Windows NT or Windows 95 > Oracle Net8 Assistant.
The profile details appear on the right side of the screen:
Naming Method | Description |
---|---|
ONAMES |
Service names are resolved centrally, through a Names Server. You may need to set a Preferred Names Server (using the Oracle Net8 Assistant). See the Oracle Net8 Assistant online help for more information. |
TNSNAMES |
Service names are resolved using the TNSNAMES.ORA file which resides on the client. |
HOSTNAME |
Service names are resolved using the Host Naming Adapter. Certain criteria must be met to use host naming names resolution. See "Specifying Naming Methods" and the Oracle Net8 Assistant online help for more information. |
CDS |
This naming method is available with the Advanced Networking Option (ANO). See Chapter 7, "Using the Advanced Networking Option" and Oracle Advanced Networking Option Administrator's Guide. |
NDS |
Use the Oracle Net8 Assistant to configure a network with Oracle Names.
Oracle Names provides an option that enables dynamic registration of servers with well-known Names Servers on the network and automatic replication of data between Names Servers. If you use Oracle Names to provide a naming service for your network, decide whether to use the DDO.
If you choose to use the DDO in your network, you do not have to use Oracle Net8 Assistant to create configuration files. If you are using Net8 for the first time, and are willing to accept all default parameters, the only configuration file needed is a LISTENER.ORA for each listener with the DDO. That file is created automatically as part of the installation process.
The DDO in Oracle Names 8.0 is not for every network. There are several factors to consider before using DDO on your network.
Note::
The instructions below describe basic configuration steps for Oracle Names Servers. For complete instructions, see the Net8 Administrator's Guide and the Oracle Net8 Assistant online help. |
To configure an Oracle Names Server:
From the taskbar, select Start > Settings > Control Panel. Double-click Services.
To stop the listener:
Note:
Oracle Names only supports TCP/IP, SPX, and Named Pipes protocols on Windows NT. |
If you want to change the default configuration settings, continue with the following steps. If you want to keep the default settings, go to Step 23..
From the taskbar, select Start > Programs > Oracle for Windows NT or Windows 95 > Oracle Net8 Assistant.
The Oracle Net8 Assistant appears:
A message appears confirming that a Names Server has been created.
A Names Server icon is added below the Oracle Names Servers folder (left side of window).
Field | Description |
---|---|
Name |
Enter a name for the Names Server. Oracle Net8 Assistant provides a default name onames_hostname. |
Password |
Enter a password for the Names Server. |
The default address appears in the field below the Add button.
Field | Description |
---|---|
Domain Name |
Enter any valid domain name. |
Time to Live (TTL) |
Specify the TTL value. |
Add the GLOBAL_DBNAME and USE_PLUG_AND_PLAY_listener_name parameters on the server side:
SID_LIST_listener_name= (SID_LIST = (SID_DESC = (SID_NAME = SID) (GLOBAL_DBNAME = global_dbname) ) USE_PLUG_AND_PLAY_listener_name = ON
You may choose any name for the value GLOBAL_DBNAME, provided it is a globally unique name for the database instance, similar to a database alias.
C:\>NAMESCTL80
NAMESCTL>START
NAMESCTL>REORDER_NS
This command produces an SDNS.ORA file at ORACLE_HOME\NET80\NAMES. This file contains the names of the Oracle Names Server(s). Client machines read this file to find the addresses of Oracle Names Servers.
NAMESCTL>EXIT
If you do not want to use the Connection Manager, continue to Chapter 5, "Administration Tasks".
To configure your client to use Oracle Names:
From the taskbar, select Start > Programs > Oracle for Windows NT or Windows 95 > Oracle Net8 Assistant.
The profile details appear on the right side of the screen.
Additional Information:
See Oracle Net8 Assistant online help for more information. |
In order to use the Connection Manager to support multiplexing, multiple protocol support, and access control, a CMAN.ORA configuration file must be created. This file defines the listener addresses, access control rules, and controlling parameters for the Connection Manager. At this release, CMAN.ORA must be manually created. To create the CMAN.ORA file, use the sample in Appendix B, "Configuration File Content" as a basis.
Note:
Oracle Corporation strongly recommends that you use Oracle Names if you use Oracle Connection Manager. |
After you create the CMAN.ORA file, to enable multiplexing and access control utilities, start administrative and main processes for Connection Manager.
Additional Information:
For instructions on how to start administrative and main processes, see Chapter 5, "Administration Tasks". See Net8 Administrator's Guide for detailed information on how to enable multiplexing and access control features of Connection Manger. |
In an Oracle Names environment, the administrative process:
In all naming environments, the main process: