How to manually sync NPM topology with the IP source domain
search cancel

How to manually sync NPM topology with the IP source domain

book

Article ID: 315743

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Automatic topology sync is not happening between the NPM domain and the IP domain.  

Environment

SMARTS Network Protocol Manager (NPM) 10.1.x and newer 

Cause

In this case the enableSychronization parameter was set to FALSE.

Resolution

You can use the following command to kick start a NPM (BGP, ISIS, OSPF, EIGRP) domain sync with the underlying source IP (AM, AMPM) domain:
 
./dmctl -s <NPM domain name> invoke GA_Driver::<Sourced AM domain name>-Topology-Driver start

You will need to make sure that you use the correct driver name listed under the GA_Driver class and the correct domain name.   For example, if your source domain is INCHARGE-AMPM and the NPM is a BGP domain (INCHARGE-BGP), then the command would look like:

./dmctl -s INCHARGE-BGP invoke GA_Driver::INCHARGE-AMPM-Topology-Driver start

If you aren't sure of the GA_Driver used, run the following command to verify:

./dmctl -s INCHARGE-BGP getI GA_Driver

If you want to verify if the domain is setup to auto sync, run the following command:

./dmctl -s <NPM domain name> get ICF_TopologyManager::ICF-TopologyManager::enableSynchronization

To disable NPM synchronization, you can do so on the fly by running:

./dmctl -s <NPM domain name> put ICF_TopologyManager::ICF-TopologyManager::enableSynchronization FALSE

Please note:  A restart of the NPM domain does not change this parameter so if you change this parameter to FALSE, you will need to change it back to TRUE, to allow the BGP domain to be able to synchronize the topology and perform the discovery process.


If you want to kick off a discovery manually, run the following:

./dmctl -s <NPM domain name> invoke ICF_TopologyManager::ICF-TopologyManager discoverAll

Otherwise restarting the BGP domain will run the topology sync and discovery process provided that the ICF_TopologyManager::ICF-TopologyManager::enableSynchronization parameter is TRUE 

An Alternative method for turning off topology sychronization would be to update the bpg.conf file by adding the following line:  

ICF_TopologyManager::ICF-TopologyManager {
        enableSynchronization = FALSE
}

Disabling topology synchronization for BGP is not recommended for the long term.

Additional Information