Registering Fault Tolerant EMS Servers
The TEA Agent for TIBCO Enterprise Message Service™ can register TIBCO Enterprise Message Service servers that have been set up for fault-tolerance. The TEA Agent for TIBCO Enterprise Message Service only supports fault tolerance in pairs of TIBCO Enterprise Message Service servers.
You can set up a pair of TIBCO Enterprise Message Service servers for fault tolerance by configuring one server as the primary server and another one as the secondary server. Upon startup, the first server to start reaches the active state and the other the standby state. The active server accepts client connections, and interacts with clients to deliver messages. If the active server fails, the standby server becomes active and resumes operation in its place.
Prerequisites
- The two TIBCO Enterprise Message Service servers should be set up for fault tolerance before registering them with the TEA Agent for TIBCO Enterprise Message Service.
- The server URL in tibemsd.conf file must explicitly contain the IP address or "localhost" in it, for example tcp://localhost:7222, or you must explicitly mention the IP address instead of "localhost". If you leave out the IP address or localhost from the URL, the servers will fail to register with the TEA server.
- Both the TIBCO Enterprise Message Service servers must be running when registering them with the TEA Agent for TIBCO Enterprise Message Service.
To register a pair of fault tolerant TIBCO Enterprise Message Service with the TEA agent for TIBCO Enterprise Message Service, follow these steps: