Adding Connectors to an Existing Deployment
Adding more connectors to an existing installation allows for increased routing capacity. The new connectors will form part of the cluster and be fully aware and communicate with existing managers and datasources within the cluster.
To add more connectors to an existing deployment:
On the new host, ensure the "Installation Prerequisites" have been followed.
On all existing nodes, update the
/etc/tungsten/tungsten.iniconfiguration file adding the new host to the list ofconnectors.Example tungsten.ini[alpha]...connectors=host4Show argument definitions
connectors=host4Hostnames for the dataservice connectors.Using the
--no-connectorsoption updates the current deployment without restarting the existing connectors.During a period when it is safe to restart the connectors:
shell> ./tools/tpm promote-connectorCopy the
/etc/tungsten/tungsten.inifrom an existing node to the new connector being configured.NoteIf SSL is enabled, you should also copy the various SSL keys and certificated from
/opt/continuent/shareof an existing connector to the new connector.Install the Tungsten Cluster package or download the Tungsten Cluster tarball, and unpack it on the new Connector host:
shell> cd /opt/continuent/softwareshell> tar zxf tungsten-clustering-8.0.4-132.tar.gzChange to the Tungsten Cluster directory:
shell> cd tungsten-clustering-8.0.4-132Run
tpmto validate the installation. Providing no errors are returned, you can then continue to install the software.shell > ./tools/tpm validateshell > ./tools/tpm installIf your connectors are using Proxy, you will need to copy the
user.mapfile from an existing connector to ensure authentication of clients succeeds.If you supplied
start-and-reportthe software will be running, if this wasn't included, you can now start the software as follows:shell > connector start
The status of all the connectors can be monitored using cctrl:
[LOGICAL] /alpha > ls
COORDINATOR[host1:AUTOMATIC:ONLINE]
ROUTERS:
+----------------------------------------------------------------------------+
|connector@host1[8616](ONLINE, created=0, active=0) |
|connector@host2[12381](ONLINE, created=0, active=0) |
|connector@host3[19708](ONLINE, created=0, active=0) |
|connector@host4[5085](ONLINE, created=0, active=0) |
+----------------------------------------------------------------------------+