You can enable health checks for a Gateway Load Balancer (GWLB) instance to enable it to determine the availability of backend servers. You can also modify the health check configurations of a backend server group according to your business needs. This topic describes how to configure and manage GWLB health checks.
Configure health checks
Log on to the GWLB console.
In the top navigation bar, select the region where the GWLB instance is deployed.
In the left-side navigation pane, choose .
On the Server Groups page, find the server group that you want to manage, and click Modify Health Check in the Actions column.
In the dialog box that appears, configure the following parameters and click OK.
Parameter
Description
Health Check Method
Select a health check protocol or disable health checks.
TCP (default): configures TCP health checks, which send SYN handshake messages to check whether a server port is alive.
HTTP: configures HTTP health checks, which send GET requests to simulate browser access behavior to check whether an application on a server is healthy.
Disable Health Check: configures no health checks.
Health Check Port
Specify the server port that is probed by health checks.
Advanced Health Check Settings
With Health Check enabled, click Advanced Health Check Settings to show more configurations.
Health Check URL
Enter the URI of the health check page.
NoteThis parameter is available only when Health Check Method is HTTP.
Health Check Domain Name
Enter the domain name used for health checks.
Backend Server Internal IP (default): uses the internal IP address of the backend server as the domain name for health checks.
Custom Domain Name: Enter a domain name for health checks.
NoteThis parameter is available only when Health Check Method is HTTP.
Health Check Status Codes
Select one or more HTTP status codes. The specified HTTP status codes are used to indicate that the backend server passes a health check.
http_2xx (default)
http_3xx
http_4xx
http_5xx
NoteThis parameter is available only when Health Check Method is HTTP.
Health Check Timeout Period
Specify the timeout period for a health check response. If the backend server does not respond within the specified timeout period, the backend server is declared unhealthy.
Health Check Interval
Specify the interval between two consecutive health checks.
Healthy Threshold
Specify the number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy.
Unhealthy Threshold
Specify the number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy.
More Operations
Operation | Procedure |
View health check status |
|
Disable health checks |
|
References
For more information, see Health check.