Loading and saving configurations

You can use the SQL interactive interface to load and save gateway configurations while the gateway is running.

About this task

You can use the saved configuration file for other gateways.

Procedure

  1. To stop any running readers and writers:
    >1 STOP;
    >2 go
  2. To discard the current configuration:
    >1 DUMP CONFIG;
    >2 go

    The DUMP CONFIG command will not work if any readers or writers are running, or if the configuration has been changed interactively. To determine if the configuration has been changed interactively, use the SHOW SYSTEM command. You can use the FORCE option to force the current configuration to be discarded.

  3. To load a new configuration:
    >1 LOAD CONFIG FROM 'file_name';
    >2 go

    where file_name is the path to another configuration file.

  4. To save the current configuration:
    >1 SAVE CONFIG TO 'file_name';
    >2 go

    where file_name is name and path for the new configuration file.