| Oracle9i Administrator's Reference Release 1 (9.0.1) for Alpha OpenVMS Part Number A90868-01 |
|
This chapter decribes the Oracle Net Services features for Alpha OpenVMS.
It contains the following topics:
This section describes core Oracle Net Services products and features.
This section describes the files and utilities that you can use to configure Oracle Net Services products.
The default directory for Oracle Net Services configuration files on Alpha OpenVMS systems is ora_root:[network.admin]
Oracle Net Services searches the following locations for configuration files in the following order:
For each system-level configuration file, users may have a corresponding local private configuration file (stored in the user's home directory). The settings in the local file override the settings in the system-level file. The following table lists the system-level configuration files and the corresponding local configuration files:
| System-Level Configuration File | Local Configuration File |
|---|---|
|
|
|
|
|
|
Examples of the listener_ora.sample, names_ora.sample, configuration files are located in the
sqlnet_ora.sample and tnsnames_ora.sample$ORACLE_HOME:[network.admin] directory.
Oracle Net Services release release 1 (9.0.1) on OpenVMS supports the following protocols:
Before installing the TCP/IP protocol support, you must install and configure the appropriate operating system software. The BEQ, and IPC protocol supports do not have any specific operating system requirements.
The IPC, TCP/IP and Oracle Net Services protocol supports each have a protocol-specific ADDRESS specification that is used for Oracle Net Services configuration files and for the DISPATCHERS initialization parameter in the initsid.ora file. See the ADDRESS specification heading under each protocol section in this chapter for more information on protocol-specific ADDRESS specification.
Table 11-1 shows a summary of ADDRESS specifications for each protocol.
| Supported Protocol | ADDRESS Specification |
|---|---|
|
BEQ |
(ADDRESS =
|
|
IPC |
(ADDRESS =
(PROTOCOL=IPC) (KEY=key)) |
|
TCP/IP |
(ADDRESS =
(PROTOCOL=TCP) (HOST=hostname) (PORT=port)) |
The BEQ protocol support is both a communications mechanism and a process-spawning mechanism. To use the BEQ protocol support, the client and server must be on the same system. If a network service name is not specified, either directly by the user on the command line or Login screen or indirectly by an environment variable such as ORA_DFLT_HOSTSTR, then the BEQ protocol support is used. In this case, the BEQ protocol support always uses a dedicated server and the shared server model is never used. This dedicated server is started automatically by the BEQ protocol, which waits for the server process to start and attach to an existing System Global Area (SGA). If the startup of the server process is successful, the BEQ protocol support then provides inter-process communication through VMS mailboxes.
An important feature of the BEQ protocol support is that is does not require a listener for its operation. The protocol support is linked into the client tools and directly starts its own server process without outside interaction. However, you can only use the BEQ protocol support when the client program and Oracle9i are installed on the same system. The BEQ protocol support is always installed and always linked to all client tools and to the Oracle9i server.
The IPC protocol support is similar to the BEQ protocol support in that it can only be used when the client program and the Oracle9i server are installed on the same system. The IPC protocol support differs from the BEQ protocol support in that it can be used with Oracle Shared Server configurations. The IPC protocol support requires a listener for its operation. The IPC protocol support is always installed and always linked to all client tools and to Oracle9i.
The IPC protocol support connection parameters are part of the ADDRESS keyword-value pair. The ADDRESS is commonly part of a larger construct such as a connect descriptor or configuration file. You can enter the following parameters in any order:
(ADDRESS=(PROTOCOL=IPC) (KEY=key))
Table 11-2 describes the syntax for IPC protocol connections parameters.
| Parameter | Description |
|---|---|
|
PROTOCOL |
IPC protocol support to be used. The value is IPC. It is not case sensitive. |
|
KEY |
Service name of database or system identifier (SID). |
Example 11-1 shows a sample IPC ADDRESS.
(ADDRESS=(PROTOCOL=IPC) (KEY=PROD)
)
The default tnslnr port in OpenVMS is 1521.
The TCP/IP protocol connection parameters are part of the ADDRESS keyword-value pair. The ADDRESS is commonly part of a larger construct such as a connect descriptor or configuration file. You can enter the parameters in any order:
(ADDRESS=(PROTOCOL=TCP) (HOST=hostname) (PORT=port))
Table 11-3 describes the syntax for the TCP/IP protocol connection parameters.
| Parameter | Description |
|---|---|
|
PROTOCOL |
The protocol support to be used. The value is TCP. It is not case sensitive. |
|
HOST |
The host name or the host IP address. |
|
PORT |
The TCP/IP port. |
Example 11-2 shows a sample TCP/IP ADDRESS.
(ADDRESS=(PROTOCOL=TCP) (HOST=MADRID) (PORT=1521))
You can specify the last field by name, for example, (PORT=listener).
Use the oratclsh executable to debug your Tcl scripts. Before executing oratclsh, set the TCL_LIBRARY environment variable to specify the ORA_ROOT:[network.agent.tcl] directory.
Although Oracle Intelligent Agent does not require Simple Network Management Protocol (SNMP) to work, you can configure Oracle SNMP support before starting the Intelligent Agent. Note that all of the configuration files for the following steps are located in the ORA_ROOT:[network.snmp.peer] directory.
In the CONFIG.master file, make the following change:
You can also make other changes to the CONFIG.master file as documented within the file.
To configure the encapsulator, perform the following steps:
snmpd.conf file, where hostname_or_IP_address represents the local system IP address or host name:
CONFIG.encap file. The default port number is 1161.
start_peer script to this port number.
snmpd agent sends traps.
start_peer script. You can also modify the port number in the NEW_TRAPD_PORT variable.
The start_peer script contains a line similar to the following, where snmpd_executable_path is the path of the snmpd executable:
SNMPD=snmpd_executable_path
Make sure that snmpd_executable_path is the location of the snmpd executable on your system.
|
|
![]() Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|