Create a Service Monitor
Use a Service Monitor to track the health of servers in a backend pool. If a request response does not match the expected result, the server can be removed from the pool to stop it from receiving new requests.
You can use a Service Monitor when creating a pool or add one to an existing pool in the Monitors option.
Three check methods are configured by default:
- TCP-monitor;
- HTTP-monitor;
- HTTPS-monitor.
Create a Service Monitor
- From the Control panel, open the Cloud Director panel: in the top menu, click Products → VMware-based cloud → the Cloud Director section.
- Open the virtual data center page.
- Go to the Networking → Edges section.
- Open the page of the required Edge.
- Click SERVICES.
- Open the Load Balancer → Service Monitoring tab.
- Click +.
- Enter a name for the new method.
- In the Interval field, enter the interval for sending requests.
- In the Timeout field, enter the response timeout.
- In the Max Retries field, enter the maximum number of request attempts.
- In the Type field, select HTTPS.
- In the Expected field, enter the expected status code — 200(OK).
- In the Method field, select GET.
- Enter the request URL.
- Click Keep.