Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Checking files for Health Check on multiple servers

$
0
0

@philipcowgill wrote:

Currently I'm using HAProxy to route traffic through four different servers that offer the same service but are located on different physical boxes. I'm wanting to setup a healthcheck that goes against each individual server with the goal of stopping traffic getting routed when it fails to find a file. Everything that I have read online only shows that you can the check against one server though, for example:

option httpchk GET http://service.com/healthcheck

server server1.service.com 192.168.0.101:80
server server2.service.com 192.168.0.102:80

Is there a way to have the httpchk to do this?

option httpchk GET http://server1.com/healthcheck

server server1.service.com 192.168.0.101:80

option httpchk GET http://server2.com/healthcheck

server server2.service.com 192.168.0.101:80

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles