Configuring Zookeepers
You can access the Zookeeper nodes in your cluster from the ZOOKEEPERS button at the top of the Environment summary view:
Figure 1 - The Zookeepers menu
Clicking this button takes you to the list of Zookeepers in your environment:
Figure 2 - The list of Zookeepers in your environment
In Figure 2, there is a Zookeeper for the maddie-byok
cluster; that Zookeeper is currently stopped (as is the maddie-byok
cluster). The icon indicates that this Zookeeper cannot be changed. There is also a running Zookeeper for the
maddie-swarm
cluster.
From this panel you can add an existing Zookeeper cluster hosted elsewhere, launch a new one, and manage the clusters listed here.
Adding a Zookeeper
The button lets you add an existing Zookeeper node to a Zookeeper cluster. You’ll see this dialog when you click it:
Figure 3 - Adding a Zookeeper
The Cluster Tag is the name of a Zookeeper cluster. In Figure 2 above, the cluster tags are Dedicated ZK for 'maddie-byok'
and swarm-registry
. The Zookeeper Cluster Hosts list is pairs of hostnames and port numbers. You can manage the list with the button and the
icon. Click OK to add the Zookeeper.
Launching a Zookeeper
The button lets you launch a new Zookeeper cluster. You’ll see this dialog:
Figure 4 - Launching a new Zookeeper
Give the new Zookeeper cluster a tag, then select a node type and cluster size. The list of available node types contains all of the node types with a scope of Zookeeper. See the Defining Custom Node Types page if you need to define additional node types for Zookeeper nodes. Click LAUNCH to launch the new cluster.
Managing a Zookeeper
To manage a Zookeeper, click the icon to see the Zookeeper configuration menu:
Figure 5 - The Zookeeper configuration menu
Publishing a Zookeeper’s configuration
You can publish a Zookeeper’s configuration, but that will result in a short period of downtime. If you click this menu item, you’ll see this message:
Figure 6 - Publishing the configuration causes downtime
Rescaling a Zookeeper
This menu item lets you change the node type and cluster size for a Zookeeper cluster:
Figure 7 - Rescaling a Zookeeper
Choose a node type and a cluster size, then click CONFIRM to rescale the Zookeeper. The list of available node types contains all of the node types with a scope of Zookeeper. See the Defining Custom Node Types page if you need to define additional node types for Zookeeper nodes.