GSLB service HTTP/HTTPS Health Check configuration with http1.0 and http1.1 version on APV_8.6.1.X

GSLB service HTTP/HTTPS Health Check configuration with http1.0 and http1.1 version on APV_8.6.1.X


 

We can configure GSLB(SDNS) service HTTP/HTTPS Health Check template either using http1.0 version or http1.1 version.

CLI command:

#sdns monitor http<template_name> [request_line] [expected_ response] [flag] [interval] [timeout] [max_retries] [dst_address] [dst_port] [src_address] [gateway_address]

This command is used to define an HTTP-type health check template.  In the request line we can define http1.0 or http1.1 version in the request string.

#sdns monitor https<template_name> [request_line] [expected_ response] [flag] [interval] [timeout] [max_retries] [dst_address] [dst_port] [src_address] [gateway_address]

This command is used to define an HTTPS-type health check template.  In the request line we can define http1.0 or http1.1 version in the request string.

Health check template with http1.0:

Below is the example Https monitor template configuration which is using http1.0.

#sdns monitor https "HC1_70_214" "GET /CLP/Adminlogin.php HTTP/1.0rnHost:192.168.70.214rnrn" "200 OK" "up" 5 5 3 192.168.70.214 0 0.0.0.0 0.0.0.0

#sdns monitor https "HC3_70_93" "HEAD /CLP/Adminlogin.php HTTP/1.0rnHost:192.168.70.93rnrn" "403 Forbidden" "up" 5 5 3 192.168.70.93 0 0.0.0.0 0.0.0.0

Health check template with http1.1:

Below is the example Https monitor template configuration which is using http1.1

#sdns monitor https "HC1_70_214" "GET /CLP/Adminlogin.php HTTP/1.1rnHost:192.168.70.214rnrn" "200 OK" "up" 5 5 3 192.168.70.214 0 0.0.0.0 0.0.0.0
#sdns monitor https "HC3_70_93" "HEAD /CLP/Adminlogin.php HTTP/1.1rnHost:192.168.70.93rnrn" "403 Forbidden" "up" 5 5 3 192.168.70.93 0 0.0.0.0 0.0.0.0