When and how to deploy server on multiple physical machines in tableau?
When and how to deploy server on multiple physical machines
Earlier in this post, you have read about considerations for sizing hardware for tableau server-specifically the concepts of scaling-up and scaling-out. Scaling-up refers to using more powerful single server hardware. Scaling-out refers to bringing in more machines to help carry the workload clustering, distributed environments and scaling-out, all refer to the same concept: running tableau server on more than one machine, to spread the workload.
The decision to scale-out tableau server in a cluster is normally made when a single server cannot support the expected workload, and when adding additional machines represents a lower expected cost than scaling-up to a substantially more powerful single machine. Tableau’s multiple processes can be assigned to different machines in the cluster to achieve an efficient division of the workload.
For instance, an environment that makes use of very large data extracts could devote an entire machine in the cluster for running data extract engine processes. This machine could include a larger amount of system memory and fast i/o to support the need to quickly load and query as many data extracts as possible. In addition, another machine with very fast CPU cores can be dedicated to vizQL processes if high numbers of concurrent view requests are anticipated. The clustering tableau server can also provide high availability capabilities by creating redundant core processes on multiple machines.
In tableau server clustered environments, the first machine tableau server is installed on is known as the primary tableau server, or, the gateway. All other machines are known as workers. The gateway handles all of the requests to the tableau server and communicates with the workers to satisfy those requests. To set up a distributed cluster environment, follow these steps:
- Install tableau server on the primary machine. (note the IP address of this machine.)
- Stop the tableau server service on the primary machine.
- Install the tableau server worker software on all of the worker machines.
- Return to the primary (gateway) server and open the configuration utility.
- Select the servers tab and click the add button.
- Type the IP address of one of the worker machines in the dialog box.
- Specify the number and each type of processes to deploy on the worker.
- Click OK
- Repeat the same steps for each worker machine.
Once all the workers are added to the cluster, save the changes within the configuration utility and restart the tableau server service on the primary machine. For more information about clustered tableau server deployments see the “distributed environments” section of tableau software’s tableau server administrator’s guide.