Ankit Cse
Dec 22, 2020

--

Haproxy

ARTH — Task 12 👨‍💻

Task Description 📃

12.1 Use Ansible playbook to Configure Reverse Proxy i.e. Haproxy and update it’s configuration file automatically on each time new Managed node (Configured With Apache Webserver) join the inventory.

Playbook running….

Config file of haproxy updated in loadbalancer using Ansible

httpd configured in manage nodes.

Now i have :-

  1. Controller Node
  2. Load Balancer
  3. Webserver 1
  4. Webserver 2

As i browse my loadbalancerip:8080 it is changing the webserver for provides best services to the client. You can see in the pic

Thanks for reading ….

--

--