How To Install mod_cluster on Fedora 36
Introduction
In this tutorial we learn how to install mod_cluster
on Fedora 36.
What is mod_cluster
Mod_cluster is an httpd-based load balancer. Like mod_jk and mod_proxy, mod_cluster uses a communication channel to forward requests from httpd to one of a set of application server nodes. Unlike mod_jk and mod_proxy, mod_cluster leverages an additional connection between the application server nodes and httpd. The application server nodes use this connection to transmit server-side load balance factors and lifecycle events back to httpd via a custom set of HTTP methods, affectionately called the Mod-Cluster Management Protocol (MCMP). This additional feedback channel allows mod_cluster to offer a level of intelligence and granularity not found in other load balancing solutions.
We can use yum
or dnf
to install mod_cluster
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mod_cluster.
Install mod_cluster on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install mod_cluster
using dnf
by running the following command:
sudo dnf -y install mod_cluster
Install mod_cluster on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mod_cluster
using yum
by running the following command:
sudo yum -y install mod_cluster
How To Uninstall mod_cluster on Fedora 36
To uninstall only the mod_cluster
package we can use the following command:
sudo dnf remove mod_cluster
mod_cluster Package Contents on Fedora 36
/etc/httpd/conf.d/mod_cluster.conf
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/fc7a6c643ac5e334019d022a53790f6fbd599d
/usr/lib/.build-id/35
/usr/lib/.build-id/35/859ccecc573ffd53daa22d0ea1bc21eda47859
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/458534f9ad55c232a4b8054522a51b9bfb23be
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/e93519b209883c9f5be2d38208b4608f94ce53
/usr/lib64/httpd/modules/mod_advertise.so
/usr/lib64/httpd/modules/mod_cluster_slotmem.so
/usr/lib64/httpd/modules/mod_manager.so
/usr/lib64/httpd/modules/mod_proxy_cluster.so
/usr/share/doc/mod_cluster
/usr/share/doc/mod_cluster/README
/usr/share/licenses/mod_cluster
/usr/share/licenses/mod_cluster/lgpl.txt
References
Summary
In this tutorial we learn how to install mod_cluster
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).