Mod cluster mod proxy cluster Configuration

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Configuration Options

CreateBalancers

This configuration option defines how the mod_cluster balancers are created in the httpd virtual hosts. Possible values are:

  • 0: Create a balancer in all VirtualHosts defined in httpd.
  • 1: Do not create balancers. In this case one or more balancers are created only when a ProxyPass or a ProxyPassMatch directive that specifies the balancer by name (as balancer://<balancer-name>/) is encountered. If this option is used, the balancer must be configured in the ProxyPass directive, because the default is empty sticky session and nofailover=Off, and the values received via the MCMP CONFIG messages are ignored.
  • 2 (the default configuration): Create only the main server.

For more details about balancers go to mod_cluster balancer.