Configuring Zookeepers
NOTE: With the exception of Rescaling a Zookeeper, it’s highly unlikely you’ll ever need or want to use any of the functions described here.
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.
Rescaling a Zookeeper
To rescale a Zookeeper, click the icon next to a Zookeeper’s name to see the Zookeeper configuration menu:
Figure 3 - The Zookeeper configuration menu
Clicking the Rescale menu item lets you change the node type and cluster size for a Zookeeper cluster:
Figure 4 - 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.
Advanced features
As mentioned above, it’s unlikely you’ll ever need or want to use these features. But here we go…
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 5 - 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 6 - 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.
Publishing a Zookeeper’s configuration
Publishing a Zookeeper’s configuration ensures that any changes you’ve made in the ACM are reflected in the underlying infrastructure. Be aware that this will result in a short period of downtime. If you click the Publish Configuration menu item in Figure 3 above, you’ll see this message:
Figure 7 - Publishing the configuration causes downtime