Configuring connection management
To configure connection management, you must install software, set environments and connectivity information, create Connection Manager configuration files, and run the oncmsm utility.
About this task
Procedure
- Install at least one Connection Manager as part of the
HCL OneDB™ Client Software Development
Kit (Client SDK) installation.
- If Connection Managers are installed on hosts where database servers are not installed, set each Connection Manager's host INFORMIXDIR environment variable to the directory the Connection Manager is installed into.
- Modify connectivity information in the sqlhosts files
that are on all client, database server, and Connection Manager hosts.
- If sqlhosts files are in host directories other than $INFORMIXDIR/etc, set host INFORMIXSQLHOSTS environment variables to the appropriate sqlhosts file location.
- If Connection Managers or clients are installed on hosts where database servers are not installed, create a sqlhosts file on each host, and then set each Connection Manager's or client's host INFORMIXSQLHOSTS environment variable to the location of the sqlhosts file.
-
If Connection Managers, application servers, or database servers
are on an untrusted network, complete the following steps:
- On Connection Manager hosts, create a configuration file
for each installed Connection Manager.
- If the configuration file is in a directory other than $INFORMIXDIR/etc, set the CMCONFIG environment variable to specify the file's location.
- If you define a service-level agreement that uses a transaction-latency or apply-failure redirection policy, start quality of data (QOD) monitoring by running the cdr define qod and cdr start qod commands.
- Set onconfig parameters on the cluster
database servers.
- If Connection Managers control failover for a high-availability
cluster, set the DRAUTO configuration parameter to
3
on all managed cluster database servers, and set the HA_FOC_ORDER configuration parameter on the primary server of each cluster to a failover order. - On each database server that uses multiple ports, set the DBSERVERALIASES configuration parameter to the alias names listed in Connection Manager and database server sqlhosts file entries.
- If Connection Managers control failover for a high-availability
cluster, set the DRAUTO configuration parameter to
- Optional: Configure the cmalarmprogram script that is installed with Connection Managers.
- Run the oncmsm utility to start Connection Managers.