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.
- A computer with Apache HTTP Server and the mod_jk module installed. You can download these from the following locations.
- Apache HTTP Server: http://httpd.apache.org.
- mod_jk module: http://tomcat.apache.org/download-connectors.cgi.
- At least one Spotfire Statistics Services Manager node must be installed and configured.
Cluster Node Protocol Configuration
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.
- Configuring the load balancer
You must configure the load balancer so that it can find and communicate with the Spotfire Statistics Services cluster. - Restricting the load balancer
For increased security, you can configure the load balancer to authenticate when it communicates with Spotfire Statistics Services.