The goal of the ESXi Shell tool configstorecli, introduced in ESXi 7.0 Update 1, is to manage all configurations for an ESXi host centrally, instead of using different methods and a variety of configuration files.
GET (read) the FDM running configuration from host 7.0.3 and above, when the managing vCenter is 8.0.2 and above:
esx# /bin/configstorecli config current get -c ha -k fdm_service -g cluster
GET (read) the FDM default configuration from host 7.0.3 and above, when the managing vCenter is 8.0.2 and above:
esx# /bin/configstorecli config default get -c ha -k fdm_service -g cluster
Note: The file '/etc/opt/vmware/fdm/fdm.cfg' is non-operative from the running FDM agent perspective and should not be read.
GET (read) the FDM running configuration from host 7.0.0 to 7.0.2, when the managing vCenter is 8.0.2 and above:
esx# /bin/configstorecli config current get -c ha -k fdm -g cluster
GET (read) the FDM default configuration from host 7.0.0 to 7.0.2, when the managing vCenter is 8.0.2 and above:
esx# /bin/configstorecli config default get -c ha -k fdm -g cluster
Note: This is to GET (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'.
Note: 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:
esx# $cat fdm.json
{
"fdm": {
"mem_reservation_MB": 200
}
}
esx# $/bin/configstorecli config current set -c ha -k fdm_service -g cluster -infile fdm.json
Note: 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.
esx# $cat fdm.json
{
"mem_reservation_MB": 200
}
esx# $/bin/configstorecli config current set -c ha -k fdm -g cluster -infile fdm.json
Note: 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'.
Note: The file '/etc/opt/vmware/fdm/fdm.cfg' is operative from the running FDM agent perspective and can be modified by the user.
You can modify ESXi configuration files in the ESXi Configuration Store (ConfigStore) by using the /bin/configstorecli tool.