Adding Data Source Failed: "Data source is already registered to another DX Netops instance"
searchcancel
Adding Data Source Failed: "Data source is already registered to another DX Netops instance"
book
Article ID: 138114
calendar_today
Updated On: 07-03-2024
Products
CA Infrastructure ManagementNetwork ObservabilityCA Performance Management
Issue/Introduction
When trying to add a Data Aggregator Data Source to Performance Management getting an error:
"Adding Data Source failed. Data source is already registered to another Performance Center"
Or
"Adding data source failed
Data source is already registered to another DX Netops instance"
Environment
All supported DX NetOps Performance Management releases
Cause
This happened after having uninstalled and reinstalled NetOps Portal, without removing the data aggregator data source first.
Resolution
We need to blank out the NpcID value set on the Data Aggregator. Can do this via REST or via CURL on the Data Aggregator CLI in a terminal window.
If using a REST API client:
Issue the following XML body to the URL http://<DA>:8581/rest/dataaggregator/<ID> endpoint in a PUT request via Rest Client:
<DataAggregatorInfo version="1.0.0">
<NpcID></NpcID>
</DataAggregatorInfo>
The <ID> for the DA in the URL can be found running a GET for this URL. Can also run that URL in a browser tab to see the info.
http://<DA>:8581/rest/dataaggregator
Can also use that URL in browser or via REST API GET call after issueing the PUT statement to confirm the NpcID value is blank. The PUT statement should return a 200(OK) status message.
If using a curl statement on the Data Aggregator CLI via a terminal window, use the following steps:
Run this to obtain the DA ID needed for the next step. Note the NpcID value that we're going to remove.
curl -kv -u admin -H 'Content-type: application/xml' -X GET 'http://<DA>:8581/rest/dataaggregator
Run this replacing <ID> with the DA ID from step 1.
Run this to confirm the DA no longer has an NpcID value, that it's now empty/blank/unset.
curl -kv -u admin -H 'Content-type: application/xml' -X GET 'http://<DA>:8581/rest/dataaggregator
Additional Information
Note that if the NetOps Portal was reinstalled without any backup loaded from the old system, many things will be missing and require recreation. The most often used examples of things needing rebuild will be Users/Roles, Groups, custom Reports (Dashboards, Context Pages, On-Demand Reports), Scheduled Reports, etc.