Fault tolerance is ability of a system or an application to gracefully cope with an unexpected situation and continue its services as normal. For applications developed and deployed in TIBCO, Fault tolerance can be achieved by using multiple machines with primary, secondary relationship. In this TIBCO administrator FT tutorial, I’ll explain how you can run your services and processes in TIBCO administrator in FT mode to ensure high availability.
Let’s go step by step to run our application in TIBCO administrator FT (Fault Tolerant) mode.
Step 1: Add Process to multiple machines
Fault tolerance can be achieved for a TIBCO process only if process has been added to at least two different machines. In order to add a process in multiple machines, go to Application Management–>Application Name–>Configuration–>Process Archive.par–>General
Now click on Add to Additional Machines option. Choose the machine where you want to additionally deploy the process and then click Apply/Save button.
Step 2: Configure FT Group Settings for a TIBCO Process
After adding a process to multiple machines, second step is to configure FT group. Under FT Group Settings, check Run Fault Tolerant option.
Specify Heartbeat Interval in milliseconds. Heartbeat interval is the time after which primary/master engine sends a broadcast message to all secondary/slave engines to inform them about its liveliness.
Then specify Activation Interval. This field specifies the amount of time to expire since the last heartbeat from the master before the secondary restarts the process starters and process engines.
Then specify Activation Delay. This field is used to specify a delay before the master engine restarts after coming up from a crash. This delay is useful to ensure a clean shutdown of secondary engine before resumption of primary engine.
Now we need to specify master-child or peer-peer relationship. For this, Under the FT Weight column select one process instance as Primary and the remaining instances as secondary.
Members of a fault-tolerant group can be configured as peers or as master and secondary engines. If all engines are peers, when the machine containing the currently active process engine fails, another peer process engine resumes processing for the first engine, and continues processing until its machine fails. If the engines are configured as master and secondary, the secondary engine resumes processing when the master fails. The secondary engine continues processing until the master recovers. Once the master recovers, the secondary engine shuts down and the master takes over processing again.
Now your Fault Tolerance configurations are done. Deploy the services and your server is ready in FT mode.
Recommended Reading: How To Build And Deploy EAR In TIBCO Using Designer and Administrator
Could you please explain all the BW pallates with example then we will easy to make small programes because we are the beginners in TIBCO.
Hi,
Can you please write a post on How to set up two Administrators on two different machines in FT mode with RV as medium of communication in the domain.
Your post on this would be highly appreciated.
Thanks & Regards,
Rahul.
does primary server sends heartbeat pulses to primary server or secondary server sends heart beat pulses to primary server can u please clarify.
Hi Bharath,
In FT mode, there will be the concept of Active and standby server, whoever is an active server it keeping sending the heartbeat to standby server, so In this case may be your Primary server working as an Active server and Secondary server as standby server or may be opposite of it.
I hope this will clear your doubt.
Regards
Kishor
thanks kishor. it was really beneficial for me.
In Peer-to-Peer Fault Tolerance when we can make services always available to external sources so what is the need of Primary-Secondary FT mode ? Because we are providing High Availability of BW engines via Peer-to-Peer itself right..so why we got for other FT.. Is there any specific need why we need Primary-Secondary FT mode also ?
Hi Ajmal,
How r u .This is Mallareddy pls try to upload tibco bw6 LB and FT setup video.