get-persist-parameters (get-persist)
Some Dynamic parameter values are persistently stored by parman (i.e., property paramPersistInTool = true). This command displays the current value and the last persisted value of the parameter.
A mismatch between the current value and last persisted value can occur if the component is restarted and its value dynamically changes outside the purview of parman. Some parameter values are not stored persistently by JetStream DR and these parameter values fall back to default values after a reboot. parman provides a mechanism to store these parameter values persistently so the user will be able to see the last value of a parameter before the system was restarted.
[admin]$ python3 parman.py get-persist-parameters -h
usage: parman.py get-persist-parameters [-h] -c {IOF,DRVA,Domain,RocVA} [-n COMPNAME] [-p PARAMNAME]
optional arguments:
-h, --help
Show this help message and exit
-c {IOF,DRVA,Domain,RocVA}, --component-type {IOF,DRVA,Domain,RocVA}
Type of component
-n COMPNAME, --component-name COMPNAME
Name of the component. E.g. If --component-type is DRVA, then name of specific DRVA
-p PARAMNAME, --parameter-name PARAMNAME
Name of the parameter
[admin]$
The inputs are:
-n COMPNAME
Name of the component. E.g. If --component-type is DRVA, then name of specific DRVA
-p PARAMNAME
Name of the parameter whose current and last persisted value has to be fetched
NOTE: get-persist-parameters only displays current and persisted values. Changing a parameter back to its persisted value must be done using the set-parameter command.