Using parman
Two files are used for the operation of parman: paman.py and parman_config.json.
parman.py is the main executable and calls the input file parman_config.json to derive values for every supported parameter. parman sub-commands are used to view, set, and update parameter values. When a parameter of a component is “initialized” using parman, its properties are retrieved from its definition specified within the parman_config.json file. During normal operation, parameter values are set by the JetStream DR system itself.
All parameters can be viewed, but only some can be directly modified by the user. Parameters are classified as Hard-coded (read-only), Dynamic (can be changed at run time) and Static (can be changed but requires a component restart).
- Values of dynamic parameters are changed in a single step with parman.py using the set-parameter sub-command.
- Values of static parameters require two steps to change parameter values:
- Execute parman.py using the sub-command set-parameter to specify a new parameter value.
- Repeat this step as necessary to set values for multiple parameters.
- Execute parman.py using the sub-command update-parameters to commit all the changed parameter values and restart the component, making the change(s) take effect.
NOTE: Only one component type can be modified at a time.