此内容没有您所选择的语言版本。
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.conffile on the broker host and set theALLOW_MULTIPLE_HAPROXY_ON_NODEvalue totrue:ALLOW_MULTIPLE_HAPROXY_ON_NODE="true"
ALLOW_MULTIPLE_HAPROXY_ON_NODE="true"Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart the
openshift-brokerservice:service openshift-broker restart
# service openshift-broker restartCopy to Clipboard Copied! Toggle word wrap Toggle overflow