Reloading Application Configurations

Unified Assurance Services load any rule sets and application configuration on startup and when prompted by a Reload Config command. This means the service configuration and any rule sets can be updated and validated before the changes are implemented and without requiring a restart of the service. Once a reload is initiated, the new application configuration settings are validated and any rule sets are re-read, syntax checked, and validated before being used. If a new configuration setting or rule set does not pass validation, the application reverts to the last known good setting for the configuration and logs the issue before continuing.

Usage

A reload can be initiated on a service either through the UI or from the command-line Broker Control.

UI

  1. Navigate to the Services UI.

    Configuration -> Broker Control -> Services

  2. Select the service to update configuration.

  3. Update configuration as needed (e.g. Change LogLevel to DEBUG) and save.

  4. Select the service again, then click on Reload Config in the button bar.

  5. If the service LogLevel is set to INFO or DEBUG, verify application reloaded by reviewing the logs for an INFO line containing Configuration Reloaded in [xxx].

    Note:

    This can take up to a poll cycle in metric services.

Broker Control

  1. Navigate to the Services UI.

    Configuration -> Broker Control -> Services

  2. Select the service to update configuration, make note of the value in the ID column.

  3. Update configuration as needed (e.g. Change LogLevel to DEBUG) and save.

  4. Open a console to the Unified Assurance server the service is on and navigate to $A1BASEDIR.

  5. Run the following command replacing with the correct value from step 2:

    ./bin/BrokerControl -b reloadappconfig <SERVICEID>
    
  6. If the service LogLevel is set to INFO or DEBUG, verify application reloaded by reviewing the logs for an INFO line containing Configuration Reloaded in [xxx].

    Note:

    This can take up to a poll cycle in metric services.

Best Practices