Clustering concept is a remarkable and noteworthy model. I have comprehended the axis2 cluster mechanism.
A cluster consists of a group of independent but interconnected server client whose combined resources can be applied to a processing task. A common cluster feature is that it should appear to an application as though it were a single server. Apache Axis2 works the same.
Main requirement of any clustering enterprise deployment are High Availability & scalability. High Availability, which services, monitors, and restarts all other resources as required. Scalability challenges are ability to serve large capacity and speed continues to grow at an exponential rate due to a variety of factors like large number of request.
We can simply enable Axis2 Clustering in the axis2.xml file enabling attribute to true locate in the "Clustering".The services provided by Axis2 clusteringe include the Axis2 clustering management API.
The axis2.xml file clustering configuration section include below main parts.
Clustering Agent & Clustering Agent Parameters
Agents normally have parameters that can be changed in order to tweak their initialization & performance. Following is a brief introduction about the important parameters that are useful.
synchronizeAll- Ensures Synchronization that all synchronized content
is identical across the cluster member
maxRetries- Define the timestamps to retry to send message among the
cluster members before the node fail
localMemberHost- Include the IP addresses or host name of the cluster members
memberDropTime- If a if a member does not respond in a cluster axis2.xml include time interval to left the group,It include under this in milliseconds
AvoidInitiation- To be the cluster has automatically initialized this parameter include
<parameter name="synchronizeAll">true</parameter>
<parameter name="maxRetries">10</parameter>
<parameter name="localMemberHost">127.0.0.1</parameter>
<parameter name="memberDropTime">3000</parameter>
<parameter name="AvoidInitiation">true</parameter>
State Management
If we have a load balanced cluster State Management it requires synchronizing to the state across the members. State Management Clustering behaviour maintain keeping track of a user's activity across sessions.
Node Management
Node Management, you can add nodes to your cluster, monitor node
status, and perform management actions on nodes
<nodeManager class="org.apache.axis2.clustering.management.DefaultNodeManager"
enable="true"/>
Group Management
This Managing resource groups in a cluster.It describes adding and
removing resource groups, and changing resource group attribute
<groupManagement enable="true">
<applicationDomain name="group1"
description="This is the first group"
agent="org.apache.axis2.clustering.management.DefaultGroupManagementAgent"/>
<applicationDomain name="group2"
description="This is the second group"
agent="org.apache.axis2.clustering.management.DefaultGroupManagementAgent"/>
</groupManagement>
Members
A set of identifiers are used to give a cluster member an identity within the cluster with different Ip addresses & ports in axis2
cluster
A cluster consists of a group of independent but interconnected server client whose combined resources can be applied to a processing task. A common cluster feature is that it should appear to an application as though it were a single server. Apache Axis2 works the same.
Main requirement of any clustering enterprise deployment are High Availability & scalability. High Availability, which services, monitors, and restarts all other resources as required. Scalability challenges are ability to serve large capacity and speed continues to grow at an exponential rate due to a variety of factors like large number of request.
We can simply enable Axis2 Clustering in the axis2.xml file enabling attribute to true locate in the "Clustering".The services provided by Axis2 clusteringe include the Axis2 clustering management API.
The axis2.xml file clustering configuration section include below main parts.
Clustering Agent & Clustering Agent Parameters
Agents normally have parameters that can be changed in order to tweak their initialization & performance. Following is a brief introduction about the important parameters that are useful.
synchronizeAll- Ensures Synchronization that all synchronized content
is identical across the cluster member
maxRetries- Define the timestamps to retry to send message among the
cluster members before the node fail
localMemberHost- Include the IP addresses or host name of the cluster members
memberDropTime- If a if a member does not respond in a cluster axis2.xml include time interval to left the group,It include under this in milliseconds
AvoidInitiation- To be the cluster has automatically initialized this parameter include
<parameter name="synchronizeAll">true</parameter>
<parameter name="maxRetries">10</parameter>
<parameter name="localMemberHost">127.0.0.1</parameter>
<parameter name="memberDropTime">3000</parameter>
<parameter name="AvoidInitiation">true</parameter>
State Management
If we have a load balanced cluster State Management it requires synchronizing to the state across the members. State Management Clustering behaviour maintain keeping track of a user's activity across sessions.
Node Management
Node Management, you can add nodes to your cluster, monitor node
status, and perform management actions on nodes
<nodeManager class="org.apache.axis2.clustering.management.DefaultNodeManager"
enable="true"/>
Group Management
This Managing resource groups in a cluster.It describes adding and
removing resource groups, and changing resource group attribute
<groupManagement enable="true">
<applicationDomain name="group1"
description="This is the first group"
agent="org.apache.axis2.clustering.management.DefaultGroupManagementAgent"/>
<applicationDomain name="group2"
description="This is the second group"
agent="org.apache.axis2.clustering.management.DefaultGroupManagementAgent"/>
</groupManagement>
Members
A set of identifiers are used to give a cluster member an identity within the cluster with different Ip addresses & ports in axis2
cluster
No comments:
Post a Comment