-
Language:
English
-
Language:
English
2.3. Allowing Multiple HAProxies on a Node Host
The
ALLOW_MULTIPLE_HAPROXY_ON_NODE
setting, located in the /etc/openshift/broker.conf
file, is set to false
by default. In production environments, Red Hat recommends to leave this setting as default. If two or more HAProxies for a single application reside on the same node host, the front-end Apache will map the DNS or alias to one HAProxy gear and not for the remaining HAProxy gears. If, for example, you have only one node host and wish to enable scalability, changing the ALLOW_MULTIPLE_HAPROXY_ON_NODE
setting to true
allows multiple HAProxy gears for the same application to reside on the same node host.
Procedure 2.2. To Allow Multiple HAProxies on a Single Node:
- Open the
/etc/openshift/broker.conf
file on the broker host and set theALLOW_MULTIPLE_HAPROXY_ON_NODE
value totrue
:ALLOW_MULTIPLE_HAPROXY_ON_NODE="
true
" - Restart the
openshift-broker
service:#
service openshift-broker restart