Add a New Node to Existing Composer Multi-Node Deployments
Environment Prerequisites
- You must have previously configured your Composer multi-node deployment.
zoomdata-consulandpostgresql, configured as clusters external to the nodes, must be configured to accept incoming connections.- See https://www.consul.io/commands/join (
zoomdata-consul join <ip-address>). - See https://www.postgresql.org/docs/12/high-availability.html.
- See https://www.consul.io/commands/join (
- You must have Linux machines where additonal Composer components will be installed.
Node Installation and Configuration
Each process described here must be performed on each additional node of your Composer multi-node deployment.
Install A Java 17 Distribution
Supported options include:
- Oracle: download here
- OpenJDK: download here
- AWS Corretto: download here
Add an OS Package Repository
You'll need to include an OS package repository of your version of Composer.
CentOS/RHEL/etc/yum.repos.d/zoomdata.repo
Note: <COMPOSER-VERSION must be replaced by the same trunk version (such as 22.4 or 23.2) as your other Composer cluster nodes are equipped with. RHEL-RELEASE must be replaced by the supported version of CentOS/RHEL.
Ubuntu/etc/apt/sources.list.d/zoomdata.list
Note: <COMPOSER-VERSION must be replaced by the same trunk version (such as 6.9 or 7.10) as your other Composer cluster nodes are equipped with. UBUNTU-CODENAME must be replaced by one of the supported versions of Ubuntu.
Important: Call apt update after adding the additional repository list.
Install the zoomdata-consul Package
This allows the cluster node to communicate in Service Discovery with other cluster nodes.
CentOS/RHEL
yum install -y zoomdata-consul
Ubuntu
apt install -y zoomdata-consul
Configure the Zoomdata Consul Package
Configure the Zoomdata Consul package to be a part of the existing cluster.
Stop the
zoomdata-consulservice if it is running.- Edit the
/etc/zoomdata/consul.jsonfile and add: Start the
zoomdata-consulservice. Check if it joined the cluster:/opt/zoomdata/bin/zoomdata-consul members
Install Composer Components
Install the subset of Composer components required by the role of each node you're adding.
Note: COMPOSER-WEB (zoomdata) and Composer Query Engine (zoomdata-query-engine) require extra configuration to use the shared metadata storage you configured.
For example, to install an additional Composer Query Engine and MSSQL connector:
RHEL/CentOS
Ubuntu
Validation
-
Ensure
zoomdata-consulservice, and other zoomdata services are running and not in a failed state.systemctl status zoomdata\* -
Check that the Consul cluster formed successfully. It should show all nodes, including the node or nodes you just added.
/opt/zoomdata/bin/zoomdata-consul members -
Check the logs to troubleshoot any issues you may have.
/opt/zoomdata/logs
Comments
0 comments
Please sign in to leave a comment.