How to configure TIBCO BusinessWorks ProcessMonitor (BWPM) to use TIBCO Enterprise Message Service (EMS) in fault tolerant (FT) mode.

How to configure TIBCO BusinessWorks ProcessMonitor (BWPM) to use TIBCO Enterprise Message Service (EMS) in fault tolerant (FT) mode.

book

Article ID: KB0092945

calendar_today

Updated On:

Products Versions
TIBCO BusinessWorks ProcessMonitor -
Not Applicable -

Description

Description:
In order to configure BWPM with an EMS server running in FT, we need to take care that when the primary EMS server is down, the backup/secondary EMS server acts as the primary EMS server. The BWPM server should automatically connect to the secondary EMS server and resume processing messages. In order to do this, we need to configure the BWPM JMS settings so that it will handle this EMS server switch over whenever necessary.

Environment

Product: TIBCO BusinessWorks™ ProcessMonitor Version: 2.2.x,3.0.x,3.1.0.x OS: All Supported Operating Systems --------------------

Resolution

Here are the steps for setting up BWPM with an EMS server running in FT mode.

Client side:


Implicit mode not using BWPM Palettes. The parameter below is configured in the deployed .tra file (application.tra) or bwengine.tra file (for future deployment) to connect the EMS server running in fault tolerant mode.


****
tibco.clientVar.nJAMS/DataProvider/JMS/server=tcp\://tib-ems1-rse\:7223,tcp\://tib-ems2-rse\:7223
****

After making the changes in application.tra, restart the BW engine.

Explicit mode using BWPM Palettes. In this case, you can add the JMS provider URLs in the global variable mentioned below. 
****
server = "tcp://10.xx.x.xxx:7222,tcp://10.xx.x.xxx:7222"
****

Server Side:

- On the server side, you can make an EMS connection with multiple IPs. Traverse to nJAMS-->DataProvider->JMS->Server and place both the IPs here.

-  Navigate to BWPM Server GUI->Administration tab->Connections->JMS. Create a JMS connection and in the Provider URL block, state both IPs, primary and fault tolerance. Attached is a screen shot (Filename: JMS_FT.JPG). By doing this, when one of the EMS servers is unreachable, the messages will be delivered to the other EMS server and the data provider will have access to it. This is how EMS can be configured in fault tolerance mode.

Issue/Introduction

How to configure TIBCO BusinessWorks ProcessMonitor (BWPM) to use TIBCO Enterprise Message Service (EMS) in fault tolerant (FT) mode.

Attachments

How to configure TIBCO BusinessWorks ProcessMonitor (BWPM) to use TIBCO Enterprise Message Service (EMS) in fault tolerant (FT) mode. get_app