Installation guide

20
Creating Pramati Server Clusters Using
XMLs
Pramati Server features a powerful clustering solution. A cluster is defined as a group of
nodes. Pramati Clustering solution offers transparent, self-organizing, homogenous web
based configuration and management allowing easy EJB and Web clustering. When an
application is deployed on any one of the cluster nodes, it is automatically replicated across
all running cluster nodes. For a client, this translates to a single server view of the cluster.
Server clustering is self-organizing. Adding or removing nodes does not require restarting of
the cluster. When a node is added, the load is automatically distributed across all the nodes
based on their weight.
All the J2EE Services like Naming, Resource, Security and Transaction are automatically
replicated across all the nodes across the cluster. Non-J2EE services like locking, application
synchronization, load balancing, and failover are designed such that all complex cluster
mechanics are hidden ensuring a single server view of the client.
Server clustering provides both EJB and Web clustering. Each Server node has its own set of
replicated and non-replicated services. Pramati Cluster supports Web, EJB and BOTH
Cluster-node types. Types of Clustering supported are:
•J2EE clustering
Message Server clustering
Cluster Definition
Cluster definition involves:
Defining a logical cluster: Comprises of defining the common configuration and state
persistence information
Defining the nodes of the cluster
The initial definition of the cluster is made in the XML of the first node of the cluster. Once
the basic cluster attributes are defined in the
cluster-config.xml. The cluster type is
defined by the Cluster-node definition in the
cluster-config.xml as shown in the
following code snippet:
<node>
<name>node</name>
<computer-name>127.0.0.1</computer-name>
<naming-port>9191</naming-port>
<http-port>8181</http-port>
<node-type>BOTH</node-type>