@senattcs wrote:
I have 2 backends which are running on two different virtual host names and need to perform healthchecks on them to loadbalance the traffic.
issue is : only the last healthcheck (prd03) works , not prd02. How I can do healthcheck against 2 virtual hostnames?
here is my config:
backend xxxx.searchCustomer
mode http
balance roundrobin
option httpchk GET /env HTTP/1.1\r\nHost:\ customerlookup.xxx.px-prd02.cf.xxxx.com:443\r\n
option httpchk GET /env HTTP/1.1\r\nHost:\ customerlookup.xxx.px-prd03.cf.xxxx.com:443\r\n
http-check expect rstatus ^200
option httplog
timeout server 60s
default-server inter 10s fall 3 rise 2
server s_CustomerLookupService.searchCustomer2 customerlookup.xxx.px-prd02.cf.xxxx.com:443 check resolvers dns ssl verify none
server s_CustomerLookupService.searchCustomer3 customerlookup.xxx.px-prd03.cf.xxxx.com:443 check resolvers dns ssl verify none
Posts: 1
Participants: 1