Using gauges, set up auto-healing in a container deployment to address an unavailable server.
- Configure one or more of the gauges described in Server availability.
Configure the gauges to trigger the UNAVAILABLE status.
By default, the gauges do not trigger the UNAVAILABLE status.
As discussed in Endpoint Average Response Time (Milliseconds) gauge and HTTP Processing (Percent) gauge, use the dsconfig command to adjust the following values for your environment. Each system is different so you might need to adjust the values several times to determine your ideal configuration.
Endpoint Average Response Time (Milliseconds)gauge, set
HTTP Processing (Percent)gauge, set both
- For the
Configure the container orchestrator to use the
available-or-degraded-stateendpoint to detect whether the server is alive.
For information about the endpoint, see Availability servlet.