Anti-DDoS Advanced can automatically identify the running status of your real servers and isolate exceptional ones through health checks. This reduces the impact of real server exceptions on your overall business availability.
When configuring a layer-4 or layer-7 forwarding rule, if only one real server IP is configured in the rule, the health check feature will not be enabled, as it is suitable for scenarios with multiple real server IPs.
The following describes how to configure a health check rule for non-website business protection in Anti-DDoS Advanced.
Log in to the Anti-DDoS Console and select Anti-DDoS Advanced > Access Configuration to enter the management page.
Click Non-Website Business, select the target Anti-DDoS Advanced instance and corresponding rule, and click Edit in the "Health Check" column.
On the health check editing page, click Show Advanced Options to set the configuration items and click OK.
- Health check is enabled by default.
- When configuring health check, you are recommended to use the default values.
- The health check configuration information can be imported and exported in batches. After import, the system will match the rules one by one according to the imported "forwarding protocols and forwarding ports", and the "forwarding ports" must have rules configured.
The following describes how to configure a health check rule for website business protection in Anti-DDoS Advanced.
Log in to the Anti-DDoS Console and select Anti-DDoS Advanced > Access Configuration to enter the management page.
Click Website Business, select the target Anti-DDoS Advanced instance and corresponding rule, and click Edit in the "Health Check" column.
On the health check editing page, click to enable health check and click Show Advanced Options to set the configuration items. After confirming that everything is correct, click OK.
- Health check is disabled by default.
- When configuring health check, you are recommended to use the default values.
- The health check configuration information can be imported and exported in batches. After import, the system will match the rules one by one according to the imported "forwarding protocols and business domain names", and the "business domain names" must have rules configured.
Layer-4 health check
Configuration Item | Description |
---|---|
Response timeout period | Maximum response timeout period for health check. If a real server fails to respond properly within the timeout period, the health check will be considered as failed. |
Check interval | Interval between two health checks. |
Unhealthy threshold | When the health check status is "succeeded", if the health check "failed" status is received for n times (n is the entered number) in a row, the real server will be considered as unhealthy, and an exception will be displayed in the console. |
Healthy threshold | When the health check status is "failed", if the health check "succeeded" status is received for n times (n is the entered number) in a row, the real server will be considered as healthy, and nothing will be displayed in the console. |
Layer-7 health check
Configuration Item | Description |
---|---|
Check interval | Interval between two health checks, which is 15 seconds by default. |
Unhealthy threshold | When the health check status is "succeeded", if the health check "failed" status is received for n times (n is the entered number) in a row, the real server will be considered as unhealthy, and an exception will be displayed in the console. |
Healthy threshold | When the health check status is "failed", if the health check "succeeded" status is received for n times (n is the entered number) in a row, the real server will be considered as healthy, and nothing will be displayed in the console. |
HTTP request method and check path URL | The HEAD method is used by default, and the server will return only the header of the response packet. If the GET method is used, the server will return the complete response packet. The corresponding real server needs to support HEAD and GET. host field parameter is specified in the HTTP HEAD request, you need to specify the check path, i.e., the URI of the page file used for the health check. |
HTTP status code detection | The HTTP status code used to determine whether the server is normal during health check. By default or if no selection is made, this value is http_1xx, http_2xx, http_3xx, and http_4xx. If the returned HTTP status code is not the default status value, the server will be considered as unhealthy. This value can be modified. |
Was this page helpful?