You can create a Cassandra cluster using Storage Server nodes.
Axis2 clustering configurations
First you have to enable Axis2 clustering in each SS node. Change following configurations in the
- Enable Hazelcast-based Axis2 clustering.
<clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent" enable="true">
- Set the membership scheme to WKA.
- Set local member host.
- Set local member port.
Set the well known members.
Here, you have to list all SS nodes with their
localMemberPortvalues, which you already configured in previous steps.
Cassandra connection related configurations
<SS_HOME>/repository/conf/etc/hector-config.xmlin any node you plan to use as management node. Use the following configuration:
Give all SS nodes with port 9160 as a comma separated list.
<SS_HOME>/repository/conf/etc/cassandra-endpoint.xmlas follows by giving all host names of nodes.
Cassandra Cluster Monitoring and Node Operations related configurations
To view Cassandra cluster statistics and do cluster operations, <SS_HOME>/repository/conf/etc/cluster-config.xml needs to be configured. Here, all the SS nodes and their service URLs needs to be configured.