Version you are viewing: Zoomdata v4

Zoomdata v5

Zoomdata v3

Adding Nodes to an Existing High Availability Installation

To add Zoomdata nodes (or instances) to an existing high availability environment:

  1. If not already installed, install the Zoomdata instance as though it were a single instance (and not running in a high availability environment). See Installing Zoomdata.

  2. Edit the zoomdata.properties and query-engine.properties files and ensure that the JDBC settings point to the PostgreSQL data store shared by the entire Zoomdata cluster. Also ensure that the user name and password used to access the PostgreSQL data store are correct in these files. For information about the shared PostgreSQL data store, see Deploying Multiple Nodes in a New High Availability Installation.

  3. Edit the consul.json file on the instance you are adding.

    vi /etc/zoomdata/consul.json
  4. Verify the consul.json file looks like this:

    {
    "bind_addr": "0.0.0.0",
    "bootstrap": false,
    "bootstrap_expect": 2,
    "client_addr": "0.0.0.0",
    "data_dir": "/opt/zoomdata/data/consul",
    "server": true
    }
    A bind address (bind_addr) and client address (client_addr) of 0.0.0.0 allow the Consul to listen over all network interfaces. Depending on your network setup, you may want to explicitly specify an IP address for this.
    The bootstrap_expect 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.
  5. Restart all of the Zoomdata microservices for the instance. See Restarting Zoomdata Microservices.

  6. Join each instance to the Consul cluster by running this command:

    /opt/zoomdata/bin/zoomdata-consul join -http-addr=http://<external-Consul-node-IP>:<port>

    You can verify that the node has joined the Consul cluster by running this command:

    /opt/zoomdata/bin/zoomdata-consul members