Attempting to deploy a new NSX-T Edge Cluster for a Workload Domain failing with an Exception during the Form Factor Check
domainmanager.log:
2024-09-17T12:45:38.274+0000 ERROR [vcf_dm,66e97987a9fdf9623704a3fbbdcefcf1,d5c0] [c.v.v.n.c.v.v.NsxTEdgeClusterValidator,dm-exec-7] Exception during Form factor check
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Invalid parameter: Some hosts in cluster(s) CLUSTERID do not support 36 GB of RAM for edge form-factor LARGE
The ESXi hosts where the Edge cluster is being deployed do not have enough RAM to satisfy the requirements for the Edge cluster.
Checking the ESXi hosts in the vCenter UI they are configured with higher RAM value but the SDDC Manager DB sees a different value in the hosts table.
The ESXi hosts in question were deployed with only 36GBs of RAM initially but then increated to 256GBs but the new value never got updated in the SDDC Manager DB
In the DB "memoryInfo":{"totalMemoryMB":36862.94921875,"usedMemoryMB":2036.0} whereas it should be "memoryInfo":{"totalMemoryMB":262,142.94,"usedMemoryMB":2036.0}
Initially you need to check the MemoryInfo under Host_attributes in the hosts table in the SDDC Manager DB. Compare the value here against what the hosts are currently configured with.
Should the values be different you need to Manually update the value in the DB.
Ensure a Snapshot is taken before carrying out these steps as you are making manual changes to the DB.
psql -h localhost -U postgres -d platform or /usr/pgsql/13/bin/psql -h localhost -U postgres -d platform
Select * from host where hostname='HostFQDN';