12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tibco<br />

Creating Clustered JMS Service for Tibco<br />

The Tibco JMS <strong>server</strong> works in pairs to provide fault tolerance. When working in pairs,<br />

one acts as the primary <strong>server</strong> and the other acts as a secondary <strong>server</strong>, with only the<br />

primary <strong>server</strong> accepting client connections and handling JMS messages. For the<br />

secondary <strong>server</strong> to take over active connections and properly handle persistent<br />

messages, both the <strong>server</strong>s must have access to a shared state. The primary and<br />

backup <strong>server</strong>s must both have access to a shared state. This shared state can be<br />

shared storage devices or other mechanisms such as replication.<br />

The shared state must be accessible to both of the <strong>server</strong>s (primary and secondary).<br />

Some common ways to implement shared storage are Network Attached Storage<br />

(NAS) or Storage Area Network (SAN) devices. Replication schemes can also be used<br />

for replicating the shared state.<br />

For more information on Tibco shared state and storage, refer to Tibco's<br />

documentation, located in /jms/tibco/doc/html.<br />

The clustering of Tibco <strong>server</strong>s can be done visually using the BES Management<br />

Console. To cluster Tibco <strong>server</strong>s:<br />

1 Create a shared directory that both of the Tibco <strong>server</strong>s have full access to.<br />

2 Right-click the your Configuration and select Add Managed Object from Template/<br />

jms/Clustered Tibco.<br />

3 Select a group to add clustered Tibco to from the drop-down menu.<br />

4 Make the following changes to the template properties for the second Tibco <strong>server</strong>:<br />

■<br />

2nd Management Agent=hub.name where hub.name is the name of your Management<br />

Hub.<br />

■<br />

■<br />

■<br />

Name - this is the name of the second Tibco <strong>server</strong>.<br />

Tibco Slave URL - this is the port for the second Tibco <strong>server</strong>. The default is<br />

7222. If the primary and secondary <strong>server</strong>s are on different machines the port<br />

numbers can be the same or different, but if they are on the same machine, they<br />

must be different.<br />

Data Directory - This is the path to the shared datastorage for both primary and<br />

secondary <strong>server</strong>s.<br />

224 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!