Haproxy LBR Troubleshooting

In haproxy.cfg file add below content after global and default section:
frontend http_front
bind *:80
stats uri /haproxy?stats
default_backend http_back

backend http_back
balance roundrobin
server stapp01 check <<— Check the port of app server on which httpd is configrured and add that here, in my case it was 8080
server stapp02 check
server stapp03 check

Hi @Inderpreet, @peterwhite and other geeks…

Although i am able to get the desired output page, my task status says Failed.

Could any of you please guide me did i really do it wrong.

The below snip gave the output page as expected.

The task status says failed as per below snip.
All App servers were listening for httpd on 8082 and i configured same for app servers in haproxy file and port 80 for lbr server.

Seeking your guidance.


Today i troubleshooted the issue its just a simple misspelled issue, clearly understand the error in cmd service haproxy status you will find the issue.