Setting up haproxy and varnish with reference to the configuration from these sites:
http://sharadchhetri.com/2014/12/20/how-to-install-varnish-4-version-on-centos-7-rhel-7/
https://www.upcloud.com/support/haproxy-load-balancer-centos/
And finally can access plone on the server. But when I check the haproxy status, only client1 can be accessed. All other clients were down with general socket error, permission denied. Googling a bit I finally found out it was due to SELinux. Refer to this page:
http://stackoverflow.com/questions/26420729/haproxy-health-check-permission-denied
With the solution from that page, I installed policycoreutils-python and tried to run the command given:
semanage port --add --type http_port_t --proto tcp 8081
But that command failed with the error that the port was already defined. When I looked it up using:
semanage port -l | grep 8081
It belonged to some other type (transproxy_port_t). When I tried to delete the type using:
semanage port -d -t transpro…
Comments
Your questions are rather general and hard to answer. :-) I guess being able to cook an egg for breakfast is invaluable.
- Guido
Yeah..