10.1.6 Configuring the Oracle Database Server for Oracle Connection Manager
Configuring the database server involves registering database information remotely with Oracle Connection Manager and, optionally, configuring the server for multiplexing.
Note:
If the database that you want to register with Oracle Connection Manager is located on a remote node, then you must configure thecman.ora parameter VALID_NODE_CHECKING_REGISTRATION to allow remote registration.
- Configuring Service Registration for Use with Oracle Connection Manager
To enable the database server to communicate with Oracle Connection Manager, thetnsnames.orafile must include the service name entry, and the initialization parameter file(init.ora)must contain a descriptor that specifies the listening address of Oracle Connection Manager. - Enabling Session Multiplexing for Oracle Connection Manager
To enable Oracle Connection Manager to take advantage of session multiplexing, set theDISPATCHERSparameter in the initialization parameter file (init.ora) with thePROTOCOLandMULTIPLEXattributes.
Related Topics
Parent topic: Setting Up Oracle Connection Manager
10.1.6.1 Configuring Service Registration for Use with Oracle Connection Manager
To enable the database server to communicate with Oracle Connection Manager, the tnsnames.ora file must include the service name entry, and the initialization parameter file (init.ora) must contain a descriptor that specifies the listening address of Oracle Connection Manager.
The following procedure describes how to configure service registration:
-
Resolve the Oracle Connection Manager alias to a service name entry in the
tnsnames.orafile as follows:cman_listener_address= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCL=tcp) (HOST=proxy_server_name)( PORT=1521))))For example, the alias
listener_cmanwould be resolved to the following entry in thetnsnames.orafile:listener_cman= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=tcp)(HOST=proxyserver1)(PORT=1521))))
-
Specify an alias for Oracle Connection Manager in the
init.orafile as follows. This alias is the one specified in thetnsnames.orafile in step 1.REMOTE_LISTENER=cman_listener_addressThe alias must be specified because this address is TCP, port 1521 but it is not the default local listening address of TCP, port 1521 of the database server.
For example, the alias for the Oracle Connection Manager listener running on host,
proxyserver1, specified in step 1, might look like the following in theinit.orafile:REMOTE_LISTENER=
listener_cman -
Configure
REGISTRATION_INVITED_NODESincman.oraif the database resides on a remote node. For example:(registration_invited_nodes=sales.us.example.com,10.245.129.60) -
After the initialization parameter file is configured with the alias of Oracle Connection Manager, the Listener Registration (LREG) process can register database information with the Oracle Connection Manager listener. Use the following command to register the change:
SQL> ALTER SYSTEM REGISTER
Related Topics
10.1.6.2 Enabling Session Multiplexing for Oracle Connection Manager
To enable Oracle Connection Manager to take advantage of session multiplexing, set the DISPATCHERS parameter in the initialization parameter file (init.ora) with the PROTOCOL and MULTIPLEX attributes.
For example:
DISPATCHERS="(PROTOCOL=tcp)(MULTIPLEX=on)"
The following table lists the parameters to set different levels of multiplexing:
Table 10-2 Session Multiplexing Parameters
| Attribute | Description |
|---|---|
|
|
The network protocol for which the dispatcher generates a listening endpoint. |
|
|
This parameter is used to enable session multiplexing, as follows:
|