Enabling health check URL for load balanced servers
When using a load balancer in front of a cluster of Spotfire Servers, a health check URL can be set up to show the status of the servers.
About this task
For general information about Spotfire Server clusters, see Clustered server deployments.
Procedure
Results
- If the health check URL hasn't been enabled, the HTTP code 404 is returned.
- If the server is up and running, the HTTP code 200 is returned along with the text RUNNING.
- If the server is currently starting or stopping, the HTTP code 503 is returned along with the text STARTING or STOPPING.
- If the server is currently
in the draining phase of a
graceful shutdown, the HTTP code 200 is
returned along with the text DRAINING. When the draining phase completes, the
server stops.
Note: You can configure this HTTP code 200 by setting
status-controller.status-on-draining
.