Configuration of TIBCO ActiveMatrix Hawk Rulebase Samples

The samples cover different scenarios depending upon the state of various nodes and EMS server.

Samples are available in TIBCO_HOME/amx/<version>/samples/hawk/rulebases/. Refer to the readme.txt file in the folder.

The sample provides the functionality related to the AMX Host microagent and the TIBCO EMS microagent:

  • Detect when the connected ActiveMatrix Host (TibcoHost) is abnormally shutdown and restart it. Restart is only attempted if, the connected EMS server is running.
  • Detect when the Administrator Node (SystemNode) was abnormally shutdown and restart it. (Assumes that the SystemNode is also managed by the connected ActiveMatrix Host). Restart is only attempted when the Admin database (if external) is running, and the connected EMS server is running.

    A sample DBping microagent is included to support this scenario. Note that the rulebases to support this scenario B are only setup when the ActiveMatrix Administrator instance is created via TCT.

  • Auto-detect runtime nodes managed by the connected ActiveMatrix Host (TibcoHost), and provide or generate rulebases for each node that restart the node when abnormally shutdown. Restart is only attempted when the connected EMS server is running.

The rulebases and scripts are auto-configured from the output of a TIBCO Configuration Tool (TCT) run.

When TCT is run on a machine to setup either an ActiveMatrix Administrator instance or a TIBCO Host instance, its output directory can be used to configure the Hawk rulebases and scripts to manage the installed ActiveMatrix Administrator and/or TIBCO Host and nodes.