Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 TIBCO Hawk Component Configurations : HMA Configurations

HMA Configurations
All the required configuration parameters are stored in CONFIG_FOLDER/bin/hawkhma.cfg. The following table describes various HMA configuration properties in easy-to-understand logical groups. The various groups are as follows:
Each of the parameters listed above are explained in more detail, in the following table.
See Hawk Domain for details.
Name of the agent. Ensure that the output of the '/usr/bin/hostname' UNIX command matches with the 'hostname' specified in the /etc/hosts file.
For example, if the value of hostname is linux64 then the /etc/hosts file should have the entry, such as, 192.168.1.100 linux64.
Logging for HMA
The TIBCO Hawk HMA process creates log files for each MicroAgent, such as Hawk_Process.log. The HMA process also creates a Hawk_HMA.log file for MicroAgent-generic errors.
To see console logs on command console, add "-console" argument as one of the application arguments in the file tibhawkhma.tra. Otherwise, the logs get logged as Windows Events. If the logging is enabled, the logs appear in the related files.
You control the size and level of detail in HMA log files at the start using the hawkhma.cfg file or during runtime using the setTraceLevel() and setTraceParameters() methods. These standard methods are included for default platform-specific MicroAgents, and can be added when instrumenting an application using the AMI protocol.
Following are some representative lines in an HMA log file for the Services MicroAgent:
INFO 01/15/2013 11:14:39
OPTIONS: Transport: RV
RV Session : Service : 7474 -- Network : ; -- Daemon : tcp:7474
Timeout : 10000
CodePage : 65001
TraceLevel : -1
Logdir : C:/ProgramData/hawkv16/tibco/cfgmgmt/hawk/log --
LogMaxSize : 1024 -- Max Log Files : 5 -- Log Format : default
INFO 01/15/2013 11:14:53 TIBCO Hawk HMA initialization completed successfully.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved