What is the difference between an active-passive route and an active-active route in the EMS Server?
book
Article ID: KB0088781
calendar_today
Updated On:
Products
Versions
TIBCO Enterprise Message Service
-
Not Applicable
-
Description
Resolution: Description: = = = = = = = Definition of active-passive and active-active route in EMS Servers.
Environment: = = = = = = = ALL
Resolution: = = = = = = When you configure a route for only one EMSE Server, this asymmetry results in two perspectives on the route:
a). ACTIVE-PASSIVE ROUTE
- A route is active from the perspective of the EMS Server where it is configured. This EMS Server actively initiates the connection to the other EMS Server, so it is referred to as the "active" or "initiating" server.
- A route is passive from the perspective of the other EMS Server. This server passively accepts connection requests from the active server and is referred to as the "passive server". Hence, the route is called as ACTIVE-PASSIVE route.
- If a server is passive it does not mean that it won't send messages to the other server. Messages can flow from either of the servers.
b). ACTIVE-ACTIVE ROUTE
When you configure a route on both servers two servers can both configure an active route to the other. This arrangement is called an "active-active" configuration. For example, server A specifies a route to server B, and B also specifies a route to A. In this set up messages can flow in either direction.
c). The difference between active-passive and active-active route:
If the "active" server is down and a publisher publishes to a global topic on a passive server, messages will not be recovered when the "active" server comes back. If the route is active in both directions, each server maintains a durable subscriber to store messages while the route is down. When one of the servers reconnects, the other server will forward the stored messages.
Issue/Introduction
What is the difference between an active-passive route and an active-active route in the EMS Server?