Chapter 22 Virtual Servers
ZyWALL Series CLI Reference Guide
203
health-check
type {http |
https | tcp |
smtp | dns |
ping}
Sets the type of status request to send to each real server.
For example, select HTTP and the Zyxel Device periodically sends an HTTP request to
each real server, ensuring that the server is available and that its HTTP service is
running.
• HTTP: Web service
• HTTPS: Secure web service
• TCP: A general network protocol that shows the server is accepting TCP
connections
• SMTP: Mail service
• DNS: Dynamic Name Service
• PING: A general network protocol that shows the server is reachable
check-period 1-
86400
Sets the health check time interval, in seconds. The default is 60.
connect-timeout
1-300
Sets the period of time in seconds that the Zyxel Device waits after sending a health
check request before marking the health check as failed. The default is 5.
retry 1-99
Sets the number of times the Zyxel Device resends a health check request before
marking the server as unavailable. The default is 1.
http path url
Sets the URL to request when the health check type is set to HTTP or HTTPS.
Note: If an MD5 checksum is set for a real server, the Zyxel Device uses this
checksum to verify that each HTTP health check request returns the
correct webpage, and not an error page.
host sni
Sets the SNI to send to the real server when the health check type is set to HTTPS.
A client sends a Server Name Indication (SNI) when they start an HTTPS session with
the server. It allows multiple HTTPS sessions to the same IP address and port number
with different certificates with different SNIs.
[no] hash-auto
Enables or disables auto-hashing.
When enabled, the Zyxel Device sends a HTTP request to each real server, and then
calculates and stores the MD5 checksum of the returned webpage.
The Zyxel Device uses this checksum to verify that each HTTP health check request
returns the correct webpage, and not an error page.
status-code
{int|range}
Sets which status code indicates a successful reply when the health check type is set
to HTTP or HTTPS.
The default value is range
200-299.
[no] https
enable-sni
Enables or disables sending a Server_Name Indication (SNI) as part of the health
check request when health check type is set to HTTPS.
smtp helo-name
name
Sets the HELO string to send to the real server, when the health check type is set to
SMTP.
Typically, the HELO string contains the fully qualified domain name (FQDN) of the
mail server.
dns query fqdn
Sets the fully qualified domain name (FQDN) to send to the real server when health
check type is set to DNS.
no ip virtual-server
load-balancer name
Deletes the load balancing rule.
ip virtual-server
load-balancer rename
old_name new_name
Renames the load balancing rule.
Table 102 Virtual Server Load Balancing Commands
Command
DESCRIPTION