We need to test this with c5
On Aug 12, 2015 3:26 PM, "Imesh Gunaratne" <[email protected]> wrote:

> Hi,
>
> I have now implemented $subject [1] and also provided a diff for Carbon
> Kernel patch0012 [2]. This feature provides functionality to automatically
> discover Carbon clusters via the topology when running on Private PaaS.
>
> *How it works*
>
> Once a Carbon server starts it will wait until the topology gets
> initialized via the message broker. Then it will query the member IP
> addresses of the given cluster(s) in the topology. Thereafter Hazelcast
> network configuration will be initialized with the above IP addresses. As a
> result the Hazelcast instance of the above Carbon server will get connected
> all the other members in the cluster. In addition once a new member is
> added to the cluster, all the other members will get connected to the new
> member.
>
> *Installation*
>
> Apply Carbon kernel patch0012. This includes a modification in the Carbon
> Core component for allowing to add third party membership schemes.
>
> Copy following JAR files to the dropins directory of the Carbon server:
>
> activemq_client_5.10.0_1.0.0.jar
> geronimo_j2ee_management_1.1_spec_1.0.1_1.0.0.jar
> hawtbuf_1.9_1.0.0.jar
> org.apache.commons.lang3_3.1.0.jar
> org.apache.stratos.common-4.1.0.jar
> org.apache.stratos.messaging-4.1.0.jar
> private-paas-membership-scheme-4.1.0-SNAPSHOT.jar
>
> Update axis2.xml with the following configuration, cluster id parameter
> need to contain the cluster id of the relevant carbon server cluster:
> <clustering
> class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent"
>                 enable="true">
>     ...
>     <parameter name="membershipScheme">private-paas</parameter>
>     <parameter
> name="membershipSchemeClassName">org.wso2.carbon.ppaas.PrivatePaaSBasedMembershipScheme</parameter>
>     <parameter name="clusterIds">cluster-1,cluster-2</parameter>
>     ...
> </clustering>
>
> [1]
> https://github.com/wso2/product-private-paas/tree/master/extensions/carbon/ppaas-membership-scheme
> [2] https://wso2.org/jira/browse/CARBON-15340
>
> Thanks
>
> --
> *Imesh Gunaratne*
> Senior Technical Lead
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: http://imesh.gunaratne.org
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to