How to set up load balancing on CentOS 7 / Redhat 7 Linux using Apache.



This tutorial will show you how to configure active active load balancing on CentOs 7 (Linux) using Apache.

This tutorial will also work on Redhat 7 (RHEL 7)

This tutorial will show you how to configure two CentOs web servers so you can check that your load balancing is working.

It will then show you how to configure Apache to load balance the two web servers.

The commands that you need to follow along with the tutorial can be found here:

How to set up load balancing on CentOS 7 / Redhat 7 using Apache

In order to follow along with this tutorial you will need to have CentOS 7 installed. You can do so by following this tutorial:

You will also need to have Apache installed, a tutorial on how to do so can be found here:

If you liked this video please subscribe by clicking here:

https://www.youtube.com/channel/UCkDvK72aPFRnv0GnpuV97ig

source

16 thoughts on “How to set up load balancing on CentOS 7 / Redhat 7 Linux using Apache.

  1. hi, this is perfectly delivered. Thanks man! I have a question. is it practical to have two instances of backend on my single server, and a balancer between them on the same server? I am really new in this. Thanks in advance.

  2. Thanks for the video. I'm having a problem. After following your steps, when I try accessing the load-balancer via IP address or resolvable name, I get a message that reads: "The server is temporarily unable to service your request due to maintenance downtime or capacity problems…". What could be the issue here? Thanks again.

  3. Hey, I have doubts about port 80. I installed Apache on Centos 8. I allowed http conections on the firewall, Is this the same as opening port 80? Will port 8080 be open? Thanks

  4. I got an error message. How are your 3 VMs setup, network wise?…all of mine are set to bridged connections with the same gateway…could that be the problem? im new to all of this, lol. the exact error is "Service Unavailable The server is temporarily unable to your service request due to maintenance downtime or capacity problems. Please try again later." I can connect to both servers individually but not through the Load balancer

Leave a Reply

Your email address will not be published. Required fields are marked *