Versions Compared

Key

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

...

Group management

If you are not using the WSO2 ELB to front a cluster of service-based products (such as WSO2 ESB, Data Services Server, and Application Server), enable the groupManagement element when a member is deployed as a cluster manager. A group management agent, which is an instance of the org.wso2.carbon.core.clustering.hazelcast.HazelcastGroupManagementAgent interface, must be specified for each group (applicationDomain) that is being managed. The following example configuration shows how cluster management has been enabled for group1 and group2:

...

Code Block
<members>
    <member>
       <hostName>10.100.1.202</hostName>
       <port>4000</port>
    </member>
    <member>
       <hostName>10.100.1.154</hostName>
       <port>4001</port>
    </member>
</members>

 

...

Dynamic members

The members element can also be used to specify a range of well-known members. You must specify a range of IP addresses as the host name and primary port of each member. The following sample member configuration shows two dynamic members with different IP addresses and ports:

Code Block
<members>
    <member>
       <hostName>10.100.1.202-209</hostName>
       <port>4000</port>
    </member>
    <member>
       <hostName>10.100.1.154-164</hostName>
       <port>4001</port>
    </member>
</members>