Server cs1 192.168.1.21:443 weight 1 check check-ssl verify none inter 30s fastinter 2s rise 5 fall 2 This results in the following HAProxy configuration. VMware recommends to schedule the health checks every 30 seconds and to set a timeout of 91 seconds (3 times a health check + 1 second). Once a connection server is disabled, HAProxy will put the backend server correctly in maintenance mode now:Īpart from getting a more accurate status from the connection servers, VMware also has some recommendations on the check frequency so you donât overload the connection servers with health checks. Server cs2 192.168.1.22:443 weight 1 check check-ssl verify none inter 30s fastinter 2s downinter 5s rise 3 fall 3 Server cs1 192.168.1.21:443 weight 1 check check-ssl verify none inter 30s fastinter 2s downinter 5s rise 3 fall 3 For this we have to adjust the HAProxy config from the earlier post as follows. With HAProxy we have the ability to check this and put a backend server in maintenance mode once the returned status code is anything but 200. On earlier versions, the âdisabledâ status of a connection server is not reflected in this check. If the connection server is (administratively) disabled, it will return a status code 503. This will return a status code 200 if the connection server is available and ready to accept connections. VMware Horizonįor VMware Horizon, the supported way to check if a connection server is available is to check the database connection lost) the webserver will still be running, but AppVolumes wonât work anymore. Same for the AppVolumes managers, if thereâs an error (e.g. The drawback of this is when you set a connection server âdisabledâ, the webserver is still responding, so HAProxy will still be redirecting connections to that server, although they will get blocked on the server itself. The load balancing config used in that post was a basic one who just checked if the connection servers or appvolumes managers were running by checking if the webserver on the servers responded. A while ago I wrote a blog post about using HAProxy and Keepalived to make VMware Horizon connection servers and AppVolumes managers high available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |