Installing mod_cluster libraries

There are two things to consider when installing and configuring mod_cluster. The first involves the WildFly configuration, and the second involves downloading and installing the mod_cluster libraries to Apache. We will look at WildFly first, as it is preconfigured, and then move on to the installation of mod_cluster.

Bundled in your WildFly installation, you will find the mod_cluster 1.3.0 module. This subsystem is included as part of the clustering configuration in both the standalone-ha.xml and domain.xml configuration files, as follows:

<subsystem xmlns="urn:jboss:domain:modcluster:1.2"> <mod-cluster-config advertise-socket="modcluster" connector="ajp"> <dynamic-load-provider> <load-metric type="cpu"/> </dynamic-load-provider> ...

Get WildFly Configuration, Deployment, and Administration - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.