• Home
  • Blog
  • Tibco
  • Monitoring Load Balancing & Fault Tolerance in BW with Hawk - TIBCO

Monitoring Load Balancing & Fault Tolerance in BW with Hawk - TIBCO

Fault Tolerance

Fault Tolerance options can be set only for TIBCO BusinessWorks processes. TIBCO Adapter services cannot be assigned fault-tolerant options. You can start one or more process engines in the FT group. If more than one engine has started, only one is displayed as Running and all other engines are displayed as Standing By.

Monitoring the Failover situation in BW through Hawk

I have deployed the same BW process instance twice on my machine which are available in admin as shown below:

  • The Primary server is showing “Running” and the secondary server is showing “Standing by” in the admin.
  • The BW microagent method getHostInformation is showing the Application status as STANDBY for the secondary server bw microagent.
  • The BW microagent method getProcessStarters is showing the ProcessStarter status as INACTIVE for the secondary server bw microagent.
  • Based on these 2 methods, we can develop a hawk rulebase to monitor the failover situation from primary to secondary server. When the primary server goes down, the rulebase will trigger a mail that the process starter of FT secondary server is ACTIVE, which means the secondary bw process is in running status in admin.

MindMajix Youtube Channel

Monitoring Failover situation in EMS through Hawk

We can use the JMS_Controller:get server info method to monitor the FT failover and develop a rulebase that triggers the mail.

Related Article: Acknowledgement Modes In TIBCO EMS

Fault Tolerance in Tibco Adapters

Tibco support doesn’t provide best practices to implement FT in Tibco adapters but advised to use Hawk to implement this. In this case, you can send messages on the bus under certain circumstances on one server, and on the other services you can get such messages to trigger your local hawk rules. About cross-referencing engines deployed on different servers we have messaging micro agent in hawk.

As we know, a hawk agent can use and invoke only the micro-agents available on its own machine. To create dependencies across several servers we need extra methods like for example messaging micro agent.

Advanced Rules For Component Restarts

The common way is, to use a script that runs the application and you could execute this script from Hawk as part of the action part,( invoke the script with a custom micro agent) by testing for that specific application process count == 0.

Another way if your application can run like a service in Win platform, start the service (form Services micro agent)

Job Support Program

Online Work Support for your on-job roles.

jobservice

Our work-support plans provide precise options as per your project tasks. Whether you are a newbie or an experienced professional seeking assistance in completing project tasks, we are here with the following plans to meet your custom needs:

  • Pay Per Hour
  • Pay Per Week
  • Monthly
Learn MoreGet Job Support
Course Schedule
NameDates
Tibco BW TrainingNov 19 to Dec 04View Details
Tibco BW TrainingNov 23 to Dec 08View Details
Tibco BW TrainingNov 26 to Dec 11View Details
Tibco BW TrainingNov 30 to Dec 15View Details
Last updated: 04 Apr 2023
About Author

Ravindra Savaram is a Technical Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.

read less