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. (After you install the Manager node, you can modify settings by editing SPSERVER_SHARE/tomcat/conf/server.xml. 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.