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

Products

  • CA Performance Management

Releases

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

Components

  • IM DATA AGGREGATOR:IMAGGR
Issue:

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

Environment:
Any CAPM environment
Cause:

Retired devices are associated to the collector

Resolution:

To resolve the issue please do the following:

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

<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">

<Filter>

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

</Filter>

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

<Item use="exclude">

<Name use="include" />

</Item>

<Device use="exclude">

<Latitude use="include" />

<LocationDesc use="include" />

<Longitude use="include" />

<HostName use="include" />

<PrimaryIPAddress use="include" />

<ContactStatus use="include" />

<DiscProfileID use="include" />

</Device>

<Lifecycle use="include">

</Lifecycle>

</Select>

</FilterSelect>

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

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

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

connecting

We're matching your request.

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

  • {{message.agentProfile.name}} will be helping you today.

    View Profile


  • Transfered to {{message.agentProfile.name}}

    {{message.agentProfile.name}} joined the conversation

    {{message.agentProfile.name}} left the conversation

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


    Rate Your Chat Experience.

    {{chat.statusMsg}}

agent is typing