Cellframe Node Configuration contains information about global node settings and is divided into three parts:

  1. General Config — /opt/cellframe-node/etc/cellframe-node.cfg
  2. Network Config — /opt/cellframe-node/etc/network/NetName.cfg
  3. Chain Config — /opt/cellframe-node/etc/network/netname/chainname.cfg

Node installation above already installed node

Note

Such installation can cause some configurations modification

Chain configurations are always updated upon any node shutdown, and are sourced from the installation package. All other configurations are set according to the script /cellframe-node/share/default.setup.

This setup includes default and ensure directives:

  • default does not modify a parameter if it has been previously set by the user.
  • ensure modifies a parameter according to the script.

The procedure is as follows:

  1. Chain configuration files are initially installed to /etc.
  2. Subsequently, /cellframe-node/share/default.setup is invoked, executing the script within.
  3. The script creates configuration files from templates if they do not exist. If they do, this step is skipped.
  4. The script then iterates over specific parameters for which the ensure directive can be applied.

This process is consistent across all operating systems, with differences accounted for within the setup script.

Link to original