Installation guide

69
Chapter 17
Configuring Message Server Cluster Using Server Admin Service
To stop a connected node of a Cluster, use the ‘Stop’ option provided after selecting the node on the
Console.
Deleting Cluster
You can delete a cluster only when it's status is stopped.
To delete a cluster, select it using the checkbox provided, and click ‘Delete’.
Running client for Message Server Cluster
A Message Server client can use a Message Server cluster in the same way as a Standalone Message
Server, except that the client is required to supply the URL of one of the running Message Server
cluster nodes, as "
java.naming.provider.url” property in the client's properties file/object,
jndi.props. The jndi.props file is used to create an InitialContext while looking up
administered objects.
If the client specifies the URL of only one node in the properties file, that node should be running
when the client connects. There should be at least two nodes running for failover to occur. If the
second node comes up after the client connects, the client will not have any information of this node
and will not failover as the client gets informed of the participating nodes only while creating the IC.
The client can specify a composite URL - URLs of two or more Message Server cluster nodes
separated by commas. This ensures fail-safe acquisition of ICs so that the client can connect to any
running node.
Say, rmi://192.168.1.29:2001,rmi://192.168.1.29:2002
Other properties are similar to those specified for a Standalone Message Server:
•Value for java.naming.factory.initial is
com.pramati.naming.client.PramatiClientContextFactory
java.naming.provider.url is the URL
java.naming.security.principal is <user-name>, and the default value is ‘root
java.naming.security.credentials is <password>, and the default value is pramati
com.pramati.naming.realm is <realm-name>, and the default realm issystem
Managing Cluster Nodes
A cluster is a combination of individual instances of server known as nodes. Each node has its own
set of replicated and non-replicated services. Pramati Cluster supports these node types:
Table 21: Cluster types supported by Pramati Server
Node Type Description
BOTH If a cluster node is defined as BOTH, both EJB and Web containers are started. Select this option
when the application has Enterprise beans and Web components.