Adding Load balancer on Tableau Server
There are 2 ways to add Load balancer to Tableau Server
- key-value pairs to configure Tableau Server for a load balancer
- use the configuration file template
Load balancer configuration key-value pairs
To Add Load balancer on Tableau Server you need following Information
- URL used to reach Tableau Server from Load balancer
- port 443 open
- Load Balancer IPv4
- Load Balancer Fully Qualified Domain Name and any aliases
tsm configuration set -k gateway.public.host -v "tableau.example.com"
Tableau Server is reached by entering tableau.example.com in a browser address bar
tsm configuration set -k gateway.public.port -v "443"
tsm configuration set -k gateway.trusted -v "10.32.139.45, 10.32.139.46, 10.32.139.47"
The above Ips are examples. Please use your load balancer IPs
tsm configuration set -k gateway.trusted_hosts -v "lb.example.com, lb, ftp.example.com, www.example.com"
Hosts/alternate names for the Load balancers
After executing the above command, apply the pending changes
tsm pending-changes apply
This will prompt for restart of Tableau Server
Configuring Template
You can configure all of the settings in one operation by customizing the following configuration template example and creating a configKey json file.
Refer to the key-value pair descriptions above to customize the values for your organisation.
{
"configKeys": {
"gateway.public.host": "tableau.example.com",
"gateway.public.port": "443",
"gateway.trusted": "proxy1, proxy2, proxy3",
"gateway.trusted_hosts": "lb.example.com, lb, ftp.example.com, www.example.com"
}
}
When you are finished, save the json file.
Pass the json file with tsm to set the configuration, and then apply settings by running the following commands:
tsm settings import -f /path/to/file.json
tsm pending-changes apply
------------------------------------------------------------------------------------------------------------------------
Comments
Post a Comment