Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
 $ mzsh topo set --no-activation
Excerpt
Tip

Hint!

The options --dry-run and --verbose are useful to learn the mzsh topo syntax. When you have edited the configuration manually, use the following command, to view the corresponding edits in a scripted syntax:

Code Block
languagetext
$ mzsh topo activate --dry-run --verbose

Example output from activation with verbose option:

Code Block
$ mzsh topo activate -v --dry-run
mzsh topo set topo://container:main1/pico:ec1/val:config.properties.ec.httpd.port 9096  # (was: 9092)
Dry-run: Validation successful
Dry-run: Stopping without performing activation
Dry-run: Active registry not changed

You can then restore the master registry with the the command mzsh topo reset.

Restart the picos to apply the changes.

Note

Caution!

Changes to the STR are not applied on running pico instances or services. For instance, if you have updated the properties of the Platform and an EC, both must be restarted after activation.

Example of how to use mzsh shutdown and startup is done to apply changes after an mzsh topo activate of ec5:

Code Block
$ mzsh shutdown ec5
$ mzsh startup ec5
Note

Note!

The sorting and layout of the configuration files may change when it is updated both using manual editing and the commands. That means that the exact ordering of keys, and layout of the file could change. However: this will not affect how the system interprets the configuration at runtime. It is not supported to edit the configuration files using command line utilities (such as sed or awk), all scripted changes must be done via the mzsh topo command, to minimize the risk of invalid assumptions regarding the exact layout of the configuration files.

For further information about the various sub-commands that are available in the mzsh topo command, see topo.

For further information about how to manage pico- and service configurations, see Managing Picos with Topo and Managing Service Configurations.

Insert excerpt
MD82:2.1.15 topoMD82:2.1.15
topo
nopaneltrue

Scroll pagebreak