Configure Tableau Server for High Availability with Coordination Service-Only Nodes
The Coordination Service is built on Apache ZooKeeper(Link opens in a new window), an open-source project, and coordinates activities on the server, guaranteeing a quorum in the event of a failure, and serving as the source of "truth" regarding the server topology, configuration and state. The service is installed automatically on the initial Tableau Server node, but no additional instances are installed as you add additional nodes. Because the successful functioning of Tableau Server depends on a properly functioning Coordination Service, we recommend that for server installations of three or more nodes, you add additional instances of the Coordination Service by deploying a new Coordination Service ensemble. This provides redundancy and improved availability in the event that one instance of the Coordination Service has problems.
The Coordination Service can generate a large amount of I/O as it communicates with other components of the server, so if you are running Tableau Server on computers that meet or just exceed the minimum hardware requirements, you may want to install Tableau Server in a configuration that uses Coordination Service-only nodes. This means installing Coordination Service on nodes that run no other server processes, and removing Coordination Service from any nodes that are running other server processes. This procedure explains how to do this. You can also run the Coordination Service ensemble on the same nodes running other Tableau Server processes. For details on how to do that, see Deploy a Coordination Service Ensemble.
Important: The process to deploy a Coordination Service ensemble changed as of version 2020.1.0. If you are running an earlier version of Tableau Server, see the documentation for that version. You can find documentation for all supported versions here: Tableau Help(Link opens in a new window)
Before proceeding with the procedures in this topic, complete the following prerequisites:
Note: This operation includes steps that you may need to perform using the TSM command line.
Deploy an ensemble on Coordination Service-only nodes
One way to accommodate the high I/O impact of the Coordination Service is to deploy an ensemble on nodes that only run the Coordination Service and the Cluster Controller. The following steps illustrate how to deploy a Coordination Service ensemble on an existing multi-node Tableau Server cluster.
Note: For a core-based Tableau Server licence, Coordination Service-only nodes do not count against the total count of licensed cores.
Add additional nodes to your cluster.
If you added the new nodes using the TSM CLI, you need to configure the nodes with Cluster Controller (this step is not necessary if you added the nodes using the TSM Web UI because Cluster Controller is automatically added when you add a node with the Web UI).
On the initial node, open a command prompt as administrator.
From the initial node of the cluster, configure the new nodes with an instance of the Cluster Controller:
tsm topology set-process -pr clustercontroller -n <node4> -c 1
tsm topology set-process -pr clustercontroller -n <node5> -c 1
tsm topology set-process -pr clustercontroller -n <node6> -c 1
If prompted, sign in as a TSM administrator.
Apply the configuration changes. If the pending changes require a server restart, the
pending-changes applycommand will display a prompt to let you know a restart will occur. This prompt displays even if the server is stopped, but in that case, there is no restart. You can suppress the prompt using the
--ignore-promptoption, but this does not change the restart behaviour. If the changes do not require a restart, the changes are applied without a prompt. For more information, see tsm pending-changes apply.
tsm pending-changes apply
A warning about deploying a Coordination Service ensemble displays because you have deployed a multi-node cluster. If this is the only warning, you can safely override it using the
--ignore-warningsoption to apply the configuration changes in spite of the warning.
tsm pending-changes apply --ignore-warnings
Confirm that all nodes are up and running:
tsm status -v
On the initial node of the cluster, open a terminal session and type this command to stop Tableau Server:
Get the node IDs for each node in the cluster:
tsm topology list-nodes -v
tsm topology deploy-coordination-servicecommand to add a new Coordination Service ensemble by adding the Coordination Service to specified nodes. You must specify the node(s) that the Coordination Service should be added to. The command also makes the new ensemble the "production" ensemble (the ensemble in use) and removes the old ensemble.
Note: A "y/n" prompt displays confirming that a server restart will take place. To run the command without input, include the
For example, deploy the Coordination Service to three nodes of a six-node cluster:
tsm topology deploy-coordination-service -n <node4,node5,node6>
Wait until the command completes and you are returned to the system prompt.
Start Tableau Server: