Skip to content

Instantly share code, notes, and snippets.

@goldmann
Created November 12, 2010 21:57
Show Gist options
  • Save goldmann/674759 to your computer and use it in GitHub Desktop.
Save goldmann/674759 to your computer and use it in GitHub Desktop.
= Enabling mod_cluster =
Detailed information about configuring mod_cluster you can find here:
http://docs.jboss.org/mod_cluster/1.1.0/html/native.config.html
== Disable proxy_balancer_module (required) ==
To enable mod_cluster you need to make sure you have proxy_balancer_module disabled. Please comment out loading
proxy_balancer_module in /etc/httpd/conf/httpd.conf like this:
# LoadModule proxy_balancer_module
== Enable mod_cluster modules (required) ==
Next step is to load all required mod_cluster modules. Uncomment all LoadModule directives from
/etc/httpd/conf.d/mod_cluster.conf file like this:
LoadModule slotmem_module modules/mod_slotmem.so
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_advertise.so
== Enabling mod_cluster manager (optional) ==
Mod_cluster manager is a simple tool that displays usefull information about the cluster. To enable it you need to
load mod_manager module and SetHandler for selected context:
LoadModule manager_module modules/mod_manager.so
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
</Location>
== Finish ==
Make sure you restart htttpd server after you apply the changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment