Load balancer

Use a load balancer with your Spotfire Statistics Services cluster deployment to distribute job requests equally, or if you have multiple Manager nodes.

To distribute job requests equally to all the Manager nodes, use a load balancer. A load balancer can be configured with any Spotfire Statistics Services cluster but if your cluster has more than one Manager node, you must install and configure a load balancer. The load balancer that you select for your environment depends on how much traffic you expect and the sophistication that you require in the load balancing algorithms.

You can use a load balancing solution based on Apache HTTP Server, which supports AJP (Apache JServ Protocol), with the mod_jk module enabled.

Prerequisites

To set up load balancing using Apache HTTP Server, you will need the following.

Cluster Node Protocol Configuration

During the installation of the first Manager node in your Spotfire Statistics Services cluster, while planning for a load balancer, you would have selected the AJP protocol so that the cluster can communicate with a load balancer. No other changes are required on the Spotfire Statistics Services nodes.
Note: This version of Spotfire Statistics Services includes Tomcat 9.0.46. This version of Tomcat includes changes to behavior with AJP for load balancing. When you specify AJP on installation, the secretRequired flag is set to true by default. To make your installation work initially, override this behavior in the load balancer configuration file SPSERVER_HOME/tomcat/conf/server.xml by setting secretRequired=false.
For more information, see the Apache Tomcat documentation.)

If, during installation, you selected HTTP and now you want to configure a load balancer, you must modify all of the Manager nodes to use AJP. For more information, see Changing the protocol or port.