Sometimes, there are issues deleting elements from the inventory which was originally synced from CA Spectrum for one or more tenants. This may occur due to network problems or server down when a device was being updated and disrupting the synchronisation between the data source and NetOps Portal. In these situations, to delete a device requires investigation in the dst_device table of NetOps Portal's MySQL (netqosportal) DB to check the data source from which it came.
How do I delete a device from Performance Management?
If you delete a device from the Data Aggregator but it still shows up in the inventory you can do the following:
1. On the NetOps Portal machine, run;
If you're getting Access Denied for user root, then follow the instructions in the docops;
2. Run the following command:
For example;
The output will look something like this:
3. Based on this we know the device was added to Performance Management through the Spectrum / Performance Management Integration. To get rid of the device in Spectrum you would need to either delete it from Spectrum or remove it from the appropriate "IP Domain" collection from within Spectrum. Then do a resynch of the data source. This should remove the device from Performance Management
What is outlined above is simply an example for Spectrum as the data source. Similar rules would apply if the consolename (data source) was ADA, NFA etc. The data source noted is the source of truth for where a device comes from, so it would need to be removed from the data source before we see it disappear from Performance Management