The Dynamic Discovery is the discovery of 5G core topology in ESM that happens out of the preconfigured discovery cycle. The discovery in ESM happens periodically. The period of regular discovery in ESM is configurable and typically it is for twenty four hours. However, the topology of 5G core can change significantly with in short span of time in 5G deployment. To discover the topology, ESM must trigger the discovery based on certain criterion. For example, failure of Kubernetes cluster node, VM, pod, and so on.

The prerequisites for Dynamic Discovery is as follows:
  • Verify that configuration of Kubernetes discovery using VMware Aria Operations is done.
  • Verify that Kubernetes elements are discovered and monitored.
  • Verify that IsCNFDynamicDiscovery is True in ESM_Manager.
  • The IsCNFDynamicDiscovery flag needs to be updated to True in the ESM.import file in the following path <Base-Dir of ESM Install>/smarts/conf/esm. Post that ESM Server needs to be restarted.
    Note: By default IsCNFDynamicDiscovery is set to False.
Triggering point for Dynamic Discovery of Kubernetes topology is as follows:
  • If any one of KubernetesMaster, KubernetesWorker, KubernetesPod, Container, or KubernetesService attribute IsUnHealthy and changed to True.
  • If the difference between current time and lastDynamicDiscoveryFinishedToSec is more than performDynamicDiscoveryThreshold.
The following table lists the attributes that control Dynamic Discovery:
Attribute Name Class Name Default Value Description
IsCNFDynamicDiscovery ESM_Manager False This setting is used to enable and disable Dynamic Discovery.

After the attribute is changed, ESM server must be restarted for the change to be effective.

DynamicDiscoveryThreshold VMwareAriaOperationsServiceThresholdSetting Twenty Minutes This setting applies to VMware Aria Operations object.

The value of DynamicDiscoveryThreshold attribute is in minutes that must pass before Server Manager performs Dynamic Discovery. The value of the atttribute can be modified using VMware Aria Operations Thresholds.

You can find VMware Aria Operations Thresholds in Thresholds tab in Polling & Threshold window of ESM Domain Manager. Changing this value requires reconfiguring the Domain Manager.

RemoveK8SDeletedElement ESM_Manager True If the value is True, remove the dysfunctional Kubernetes element during discovery.
Note: New addition of Kuberenetes elements does not trigger Dynamic Discovery.