Installation guide

92
Pramati Server 3.5 Administration Guide
Setup the cluster configuration file that would define all nodes that form part of this cluster. The file
cluster-config.xml captures the information on the nodes that forms a cluster. Initially, when
creating the cluster this information is to be provided in this file. This file will be identical in ALL
the nodes that will form the cluster- with information on each one of them.
After the first startup of the server, the information gets persisted in the DB/File persistence store of
the cluster, and a read-only version of the file is always available synched up from the DB on every
‘start’ of the cluster node.
1 Copy the cluster-config.xml file from the templates directory to the nodes/<node-name>/
config directory.
2 Add the node related information or topology for each node.
<node>
<name>N1</name>
<computer-name>128.128.77.77</computer-name>
<naming-port>9191</naming-port>
<http-port>8181</http-port>
<node-type>BOTH</node-type>
<node-id>001</node-id>
</node>
<node>
<name> N2 </name>
<computer-name> 128.128.77.78 </computer-name>
<naming-port> 9190 </naming-port>
<http-port> 8180 </http-port>
<node-type> BOTH </node-type>
<node-id> 002 </node-id>
</node>
Setting up a J2EE Cluster
Follow the general instruction for setting up a Cluster node as summarized here:
Create the Node Directory and copy the configuration files required for the J2EE Node as
mentioned in Table 2.
Add cluster declaration in server-config.xml. Make sure that EJB and Web or EJB/Web are
enabled and Message Server is disabled.
<service name="WebContainer" enabled="true"
class-name="com.pramati.web.WebServer">
<service name="EJBContainer" enabled="true"
class-name="com.pramati.ejb.EJBContainer">
<service name="JMSService" enabled="false"
class-name="com.pramati.jms.server.PramatiMessageService">