Removing Nodes from a High Availability Environment
To remove Zoomdata nodes (or instances) from a high availability environment:
Run the following command on the instance:
/opt/zoomdata/bin/zoomdata-consul leave -http-addr=http://<Consul-node-ip>:8500
<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
and 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 settins, restart all of the Zoomdata microservices for the instance. See Restarting Zoomdata Microservices.
If the instance you are removing will not be used at all, you can skip this step.
consul.jsonfile on all the remaining Zoomdata instances in your high availability environment.
Reduce the value specified for the
bootstrap_expectsetting by one. This value is the total number of Zoomdata nodes (instances) in your Zoomdata cluster and must be the same value on every instance in the cluster.
zoomdata-consulmicroservice on every Zoomdata instance in the cluster to ensure they all pic up the node count change.
Was this topic helpful?