Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 2 Configuring TIBCO Hawk Components : Configuring HMA

Configuring HMA
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.
Mandatory
See page 35 for details.
Host Name of the computer
When Hawk is configured with TIBCO DataGrid as the transport mechanism, on non-Windows platforms, and agent_name is not specified, then the host name is used as the default agent_name implicitly. 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.
An agent domain must be specified when two computers within the same TIBCO Hawk domain have the same name but reside in different network domains. For example, you might specify this option as: -agent_domain pa.tibco.com.
"" tibpgm://8989/
The format is -as_session <listen url> <discover url>.
See TIBCO DataGrid Transport for more details. Use a semicolon (;) to indicate a null value, or use an empty string, for example:
7474 "" tcp:7474
If you use this option, all three parameters must be present and separated by white space. Use a semicolon (;) to indicate a null value, or use an empty string, for example:
CONFIG_FOLDER/logs
The method invocation timeout period to be used by all AMI methods. Timeout value is in milliseconds.
Specifies the level of diagnostic trace output. The desired trace level is specified by adding the following values together:
65001 (UTF-8)
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: AS
Discovery URL : tcp://10.97.123.88:40000
Listen URL : tcp://10.97.123.88:40000
Invocation Timeout : 30000
Virtual Node Count : 100
Worker Thread Count : 32
Received Buffer Size : 1000
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 © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved