All Products
Search
Document Center

Server Load Balancer:Configure and manage GWLB health checks

Last Updated:Nov 05, 2024

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

  1. Log on to the GWLB console.

  2. In the top navigation bar, select the region where the GWLB instance is deployed.

  3. In the left-side navigation pane, choose GWLB > Server Groups.

  4. On the Server Groups page, find the server group that you want to manage, and click Modify Health Check in the Actions column.

  5. 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.

    Note

    This 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.

    Note

    This 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

    Note

    This 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

  1. On the Instances page, find the GWLB instance that you want to check, and click the instance ID.

  2. Click the Listener tab and check the health check status of the backend server in the Health Check Status section.

Disable health checks

  1. On the Server Groups page, find the server group that you want to manage and click Modify Health Check in the Actions column.

  2. In the dialog box that appears, set Health Check Method to Disable Health Check and click OK.

References

For more information, see Health check.