Configuring HAProxy and HTTPD Web Server using Ansible.

preview_player
Показать описание
In this task, I configured the HAProxy(reverse proxy) with 2 httpd webservers using Ansible. Whenever clients use our website they will strike to different webservers as HAProxy will pick it for them. HAProxy uses Round Robin Algorithm to pick the webservers.
Because of this system, our web server will not go under load as the load is distributed.
Рекомендации по теме
Комментарии
Автор

Hi nishant, i wanted to ask that if i'm to deploy HAProxy in the same server as the ansible host, then what type of changes I need to make in the hosts file. I'm using centos 7

mayukhpaul