Adding ZooKeeper Instances
Adding a ZooKeeper instance has the following prerequisites:
- You will need at least 2 available worker nodes already deployed that do not already have a Kafka broker or ZooKeeper instance deployed on them. (Only one ZooKeeper can be installed for each worker node, and there must be an odd number of ZooKeepers --1, 3, 5, 7, and so on. Therefore you need at least 2 additional worker nodes to keep the total number an odd one.)
- Any new node where a ZooKeeper instance is deployed should be labeled
zk:yes(for on-premises installation) orzk=yes(for cloud installation). - If you plan to deploy both Kafka brokers and ZooKeepers, it is recommended that you perform this procedure to add ZooKeeper instances before you have deployed your Kafka brokers.
To add new ZooKeeper instances:
- Open the CDF Management Portal.
- Click ... (Browse) to the right.
- From the drop-down, select Reconfigure. The post-deployment settings page is displayed.
- Find the field # of ZooKeeper nodes in the ZooKeeper cluster.
- From the field's drop-down, select the new number of ZooKeeper instances.
- Click Save.
- Verify the new ZooKeeper pods are up and in Running state by running the command:
kubectl get pods -n {arcsight_namespace_id} th-zookeeper-x
Reducing the number of ZooKeeper instances is not currently supported.