Skip to content
CA Spectrum - 10.2 to 10.2.3
Documentation powered by DocOps

Load Balancers

Last update August 22, 2014

Contents

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.

spec--ocadmin_loadbalancers_OTH

Check OneClick Web Server Status

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:

http://<hostname>:<portnumber>/spectrum/stable

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.

How to Log the Actual Client IP Address in a Load Balancing Environment

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.

More information about load balancer setup is available on the Internet. For example, see Configuring F5 BIG-IP Load Balancer and Configuring Cisco ACE Load Balancer.

Was this helpful?

Please log in to post comments.