Cellframe Node Configuration contains information about global node settings and is divided into three parts:
- General Config — /opt/cellframe-node/etc/cellframe-node.cfg
- Network Config — /opt/cellframe-node/etc/network/NetName.cfg
- 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
andensure
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:
- Chain configuration files are initially installed to
/etc
.- Subsequently,
/cellframe-node/share/default.setup
is invoked, executing the script within.- The script creates configuration files from templates if they do not exist. If they do, this step is skipped.
- 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