Configuring using FTL
You can configure process monitoring using TIBCO FTL ®.
- Procedure
- Download the latest FTL driver and install TIBCO FTL®. Refer to the TIBCO FTL®
Installation guide for installation instructions. Set the property in
bwcommon.tra - tibco.env.FTL_HOME=<FTL_HOME>and install the FTL driver using thebwinstallutility.The FTL_HOME path provided should be till the version folder. For example, tibco.env.FTL_HOME=/opt/tibco/ftl/5.4 - Start the FTL realm server using
./tibrealmserver -ht <IP address>:8080. - Run the FTL command,
-./tibrealmadmin -rs http://<IP address>:8080 -ur <PATH of bwadmin_ftlrealmserver.json>.Two applications are created on the FTL server. - Update the following properties in the
bwagent_db.json, bwagent_as.json, or bwagent_ftl.jsonfile, based on your BWAgent configuration.Setstatstransportto FTLSetstatsdataformatto bytestreamSetstatsprovidertotrueSetdbprovidertypeto <db type>Setdbproviderdriverto <db provider>Setdbproviderconnectionurlto <db connection url>Setdbprovideruserto <db user>Setdbproviderpasswordto <db password>Setstatsftlrealmserverurlto http://<IP Address>[:port]In case of FTL 6.x server in FT mode, set multiple
realmservervalues separated by pipe. (|).For example:
bw.agent.technology.dbftl.ftl.realmserver= http://10.97.240.76:8050 | http://10.97.240.76:8051 | http://10.97.240.76:8052If any of the configuration settings are different from the default settings, update the following additional properties as applicable.
statsftlapplicationnamestatsftlsecondaryurlThis property is only applicable for FTL 5.x. To use this property for FTL 6.x, set the
statsftlsecondaryto true.By default, the
statsftlsecondaryproperty is set to false.statsftlusernamestatsftluserpasswordstatsftlendpointstatsftldataformatstatsftlinboxRun the BWAdmin config command with the-cfoption to push the changes from the BWAgent configuration JSON file to thebwagent.inifile.To start the BWAgent in thedbemsmodeBW_HOME\bin>bwadmin config -cf ../config/bwagent_db.json agentTo start the BWAgent in thedbftlmodeBW_HOME\bin>bwadmin config -cf ../config/bwagent_ftl.json agent - Start the BWAgent and create the AppNode(s).
Ensure the monitor data format property (bw.monitor.data.format=bytestream) and the monitor provider property (bw.monitor.provider=FTL) are present in the AppNode config.ini file and in the bwagent.ini file.
- Upload and deploy the Application. Start the Application.
- You can enable process monitoring for any particular application by navigating to the Application Level 2 page, turning the
Process Monitor button
ON and restarting the Application.
To enable process monitoring from the CLI, run the following commands:
bwadmin[admin]> enablestats -d domain -a appspace processinstance b1.application 1.0 TIBCO-BW-ADMIN-300413: Enabled statistics collection for Application [b1.application:1.0]. bwadmin[admin]> enablestats -d domain -a appspace activityinstance b1.application 1.0 TIBCO-BW-ADMIN-300413: Enabled statistics collection for Application [b1.application:1.0].
Alternatively, you can run the single command as follows:
bwadmin[admin]> enablestats -d domain -a appspace processmonitor b1.application 1.0 TIBCO-BW-ADMIN-300413: Enabled statistics collection for Application [b1.application:1.0].
- Navigate to
.
Alternatively, you can also use the shortcut key Shift + P from the Application Level 2 Page to open the Process Monitoring landing Page directly.