Configuring Sample Rulebases

To configure the sample rulebases to be used with Hawk:

  1. Go to CONFIG_HOME/hkam/<host_instance_name>/scripts.
    Note: In the configure-hkam.properties file, use only forward slash ("/").
  2. Edit configure-hkam.properties to specify the following variables:

    • tibco.hawk.version - The version of Hawk.
    • tibco.hawk.home - TIBCO_HOME used for Hawk installation.
    • tibco.hawk.config.home - TIBCO configuration directory specified during Hawk installation. For example, c:/hk49data.
      Note: Set the following value to true if the communication between a host and the Administrator Server is secure.
      amx.hpa.is.secure=true

  3. Run the configure script from the command line:

    • On Windows: configure-hkam.bat
    • On UNIX: ./configure-hkam.sh

    Note: By default, the admin_emsconfig_password in the tct-install.properties file has an empty value. Therefore configure scripts generate an empty password in thehawkems-<host_name>.hma file. To pick up a non-empty EMS password, modify the value admin_emsconfig_password in the tct-install.properties file, and rerun the configure script to generate the .hma file. Alternatively, you can manually update the value of -encryptedPassword with the value of ${password} in hawkems-<host_name>.hma file.
    <arg>-encryptedPassword</arg>
    <arg>${password}</arg>
  4. Configure the CLEvent Publisher Microagent.
  5. Modify the following properties:

    • On Windows:

      Opentibhawkconfig.exe. In the Agent tab, add or modify the following properties:

      a. Set the Autoconfiguration Directory as CONFIG_HOME/hkam/<host_instance_name>/rulebases.

      b. Set the value of Plugins as CONFIG_HOME/hkam/<host_instance_name>/plugin.

      c. Set the variables file as CONFIG_HOME/hkam/<host_instance_name>/data/Hawk-amx_variables.properties.

    • On UNIX:

      Edit HAWK_CONFIG/bin/hawkagent.cfg to configure the following properties:

      a. Set hma_plugin_dir as CONFIG_HOME/hkam/<host_instance_name>/plugin.

      b. Set variables as CONFIG_HOME/hkam/<host_instance_name>/data/Hawk-amx_variables.properties.

      c. Set auto_config_dir as CONFIG_HOME/hkam/<host_instance_name>/rulebases.

Start Hawk HMA, Hawk Agent, Hawk Console, Hawk Display, and so on, as appropriate for your platform.