Learn how to find the health status of each server for each instance of your OVHcloud Load Balancer.
The OVHcloud Load Balancer service acts by default as a proxy. That is to say, it distributes the load (requests) it receives between all the servers of the desired farm.
Each server can be configured for the load balancer to check its status frequently.
Once a server is detected as "down," the load balancer no longer sends any data to it and distributes the load among the remaining servers.
This can be useful in the case of server maintenance: you can take the server out of the farm, perform maintenance, and then reintegrate it into the farm.
However, when a server is removed from the farm by the load balancer beyond our control, it can be interesting to know about it and why.
Requirements
- An OVHcloud Load Balancer offer in your OVHcloud account
- Access to the OVHcloud API
- A configured farm
- A configured front-end
Instructions
To have valid server status checks, you need to have a probe configured on your farm and servers that allow access to that probe.
If you need to configure probes on your Load Balancer, please refer to this guide.
Via the OVHcloud API
In the API, server health status is available in the serverState table:
Example result:
Via the OVHcloud Control Panel
NOTE: Although there is a Status column for your servers in the OVHcloud Control Panel, there is a known bug preventing the retrieval of the health status. Please rely on the OVHcloud API for accurate server statuses.
Go further
For more information and tutorials, please see our other OVHcloud Load Balancer guides or explore the guides for other OVHcloud products and services.