To achieve load balancing, identically configured OneClick web servers are accessed through an external load balancing device that employs host/session persistence and any load-balancing mode.
The following figure illustrates a supported load-balancing configuration for multiple OneClick servers.
You can configure your load balancer to check the status of each OneClick server by using the following HTTP GET statement during periodic server health checks:
A successful GET returns the contents of the "stable" file. The presence of the stable file indicates that the SpectrumTomcat process is in a stable state. Failure to retrieve the file indicates that the SpectrumTomcat process is not running or is unstable.
In a load balancing environment, the load balancer performs SNAT (Source Network Address Translation). As a result, you see the IP Address and the host name of the load balancer instead of the actual client in the logs. You can view the logs when you select Client Log in OneClick.
Configure the load balancer to insert the true source IP address into the HTTP request header field "X-Forwarded-For". You can then see the IP Address and hostname of the actual client that logged in to your OneClick console, instead of the load balancer.