Cluster Management
To ensure high availability or perform load balancing when a large number of concurrent users (excess of 800) use BI Hub, multiple instances of BI Hub agents are required. Two or more instances of the same agent type can be clustered together and they point to the same BI platform.
For example, two Tableau agents are created to form a cluster and these two agents point to the same Tableau platform. If one agent fails, the load will be taken by another instance, thus ensuring high availability. Similarly, if a large number of BI Hub concurrent users launch Tableau reports, these two agents perform load balancing. Tying up the two agents to form an agent cluster is accomplished using the BI Hub cluster manager. This BI Hub agent cluster interacts with the cluster/load balancer already set up in the enterprise to handle load balancing/high availability. The details entered during BI Hub cluster set up such as URL, Port, etc., is based on the configuration of the Load Balancer used in the enterprise.
warning
To create a Cluster, the agents should not have any users mapped to them. Or in other words, you can only create clusters on one or more newly created instances.
#
Create a Cluster- Configure the nginx conf file to include the instances to be clustered and the cluster port number.
Go to the Server location
C:\nginx-1.14.2\nginx-1.15.12\conf
, and open thenginx.conf
file.In the
http
section, enter the instances<url>:<port number>
to be clustered.nginx.confIn the
server
section, give the port number for the Cluster in the same sequence as that of the Instance port number. This port number is used in the BI Hub "Add Cluster" form.nginx.conf
The "proxy_pass" name and upstream function name should be the same.
Save and close the nginx.conf
file.
- In the nginx directory
C:\nginx-1.14.2\nginx-1.15.12
. Clicknginx.exe
, go to File > Open command prompt > Open command prompt as administrator.
✅ You have successfully added the instance clusters in the backend.
In BI Hub, go to Agent Manager > Cluster Manager screen, click Add Cluster.
wAdd a Cluster
Enter Name, URL, Port (Cluster port number entered in the
nginx.conf
file), and Type.- Click on the Type drop-down list to select the agent, and click Add clusters.
- Select a minimum of 2 Agent clusters on the left and click Save.
Enter Cluster details
Click Submit.
QlikView instances Cluster created
✅ You have created a cluster of 2 QlikView instances.