Beginning with NSX-T 3.2.0 version and newer, there is behavior change for Edge Management Plane (MP) intent. If the user directly updates some edge node settings in Edge CLI or via VCenter, then these changes are not directly updated on Edge Node's MP intent. In such a case the user will be alerted with Edge node mismatch alarm. This alarm tells user that some edge node configuration is has been changed directly on the Edge CLI OR in VCenter. Edge node "Configuration State" in NSX-T/NSX UI will also be updated with this mismatch. There are 4 types of edge node mismatch alarms as mentioned below.
Alarm will be raised when the Edge node's parameters in Edge Node CLI and Edge Node MP intent are found to be different. If any one of below Edge Node Settings field is changed directly through Edge CLI, then this alarm will be raised.
Edge node settings →
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.
Edge VM vSphere settings →
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 user uses vMotion to move Edge VMs. The datastore ("Storage Id") and/or compute cluster id ("Compute Id") parameters of Edge Node in vSphere will be changed when Edge VM is moved. Thus, when these Edge node vSphere settings parameters on VCenter and Edge Node MP intent are found to be different, then alarm will be raised. Thus, if any (or all) of below fields is 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 fields that are changed.
VMware NSX
There are 2 ways to resolve Edge mismatch alarms.
In certain corner cases alarm might not get resolved with above mentioned Approach 1 or Approach 2. In such cases follow below mentioned steps to resolve alarm manually.
Case 1: Alarm is not resolved from Edge-MP vertical side.
{ "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": [] } }
Case 2: Alarm is resolved from Edge-MP vertical side, but not resolved from Alarm Framework side.
{ "node_deployment_state": { "state": "NODE_READY", "details": [] } }
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.