Updating the Bridge configuration

The Bridge runs as a service, however you can run it directly to dynamically update the Bridge configuration.

You can use the imabridge command to update the configuration while the installed Bridge process is running so that the updates are applied immediately.

It is also possible to edit or replace the dynamic configuration file. If this file is modified in the file system while the Bridge is running, the configuration will be reprocessed.
Note: In this case, if there is an error, some of the changes are applied and others are not. Removing an item from the dynamic configuration file does not remove it from configuration because the new configuration only modifies the existing configuration.

The dynamic configuration can also be modified by using the REST API POST /admin/config method.

  1. Create a configuration file that contains the updates that you want to apply. For example, create a file called changes.cfg.
  2. To add modifications to the dynamic configuration file, run the following command: sudo /opt/ibm/imabridge/imabridge -u path/changes.cfgand replace the path variable with the directory in which the configuration file is stored.
    The imabridge command is combined with the -u option and followed by the configuration file that contains the updates. If there are no errors, the existing dynamic configuration file is updated.