m k 2 Posted June 12, 2020 Share Posted June 12, 2020 Hi, we use TEA 2.3.0 for domain, appspace, appnode.we have deployed the application. Please note that, on TEA Linux server, we have hawk product already installed at this locaiton/opt/tibco/hawk/6.1 question is: i want to montior the deployed application using hawk (memory usage, status of the application (if the app is running or not). can someone provide steps thanks Link to comment Share on other sites More sharing options...
Chenghao Chen Posted June 12, 2020 Share Posted June 12, 2020 Hello there, Memory usage, you didn't mention which Memory. For os memory, you can try hma->System:getSystemInfo For process memory, try hma->Process:getProcess https://docs.tibco.com/pub/hawk/6.1.0/doc/html/wwhelp/wwhimpl/common/html/switch.htm For JVM heap monitoring, try jvm plugin. https://docs.tibco.com/pub/hawk/6.1.0/doc/pdf/TIB_hawk_6.1_plugin_reference.pdfid=5 For application monitoring: https://docs.tibco.com/products/tibco-hawk-microagent-for-tibco-activematrix-businessworks-6-6-5-0 Thanks Chenghao Link to comment Share on other sites More sharing options...
m k 2 Posted June 14, 2020 Author Share Posted June 14, 2020 thanks for your response. i would like to montior application/appnode memory. i have some confusion. first of all what is hawk domain do i need to have hawk domain to monitor tibco bw apps i start following these documents which has procedure to configure hawk domain. 1) Registering a Hawk Domain (Enable Hawk Management, Change the Hawk Properties in the tea.tra file, Add the Hawk Domain Configuration Properties) https://docs.tibco.com/pub/tea/2.3.0/doc/html/GUID-0BBDEBCB-B06D-4AD4-A24B-00F39E80875B.html 2) Configuring Properties to Enable Hawk Integration https://docs.tibco.com/pub/tea/2.3.0/doc/html/GUID-F964A2BB-2462-4689-B6B8-3E385623F185.html Link to comment Share on other sites More sharing options...
Chenghao Chen Posted June 15, 2020 Share Posted June 15, 2020 i have some confusion. first of all what is hawk domain -> Hawk domain is used to identify hawkagent. Hawk Console application must use the same hawk domain name as the hawkagent so that you can manage hawkagent and rulebases. do i need to have hawk domain to monitor tibco bw apps -> No. This is optional. By default, it would use "Default" as the hawk domain name. Link to comment Share on other sites More sharing options...
m k 2 Posted June 24, 2020 Author Share Posted June 24, 2020 Thanks. i have followed the following steps till 7on TIBCO BW 6.5.1 Linux server. Question on step 8 - Start the Hawk Agent if it is not running. 1) How to start hawk agent i can see hawk is installed at this locaiton /opt/tibco/hawk/6.1/bin 2) Under that location there are many .cfg files like hawkagent.cfg. Do i need to modify this file if yes, what parameters i need to uncomments https://docs.tibco.com/pub/hkbw6/6.5.0/doc/html/GUID-B59F6724-7248-40C8-B93E-25D647D6FA57.html Procedure Navigate to the configuration folder in the ActiveMatrix BusinessWorks installation at BW_HOME/config. Copy the AppSpace configuration template (appspace_config_ini_template) file to a temporary location and rename the file to config.ini. Open the config.ini file for editing and configure the following properties based on the transport used. Configuration Properties Enable Hawk microagents for ActiveMatrix BusinessWorks bw.hawk.hma.enabled=true (Optional) Enable TIBCO Rendezvous transport bw.hawk.hma.transport=tibrv bw.hawk.hma.rv.service=<port> bw.hawk.hma.rv.network= bw.hawk.hma.rv.daemon=tcp:<port> (Optional) Enable TCP Transport for TIBCO Hawk bw.hawk.hma.transport=tibtcp bw.hawk.hma.tcp.self.url=<host_IP>:<port> bw.hawk.hma.tcp.agent.ami.url=<hawk_agent_IP>:<AMI_session_port> Save the file. Stop the AppNodes if running. Use the bwadmin config command to push the configuration to the AppSpace: bwadmin config -d <domain_name> -a <AppSpace_name> -cf <temporaryLocation>/config.ini If you are running ActiveMatrix BusinessWorks in Enterprise mode, start the bwagent if it is not running. For more information about starting bwagent, see TIBCO ActiveMatrix BusinessWorksTM documentation. Start the Hawk Agent if it is not running. For more information about starting the Hawk Agent, see TIBCO Hawk documentation. Restart the AppNode instances. Upload and deploy the application archive (EAR) file to the AppSpace. Start the application. Link to comment Share on other sites More sharing options...
Chenghao Chen Posted June 25, 2020 Share Posted June 25, 2020 How to start hawk agent -> Go to <tibco_config_home>/hawk/bin, run binary file tibhawkagent to start it. Under that location there are many .cfg files like hawkagent.cfg. Do i need to modify this file if yes, what parameters i need to uncomments -> Go to <tibco_config_home>/hawk/bin, configure hawkagent in hawkagent.cfg. Read the comments in this file carefully, you will learn how to configure it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now