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


Chapter 2 Enterprise Message Service™ Plug-in Microagent : Installation and Configuration

Installation and Configuration
TIBCO Hawk installer installs Enterprise Message Service Plug-in microagent in TIBCO_HOME/hawk/<version>/plugin/ems folder.
To configure the plug-in, follow these steps:
1.
2.
Ensure that the TIBCO Enterprise Message Service installation path is set in the hawkemsadmin.hma file(located in TIBCO_HOME/hawk/<version>/plugin/ems folder).
3.
Copy the file hawkemsadmin.hma from TIBCO_HOME/hawk/<version>/plugin/ems to CONFIG_FOLDER/plugin.
4.
Edit hawkagent.cfg in CONFIG_FOLDER/bin and set the following option:
-hma_plugin_dir CONFIG_FOLDER/plugin
5.
Navigate to CONFIG_FOLDER/plugin directory and open the hawkemsadmin.hma file in a text editor.
6.
Specify the TIBCO Hawk microagent class you wish to use in the <classname> element. You can use either the HawkListener class if you only want to monitor the server, or you can specify the HawkController class if you want to monitor and manage the server.
7.
Specify the username and password and server URL to use to connect to the TIBCO Enterprise Message Service server in the appropriate <arg> elements. See Table 2, Parameters (Sheet 1 of 2).
For example:
<arguments>
<arg>-user</arg>
<arg>admin</arg>
<arg>-password</arg>
<arg>MyPassword</arg>
<arg>-server</arg>
<arg>tcp://server1.yourcompany.com:7222</arg>
<arg>-timeout</arg>
<arg>5</arg>
</arguments>
8.
Parameters
 
Table 2 Parameters
When absent, the default user name is admin. When absent, the default password is the empty string.
To use an encrypted password, specify this pair. As the value for -encryptedPassword, supply the output you obtain by running the Hawk utility program tibhawkpassword located in your CONFIG_FOLDER/bin directory:
Enter your current password when prompted. See the TIBCO Hawk Installation and Configuration Guide for details.

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