Configuring Connection Manager

Like everything else Net8 related, Connection Manager is configured via an .ora file. In this case, the file is named cman.ora , and it’s located in the $ORACLE_HOME /network /admin directory. In cman.ora, you can configure the following:

  • Network protocol addresses over which Connection Manager and the Connection Manager Administrator communicate

  • Connection Manager profile attributes that control various aspects of Connection Manager’s operation

  • Net8 access control rules that allow—and disallow—Net8 connections

There are defaults for everything, and if you’re willing to accept all the defaults, you can get by without creating the cman.ora file. It’s best to create the file though. It’s easier to keep track of the protocol addresses and the other settings if you have them recorded where you can see them.

Net8 Assistant cannot be used to configure Connection Manager (at least that’s true as of the 8.1.6 release). To configure Connection Manager, you have to edit cman.ora manually.

Connection Manager Addresses

The first thing you need to do when configuring Connection Manager is to decide which protocols you want to support, and which addresses you want to use. You need to choose protocols and addresses for both CMGW and CMADMIN, and you record these choices in the cman.ora file. The following two entries represent the default values and show the format to use:

CMAN = (ADDRESS =(PROTOCOL=tcp)(HOST=localhost)(PORT=1630)) CMAN_ADMIN = (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1830)) ...

Get Oracle Net8 Configuration and Troubleshooting now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.