Remove Nodes from a High Availability Environment
Remove Composer nodes (or instances) from a high availability environment
-
Run the following command on the instance:
/opt/zoomdata/bin/zoomdata-consul leave -http-addr=http://<external-Consul-node-IP>:<port>
where
<external-Consul-node-IP>is the IP address of the Consul used by the high availability environment. -
If the instance you are removing will be run standalone, edit the
zoomdata.propertiesand query-engine.propertiesfiles to point at a local PostgreSQL data store for that instance. Ensure that the JDBC settings point to the local PostgreSQL and that the user name and password used to access the local PostgreSQL data store are correct in these files. After changing the settings, restart all the Composer microservices for the instance. See Restart Microservices.If the instance you are removing will not be used at all, you can skip this step.
-
Edit the
consul.jsonfile on all the remaining Composer instances in your high availability environment.vi /etc/zoomdata/consul.json
Reduce the value specified for the
bootstrap_expectsetting by one. This value is the total number of Composer nodes (instances) in your Composer cluster and must be the same value on every instance in the cluster.Restart the
zoomdata-consulmicroservice on every Composer instance in the cluster to ensure they all pic up the node count change.
Comments
0 comments
Please sign in to leave a comment.