vRealize Orchestrator 7.6 8.1 load balancer using haproxy

by Grzegorz Kulikowski

So far i tried f5 big ip ltm VE (failed due to limitations), kemp loadmaster VE(all ok – 1 month trial), and now i switched in my lab to haproxy.
All you have to do is a machine with haproxy + some ip interfaces on it, in my case i have 3 nodes for vro 8.1 and 3 nodes for 7.6, monitors/checks are set as per guide.
Bring your interfaces online and edit your haproxy.cfg to reflect your ips:
in my case 192.168.1.211 is the vip for vro 8.1 cluster
and 192.168.1.176 is the vip for vro 7.6 cluster

frontend vro
bind 192.168.1.211:443
mode tcp
default_backend vro81pool

backend vro81pool
mode tcp
balance leastconn
option httpchk GET /health
http-check expect status 200
server vro811 192.168.10.31:443 check port 8008
server vro812 192.168.10.32:443 check port 8008
server vro813 192.168.10.33:443 check port 8008

frontend vro768281
bind 192.168.1.176:8281
mode tcp
default_backend vro76pool8281

backend vro76pool8281
mode tcp
balance source
option httpchk GET /vco/api/healthstatus
http-check expect string RUNNING
server vro761 192.168.10.11:8281 check port 8281 check-ssl verify none
server vro762 192.168.10.12:8281 check port 8281 check-ssl verify none
server vro763 192.168.10.13:8281 check port 8281 check-ssl verify none

frontend vro768283
bind 192.168.1.176:8283
mode tcp
default_backend vro76pool8283

backend vro76pool8283
mode tcp
balance source
option httpchk GET /vco-controlcenter/docs/
http-check expect status 200
server vro761 192.168.10.11:8283 check port 8283 check-ssl verify none
server vro762 192.168.10.12:8283 check port 8283 check-ssl verify none
server vro763 192.168.10.13:8283 check port 8283 check-ssl verify none

Advertisements

You may also like

Leave a Reply

Chinese (Simplified)DutchEnglishFrenchGermanHindiPolishRussianSpanish