Migrating Rulebases and Schedules from Hawk Agent to Rulebase Repository

For the optimized use of the rulebase repository, you must migrate existing rulebases and schedules from Hawk agents to the rulebase repository. In Hawk Console, you can create a rulebase mapping for these migrated rulebases. Based on these rulebase mapping, the rulebase repository deploys the rulebases and schedules to Hawk agents.

Procedure

  • You can migrate the rulebases and schedules from Hawk agents to a rulebase repository by following either of these procedures:
    Scenario Steps
    Move each rulebase one by one
    1. In Hawk Console, open the Hawk Agent page from which you want to migrate the rulebase.
    2. On the Agent page, select the Rulebases tab.
    3. On the Rulebases tab, from the rulebases list, under the Actions column, select the Send to Repository option for the rulebase that you want to migrate.
    4. Click Yes to confirm the migration.

    For more details about the Hawk Console, see TIBCO Hawk® Documentation

    Move each schedule one by one
    1. In Hawk Console, open the Hawk Agent page from which you want to migrate the schedule.
    2. On the Agent page, select the Schedules tab.
    3. On the Schedules tab, select the schedule that you want to migrate.
    4. Click the Send to Repository icon .
    5. Click Yes to confirm the migration.

    For more details about the Hawk Console, see TIBCO Hawk® Documentation

    Move rulebases and schedules in bulk
    1. Copy all the rulebase files (.hrb) and schedule files (.hsf) from your Hawk agent to the domain folder in the Hawk Console repository path.

      The repository path is specified by the hawk_console_repository_path environment variable. Thus, the path to copy the rulebase and schedule files is <hawk_console_repository_path>/<domain_name>.

    2. Start the Hawk Console to load these rulebases and schedules in the rulebase repository.

Result

The rulebase repository in Hawk Console, lists all the migrated rulebases and schedules. You can then perform different operations on these rulebases and schedules.