Can't reassign a data collector to another IP Domain

Document ID:  TEC1772303
Last Modified Date:  06/16/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details


  • CA Performance Management


  • CA Performance Management:Release:3.1
  • CA Performance Management:Release:3.0



When reassigning a data collector the following error is seen: 

This DCM already has devices assigned to it ‘2’. - httpResponseCode: 400

When looking at the data collector in the CAPC user interface, there does not appear to be any devices associated to the collector

Any CAPM environment

Retired devices are associated to the collector


To resolve the issue please do the following:

1. Create file /tmp/devices.xml with following syntax

<FilterSelect xmlns:xsi="" xsi:noNamespaceSchemaLocation="filter.xsd">


<Item.MDRItemID type="EQUAL">Data Collector ID</Item.MDRItemID>


<Select use="exclude" isa="exclude">

<Item use="exclude">

<Name use="include" />


<Device use="exclude">

<Latitude use="include" />

<LocationDesc use="include" />

<Longitude use="include" />

<HostName use="include" />

<PrimaryIPAddress use="include" />

<ContactStatus use="include" />

<DiscProfileID use="include" />


<Lifecycle use="include">




2. To run run it use the following command:

curl -s -X POST -d @/tmp/dc.xml http://DAHost:8581/rest/devices/filtered --header "Content-Type: application/xml" | xmllint --format - > devices.log

3. Based on the output in devices.log, you can either delete or reassigned the devices to other collectors.  Once complete you should be able to reassign the data collector to another IP Domain without issue


Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255


Not what you were looking for?

Search Again >

Product Information

Support by Product >


Join a Community >

Chat with CA

Just give us some brief information and we'll connect you to the right CA ExpertCA sales representative.

Our hours of availability are 8AM - 5PM CST.

All Fields Required


We're matching your request.

Unfortunately, we can't connect you to an agent. If you are not automatically redirected please click here.

  • {{}} will be helping you today.

    View Profile

  • Transfered to {{}}

    {{}} joined the conversation

    {{}} left the conversation

  • Your chat with {{$storage.chatSession.messages[$index - 1]}} has ended.
    Thank you for your interest in CA.

    Rate Your Chat Experience.


agent is typing