This documentation is for WSO2 Private PaaS 4.0.0. View documentation for the latest release.
Configuring HAProxy Load Balancer - WSO2 Private PaaS 4.0.0 - WSO2 Documentation
                                                                                                                                                                                                                                                                                                                                                                                                           
||
Skip to end of metadata
Go to start of metadata

The WSO2 Private PaaS HAProxy Extension is used for integrating the HAProxy load balancer with WSO2 Private PaaS. Follow the instructions below to proceed with the installation:

  1. Download and extract HAProxy binary distribution to a desired location such as, <HAProxy_HOME>.
  2. Extract the apache-stratos-haproxy-extension-4.0.0-wso2v1.zip to a desired location such as, <HAProxy_EXTENSION_HOME>.
  3. Use a text editor to open the haproxy-extension.sh file, which is in the < HAProxy_EXTENSION_HOME >/bin/ directory and update following system properties:

       -Dexecutable.file.path=<haproxy-home>/haproxy     # HAProxy executable file path
       -Dthrift.receiver.ip=localhost                    # CEP IP Address
       -Dthrift.receiver.port=7615                       # CEP Port
  4. Use a text editor to open the jndi.properties file, which is in the <HAProxy_EXTENSION_HOME>/conf/ directory and update the Message Broker information:

    connectionfactory.topicConnectionfactory=amqp://admin:admin@carbon/carbon?brokerlist='tcp://<message-broker-ip>:<message-broker-port>'
  5. If required update the default Load Balancer configuration in the haproxy.cfg.template file, which is in the <HAProxy_EXTENSION_HOME>/templates/ directory.
  6. Run the haproxy-extension.sh file, which is in the  <HAProxy_EXTENSION_HOME>/bin/ directory to start the HAProxy Load Balancer.
  • No labels