Removing device and pollers and tenant
search cancel

Removing device and pollers and tenant

book

Article ID: 399098

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

We need to retire a tenant, all of the devices associated with the tenant, and uninstall the data collector from that tenant.

Need to make sure everything is cleaned up.

Environment

 DX NetOps : All Supported Versions

Cause

Tenant no longer needed

Resolution

24.3.8 and older:
first administer the tenant, and then go into Monitored Devices.
  
Use "." to search for devices in tenant. 
Change the per page to highest it can go.
  
Select all and hit Delete over and over until all devices are deleted.

  
Next delete the dc from the DA using rest


Get the dc id from rest GET call (you can use a browser)


http://DA:8581/rest/dcms
   https:DA:8582/rest/dcms


E.G.
<DataCollectionMgrInfoList>
<DataCollectionMgrInfo version="1.0.0">
<ID>6916</ID>
………….
Delete using a REST client or this curl command
curl -kv -u admin -X DELETE http://DA:8581/rest/dcms/ID

(replace admin with your admin user, the command will prompt for password)
(replace ID with the dc id from above)

Then delete tenant in UI.

 ….

….
   
Then you can uninstall the dc.

Uninstall the Data Collectors

.

Additional Information

 There is a defect that causes the DA synch to be very slow after deleting a tenant from the portal gui in 24.3.8 and older versions.

This is fixed in 24.3.9 and so for 24.3.9 and newer versions you can just delete the tenant from the portal without having to remove all devices first, and then uninstall the DC.