Common Services and device removal

Answered Question
Sep 16th, 2010
User Badges:

Hello group,


Just joined our new Ciscoworks server to our ACS server per the documentation and everything went fine except for the device import from LMS to ACS. Anyway, I have gone through and added a bunch of our devices to ACS manually and now they show up in CS, RME, etc. However, there is now a disproportionate amount of devices that are not in ACS versus devices in ACS.


My question is simply, can I remove those devices that are listed as "Not configured in ACS"? I tried to use the dcrcli command from the LMS server, but I get an error resembling a permission denied. Is a purge of devices possible?


Many thanks in advance,


AJ Schroeder

Correct Answer by Joe Clarke about 6 years 6 months ago

The only way to purge devices in DCR not in ACS is to temporarily disable ACS integration.  Then clean up DCR, then re-enable ACS integration.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
AJ Schroeder Fri, 09/17/2010 - 12:58
User Badges:

Here is the error that I get when trying to remove devices from the dcrcli command (this is with the local admin account):


Exception in thread "main" com.cisco.nm.dcr.DCRException: Authorization Failed
        at com.cisco.nm.dcr.LocalDCR.getMatchingDevices(Unknown Source)
        at com.cisco.nm.dcr.DCRProxy.getMatchingDevices_DIRECT(Unknown Source)
        at com.cisco.nm.dcr.DCRProxy.getMatchingDevices(Unknown Source)
        at com.cisco.nm.dcr.DCRcli.performDel(Unknown Source)
        at com.cisco.nm.dcr.DCRcli.start(Unknown Source)
        at com.cisco.nm.dcr.DCRcli.main(Unknown Source)


I also tried with the system identity account and got rejected as well:


Error in Delete Device: User is not authorized to perform the task on device.


Hope this helps,


AJ Schroeder

Correct Answer
Joe Clarke Sat, 09/18/2010 - 23:31
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

The only way to purge devices in DCR not in ACS is to temporarily disable ACS integration.  Then clean up DCR, then re-enable ACS integration.

AJ Schroeder Mon, 09/20/2010 - 12:51
User Badges:

That worked as you described, now I have a database that is "in sync" with the ACS database.


Thank you!


AJ Schroeder

Actions

This Discussion