Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For information on additional configuration required for clustering other WSO2 products, click that product's link here.

WSO2 provides Hazelcast Community Edition as its default clustering engine. Advanced users can fine-tune Hazelcast by creating a <CARBON_HOME>/repository/conf/hazelcast.properties file and adding the relevant Hazelcast properties as described in the Hazelcast Advanced Configuration Properties documentation. If you use Hazelcast Enterprise Edition or Hazelcast Management Center, see the Hazelcast documentation for details on configuring those products.

If you need to provide access to the management node from outside your network so external clients can upload applications and perform other management tasks, you configure the mgt sub-domain in loadbalancer.conf and map the host to the IP address of the ELB. For example, you would add the mgt sub-domain to loadbalancer.conf as follows:

Code Block
languagehtml/xml
titleloadbalancer.conf
appserver {
  domains{
     wso2.as.domain {
        tenant_range *;
        group_mgt_port 5000;
        mgt {
                hosts management.as.cloud-test.wso2.com;
        }
        worker {
               hosts as.cloud-test.wso2.com;
        }
     }
   }
}

You would then add the management.as.cloud-test.wso2.com port mapping in the /etc/hosts file as follows:

Code Block
languagenone
title/etc/hosts file
xxx.xxx.xxx.xxx management.as.cloud-test.wso2.com 
xxx.xxx.xxx.xxx as.cloud-test.wso2.com
Excerpt
hiddentrue

This topic notes any additional configurations you may need while clustering and also additional information that you may find useful. Note that the items in this topic are not part of required steps for standard worker/manager separated clusters and cater to only special scenarios.