Parameters and format of the Connection Manager configuration file
The following example shows the format of the Connection Manager configuration file, and shows which parameters and attributes can be set for each connection-unit type.
#******************************* HEADER *******************************
NAME connection_manager_instance_name
# Optional Parameters
MACRO name_1=value
MACRO name_2=value
MACRO name_n=value_n
.
.
.
LOCAL_IP ip_address_list
LOG value
LOGFILE path_and_filename
DEBUG value
CM_TIMEOUT seconds
EVENT_TIMEOUT seconds
SECONDARY_EVENT_TIMEOUT seconds
SQLHOSTS value
SSL_LABEL certificate_name
#******************************** BODY ********************************
# Replicate set connection-unit example
REPLSET unit_name_1
{
INFORMIXSERVER sqlhosts_group_names_list
#Optional Parameters and Attributes
SLA sla_name_1 DBSERVERS=value_list \
#Optional SLA Attributes
MODE=value \
USEALIASES=value \
POLICY=value \
WORKERS=number_of_threads \
HOST=host_name \
NETTYPE=network_protocol \
SERVICE=service_name \
SQLHOSTSOPT="options"
SLA sla_name_2 DBSERVERS=value_list ...
SLA sla_name_n DBSERVERS=value_list ...
.
.
.
}
# High-availability cluster connection-unit example
CLUSTER unit_name_2
{
INFORMIXSERVER sqlhosts_group_name
FOC ORDER=value \
PRIORITY=value \
TIMEOUT=value
#Optional Parameters and Attributes
SLA sla_name_1 DBSERVERS=value_list \
#Optional SLA Attributes
MODE=value \
USEALIASES=value \
POLICY=value \
WORKERS=number_of_threads \
HOST=host_name \
NETTYPE=network_protocol \
SERVICE=service_name \
SQLHOSTSOPT="options"
SLA sla_name_2 DBSERVERS=value_list ...
SLA sla_name_n DBSERVERS=value_list ...
.
.
.
CMALARMPROGRAM path_and_filename
}
# Server set connection-unit example
SERVERSET unit_name_3
{
INFORMIXSERVER sqlhosts_group_names_and_standalone_servers_list
#Optional Parameter and Attributes
SLA sla_name_1 DBSERVERS=value_list \
#Optional SLA Attributes
MODE=value \
USEALIASES=value \
POLICY=value \
WORKERS=number_of_threads \
HOST=host_name \
NETTYPE=network_protocol \
SERVICE=service_name \
SQLHOSTSOPT="options"
SLA sla_name_2 DBSERVERS=value_list ...
SLA sla_name_n DBSERVERS=value_list ...
.
.
.
}
# Grid connection-unit example
GRID unit_name_4
{
INFORMIXSERVER server_list
#Optional Parameter and Attributes
SLA sla_name_1 DBSERVERS=value_list \
#Optional SLA Attributes
MODE=value \
USEALIASES=value \
POLICY=value \
WORKERS=number_of_threads \
HOST=host_name \
NETTYPE=network_protocol \
SERVICE=service_name \
SQLHOSTSOPT="options"
SLA sla_name_2 DBSERVERS=value_list ...
SLA sla_name_n DBSERVERS=value_list ...
.
.
.
}
# Connection Unit n
connection_unit_type unit_name_n
{
INFORMIXSERVER values
.
.
.
}
#**********************************************************************
Tip: For increased readability, break
long configuration-file lines by using a backslash ( \ ) line-continuation
character.
The following example shows a macro definition that
uses two text-file lines, but is read as a single line:
MACRO servers=node1,node2,node3,node4,node5,node6,node7,node8, \
node9,node10,node11,node12,node13,node14,node15