Adding Data Source failed Data source is already registered to another Performance Center
search cancel

Adding Data Source failed Data source is already registered to another Performance Center

book

Article ID: 38533

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration

Issue/Introduction

Issue: 
What to do if you get the following error when trying to add a “Data Aggregator” data source to CAPC:
“Adding Data Source failed
Data source is already registered to another Performance Center”
This happened  when I uninstalled and reinstalled CAPC without removing the data sources first.
Environment:  
IM 2.5
Linux 6
 
Workaround:
The following details how to update the data repository using the Google Rest Client.
• Download the Google Rest Client
http://code.google.com/p/rest-client/downloads/list
I used the 3.0 client.
 

<Please see attached file for image>

one.png
 
Once the client is loaded, Select Tools/Options/Etc. and make sure all three boxes are selected.

<Please see attached file for image>

two.jpg
 
In the URL Field enter the following URL:
http://<dataaggretor name or IP>:8581/rest/dataaggregator/
 

<Please see attached file for image>

three.png
Under Method tab, select Get, and at the bottom, select Body and click the   to run the Get.  You should see output in the body such as this:
To continue, you will need the value that is in the <ID>#</ID> field.  In this case it is “4”.
 

<Please see attached file for image>

4.png
 
Go to the Method tab and change to “Post”.
 

<Please see attached file for image>

5.png
 
Next, click the “Body” tab near the top of the client.
 

<Please see attached file for image>

6.png
 
Select “String Body” from the list.
 

<Please see attached file for image>

7.png

Select Edit Content Type and Character Set Button
 

<Please see attached file for image>

8.png
Make sure that “application/xml” and UTF-8 are selected.
 

<Please see attached file for image>

9.png

Change back to the “Body” tab.
 

<Please see attached file for image>

10.png
 
Copy and paste the following XML lines into the body section (Ctrl-C and Ctrl-V work):
<DataAggregatorInfo version="1.0.0">
  <NpcSyncIncrementTime>0</NpcSyncIncrementTime>
  <NpcSyncBaseTime>0</NpcSyncBaseTime>
  <NpcID></NpcID>
  <NpcPushSyncIncrementTime>0</NpcPushSyncIncrementTime>
  <NpcPushSyncBaseTime>0</NpcPushSyncBaseTime>
  <NpcHostName>""</NpcHostName>
  <NpcConnectionUID>""</NpcConnectionUID>
</DataAggregatorInfo>
 

<Please see attached file for image>

11.png

Change the URL to include the “ID #” that was located earlier.  In this case it was “4”. Your URL should now look something like this:
http://<dataaggretor name or IP>:8581/rest/dataaggregator/4
Change back to the “Method” tab.
Change the Method to “Put”.
Click the   button.

<Please see attached file for image>

12.png

 

This will update the repository and remove any information about the previous Data Collector.  You can go back to:
http://<dataaggretor name or IP>:8581/rest/dataaggregator
and run a Get method and your XML should be blank now. 
You can now add your data collector the CAPC again.

Environment

Release: IMDAGG99000-2.6-Infrastructure Management-Data Aggregator
Component:

Attachments

1558723408917000038533_sktwi1f5rjvs16wug.png get_app
1558723406733000038533_sktwi1f5rjvs16wuf.png get_app
1558723404860000038533_sktwi1f5rjvs16wue.png get_app
1558723402983000038533_sktwi1f5rjvs16wud.png get_app
1558723401012000038533_sktwi1f5rjvs16wuc.png get_app
1558723399257000038533_sktwi1f5rjvs16wub.png get_app
1558723397411000038533_sktwi1f5rjvs16wua.png get_app
1558723395486000038533_sktwi1f5rjvs16wu9.png get_app
1558723393577000038533_sktwi1f5rjvs16wu8.png get_app
1558723391699000038533_sktwi1f5rjvs16wu7.png get_app
1558723389827000038533_sktwi1f5rjvs16wu6.jpeg get_app
1558723387627000038533_sktwi1f5rjvs16wu5.png get_app