Adding Data Source Failed: "Data source is already registered to another DX Netops instance"
search cancel

Adding Data Source Failed: "Data source is already registered to another DX Netops instance"

book

Article ID: 138114

calendar_today

Updated On:

Products

CA Infrastructure Management DX NetOps CA Performance Management - Usage and Administration

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:

  1. 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>
  2. 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
  3. 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.

Example of a REST Client set up for the PUT with a 200(OK) response where the DA ID is 8 for the URL.

If using a curl statement on the Data Aggregator CLI via a terminal window, use the following steps:

  1. Run this to obtain the DA ID needed for the next step. Note the NpcID value that we're going to remove.
    1. curl -kv -u admin -H 'Content-type: application/xml' -X GET 'http://<DA>:8581/rest/dataaggregator
  2. Run this replacing <ID> with the DA ID from step 1.
    1. curl -kv -u admin -H 'Content-type: application/xml' -X PUT -d '<DataAggregatorInfo version="1.0.0"><NpcID></NpcID></DataAggregatorInfo>' http://<DA>:8581/rest/dataaggregator/<ID>
  3. Run this to confirm the DA no longer has an NpcID value, that it's now empty/blank/unset.
    1. 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.