Below command to read the FDM running configuration from host 7.0.3 and above, when the managing vCenter is 8.0.2 and above:
/bin/configstorecli config current get -c ha -k fdm_service -g cluster
Below command to read the FDM default configuration from host 7.0.3 and above, when the managing vCenter is 8.0.2 and above:
/bin/configstorecli config default get -c ha -k fdm_service -g cluster
P.S: The file /etc/opt/vmware/fdm/fdm.cfg is non-operative from the running FDM agent perspective and should not be read.
Below command to read the FDM running configuration from host 7.0.0 to 7.0.2, when the managing vCenter is 8.0.2 and above:
/bin/configstorecli config current get -c ha -k fdm -g cluster
Below command to read the FDM default configuration from host 7.0.0 to 7.0.2, when the managing vCenter is 8.0.2 and above:
/bin/configstorecli config default get -c ha -k fdm -g cluster
P.S: This is to read only the customized FDM properties. For reading infrastructure configuration i.e., the non-FDM properties open the file /etc/opt/vmware/fdm/fdm.cfg
The file /etc/opt/vmware/fdm/fdm.cfg is operative from the running FDM agent perspective and can be read by the user.
Below command to update the FDM running configuration from host 7.0.3 and above, when the managing vCenter is 8.0.2 and above. FDM agent be restarted to read the updated configuration:
$cat fdm.json
{
"fdm": {
"mem_reservation_MB": 200
}
}
$/bin/configstorecli config current set -c ha -k fdm_service -g cluster --infile fdm.json
P.S: The file /etc/opt/vmware/fdm/fdm.cfg is non-operative from the running FDM agent perspective and should not be modified.
Below command to update the FDM running configuration from host 7.0.0 to 7.0.2, when the managing vCenter is 8.0.2 and above.
$cat fdm.json
{
"mem_reservation_MB": 200
}
$/bin/configstorecli config current set -c ha -k fdm -g cluster --infile fdm.json
P.S: This is to update only the customized FDM properties. For updating the infrastructure configuration i.e., non-FDM properties modify the file /etc/opt/vmware/fdm/fdm.cfg
The file /etc/opt/vmware/fdm/fdm.cfg is operative from the running FDM agent perspective and can be modified by the user.