There is a behavior change for Edge Management Plane (MP) intents. If the user updates edge node settings directly in the Edge CLI or via vCenter, those changes are not reflected in the Edge Node's MP intent. In such cases, the user will be alerted with an Edge node mismatch alarm. This alarm indicates that an edge node configuration has been changed directly in the Edge CLI or in vCenter. The "Configuration State" edge node in the NSX-T/NSX UI will also be updated to reflect this mismatch.
VMware NSX 4.2
An alarm will be raised when the Edge Node CLI and Edge Node MP intent parameters are found to differ. If any one of the below Edge Node Settings fields is changed directly through Edge CLI, then this alarm will be raised.
An alarm will be raised when the Edge node's vSphere parameters within vCenter and Edge node MP intent are found to be different. If a user changes any one of below Edge configurations inside vSphere through vCenter, then this alarm will be raised.
An alarm will be raised when the Edge node vSphere parameters in vCenter and Edge node CLI parameters are found to be different than Edge Node MP intent. If a user changes edge fields from both "Edge node settings" and "Edge VM vSphere settings" directly on edge CLI and VCenter, respectively, then this alarm will be raised.
An alarm will be raised when a user uses vMotion to move Edge VMs. The datastore ("Storage Id") and/or compute cluster id ("Compute Id") parameters of the Edge Node in vSphere will be changed when the Edge VM is moved. Thus, when the Edge node vSphere settings parameters in vCenter and the Edge Node MP intent differ, an alarm will be raised. Thus, if any (or all) of the following fields are changed, then this alarm is raised.
If other than "Compute Id" and "Storage Id" some more "Edge VM vSphere settings" or "Edge node settings" fields are changed, then "Edge VM vSphere Settings Mismatch" Alarm or "Edge Node Settings and vSphere Settings are changed" Alarm will be raised based on the fields that are changed.
This issue is resolved in VMware NSX 4.2.1, which is available from Broadcom downloads.
NSX 4.2.1 introduced an Auto Refresh feature: the NSX Manager automatically updates the Edge, intent, and configuration to match the realized configuration. No mismatch alarm will be generated.
Note: Upgrades from NSX 4.2.0 to 4.2.1.x have a known issue in which the Auto Refresh feature is not enabled, and mismatch alarms can still be generated.
In this case the feature must be enabled via API.
Check if the feature is enabled:GET https://{manager-ip}/policy/api/v1/system-config?key=auto_refresh_edge_transport_nodes
Enable the feature:PATCH https://{manager-ip}/policy/api/v1/system-config{ "keyValuePairs": [ { "key": "auto_refresh_edge_transport_nodes", "value": "true" } ]}
In certain edge cases, the alarm might not be resolved by the above-mentioned Approach 1 or Approach 2. In such cases, follow the steps mentioned below to resolve the alarm manually.
{
"node_deployment_state": {
"state": "EDGE_VM_VSPHERE_SETTINGS_MISMATCH_RESOLVE",
"details": [
{
"sub_system_id": "EDGE_TRANSPORT_NODE_MISMATCH_ALARMS",
"state": "EDGE_VM_VSPHERE_SETTINGS_MISMATCH_RESOLVE",
"failure_message": " configuration on vSphere : {\"CPU Reservation in shares\":\"NORMAL_PRIORITY\",\"Storage Id\":\"datastore-14\"}, intent vSphere configuration :{\"CPU Reservation in shares\":\"LOW_PRIORITY\",\"Storage Id\":\"datastore-50\"}",
"failure_code": 16087
}
],
"failure_message": "",
"failure_code": 0
}
}
{
"node_deployment_state": {
"state": "NODE_READY",
"details": []
}
}
{
"node_deployment_state": {
"state": "NODE_READY",
"details": []
}
}
Clicking RESOLVE button for the Alarm with Source "vSphere/Edge Appliance" gives following error.Error: [Fabric] Duplicate syslog servercom.vmware.nsx.management.policy.edge.model.SyslogConfiguration@879e5722 configured in syslog configuration.(Error code: 16074)
Please refer KB to fix this issue Unable to resolve Configuration State Mismatch after syslog server is configured in NSX Edge CLI
Note: "Edge Node MP intent" term refers to Edge Transport Node configuration data which is present in NSX-T Manager Database. We get same data as payload when we do a GET call for this edge transport node e.g. GET https://<manager-ip>/api/v1/transport-nodes/<edge-tn-id>
From NSX 4.1.1, UPT mode may be edited even when Edge maintenance mode is enabled.
As part of UPT mode realization, maintenance mode is toggled on the Edge VM.
If user edits UPT mode on edge with maintenance mode enabled, then user must disable maintenance mode, before UPT realization completes. Mismatch alarm is raised after partial UPT realization when Edge has maintenance mode enabled. The alarm will resolve using NSX Value, when User disables maintenance mode on edge.