How to get the rulebase deployment information to a domain other than check from TIBCO Administrator (Admin) GUI and TIBCO Hawk (Hawk) Display?
book
Article ID: KB0086180
calendar_today
Updated On:
Products
Versions
TIBCO Hawk
-
Not Applicable
-
Description
Resolution: Description: ======================== The rulebase deployed to a domain can come from several places, like: deployed from Hawk Display, deployed from Admin GUI, deployed from Mar file on Monitoring Console. To check these deployment statuses, you need to check from Hawk Display for loaded rulebase. For rulebases deployed from Admin GUI, you need to go through the configuration of applications on Admin GUI one by one and also check the Monitoring Console because for rulebases deployed on applications, you can not see them from Hawk Display if the application is down. Is there a way to check this by running a tool from command line?
Environment: ======================== ALL
Resolution: ======================== To get this kind of information, you can check two places for one machine: 1. Invoke the Microagent RuleBaseEngine:getRuleBaseNames to get current loaded rulebase on this Hawk agent. 2. Check the <tra>/domain/<domain>/rulebase folder. You can get all deployed rulebases. So you can also invoke Microagent FileStat:getFileStatus to get the file list under this folder to. Since the rulebase deployed from Admin GUI will follow the standard rule for the name, you can tell from the name about which rulebase deployed on which application.
Based on this, you can use Hawk Console API to build a tool to poll each agent with these two Microagents to get the rulebase deployment info.
Issue/Introduction
How to get the rulebase deployment information to a domain other than check from TIBCO Administrator (Admin) GUI and TIBCO Hawk (Hawk) Display?