Configuring service-specific settings


A critical capability of Hashicorp Consul is to manage service-specific configurations using a key/value store for node and core instances. You can use this store to check, modify, delete, and manage service-specific configurations. 

The Key/Value functionality serves as a dynamic configuration repository for users to check the current settings for a service and make adjustments. These configurations include a wide range of parameters that influence the behavior and performance of Edge services. By leveraging Consul's Key/Value store, users can ensure that services are optimized to meet specific requirements, making it an essential tool for customizing BMC Helix Edge to meet the unique needs of node and core instances.

Before you begin

Obtain the token for the BMC Helix Edge node or core; see Retrieving tokens for BMC Helix Edge node and core 

To configure service-specific settings

Any incorrect modifications or deletions to the service configuration can potentially lead to service failure. Exercise extreme caution when making such changes.

  1. On the BMC Helix Edge page, select Service health and configuration > Service Configuration.
  2. Each key represents a configuration or piece of data.
  3. On the top-left of the Consul page, choose a node or core instance from the list. 
  4. To check or modify service-specific configurations, navigate the key hierarchy to find the relevant service or configuration.

    To change the name of this node, go to Key/Value > edgex > appservices > 2.0 > app-data-enrichment > ApplicationSettings > EdgeNodeName.
    To change from INFO to DEBUG for debug level logging of this service, go to Key/Value > edgex > appservices > 2.0 > app-data-enrichment > Writable > LogLevel.
    Certain configuration changes might not become effective until the docker container or pod for the respective service is restarted. For instance, modifications outside the writable scope generally necessitate a service restart, with a few exceptions such as app-hedge-export or ExportConfig.

  5. Click on a parameter key to modify a specific configuration parameter for the selected service.
    Consul displays a page with values and an option to edit the value associated with the parameter key.

    For example, click HealthCheckInterval.

  6. In the Editing view, modify the value of the configuration.

    Example

    For example, if HealthCheckInterval is an interval, you might update the interval from 10 seconds to 15.

  7. Click Save.
  8. Consul stores the new configuration data, which your services can access.
  9. (Optional) To create new keys to store additional configurations or data for your services:
    1. Navigate to the location where you want to add a new key.
    2. Click Create and specify the key name and value.

To delete keys or values

  1. Navigate to the location to delete a key or value.
  2. Select Actions and click Delete.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*