Installation guide

17
Configuring Message Server Cluster Using
Server Admin Service
Pramati Server provides the following ways to configure Message Server Cluster:
Using the Server Administration Service
•Modifying XMLs
Before configuring the cluster, the Message Persistence tables should be created. Run the
scripts in
<install-dir>/jms/templates. You can modify the table names in the scripts to match
the names specified for the four message persistence tables. Table names should be unique
to a Message Server cluster to avoid conflicts among various standalone Message Servers and
clusters since the same tables will be used by all the nodes of the cluster.
The following tables store runtime information required to persist messages.
Message table -This table stores all persistent messages.
Subscriber table -This table stores information about all subscribers.
Subscriber Message table -This table stores messages of all subscribers.
XA table -This table stores information about messages produced/consumed as part of
distributed transactions.
Configuring Message Server Cluster
To configure a Message Server cluster using Server Administration Service:
1 Start the Server Administration Service.
2 Click ‘Message Server Clusters’ in the Explore panel. This displays ‘Step 1 of 2: Add
Message Server Cluster’ in the Display panel. Provide details for the following fields.
Table 19: Step 1 of adding a Message Server cluster
Fields Options Description
Name This is the name of the Message Server cluster. Say, ‘MyJMS’.
Database This contains mandatory fields indicating the database table that
will hold cluster configuration details.
URL This is the URL of the database. You can edit the default text
(jdbc:oracle:thin:@<CLUSTER_DB_HOST>:1521:<CLUSTER_DB_SID
>) to point to the database you want. For Oracle, it can be
jdbc:oracle:thin:@db1.pramati.com:1521:db1.
Driver This is the driver needed to connect to the database. You can edit
the default text, oracle.jdbc.driver.OracleDriver.