Hey Richard -
I just checked and you’re totally right…We don’t document how to delete devices. I’ll be sure to raise that to our technical writing team. In the meantime, I’ve got some steps here that may help you.
I posted this over on our NetBrain Customer Success Center Knowledge Base as well:
https://community.netbraintech.com/articles/knowledgebase/Delete-Devices-from-the-Domain-12-10-2020
You may want to look there for some helpful tips as well. Let me know how it works out for you!
-Jeff
Delete Devices from the Domain
Multiple options are available to a NetBrain administrator to manually delete devices from their NetBrain domain. NetBrain provides no automatic mechanism to remove devices as they are decommissioned from your network. NetBrain highly recommends that device deletion in the NetBrain platform should be completed as part of your standard device decommissioning process.
In This Article
- NetBrain User Account Pre-Requisites
- Delete Devices from the Site Pane
- Delete Devices Using Device Group
- Delete Devices from Domain Management (Fine Tune)
- Delete Devices from Domain Management (Tune Live Access)
- Manually Execute a System Benchmark
CAUTION: All delete operations are permanent and cannot be undone once initiated. All historical information associated with the device will be deleted from NetBrain’s database as well.
NetBrain User Account Pre-Requisites
NetBrain requires that a user account with the following privilege level be available in the NetBrain system to complete the steps defined in this article.
User Account | NetBrain Domain Privilege Level (Minimum) |
Standard User | Domain Management |
Delete Devices Using the Site Manager
-
Log into the NetBrain End User Interface with an account that has Domain Management privileges.
http://<NetBrain IP Address or Hostname>
- From the main user interface desktop, in the NetBrain Taskbar, click “Site”.
- In the Site Manager interface, identify the device(s) to be delete
NetBrain Tip: Make sure to use the Search capability within the Site Manager interface to quickly locate devices by their Hostname, Vendor, Model, or IP address.
- Right-Click on the desired device(s), then click “Remove from Domain” to delete the device(s).
Delete Devices Using a Custom Device Group
- Log into the NetBrain End User Interface with an account that has Domain Management privileges.
http://<NetBrain IP Address or Hostname>
- From the main user interface desktop, navigate to the NetBrain Device Group Manager
Start Menu > Network Resources > Device Group
- Right-Click “Public” folder, then click “New Device Group”.
- In the Device Group Properties dialog, complete as follows:
Field / Setting | Value |
Name | TO_BE_DELETED |
Description | <Leave Blank> |
Devices and Interfaces | Click “+Dynamic Search”, then “Dynamic Search Device” In the Dynamic Search Device dialog, customize the Device Criteria to match the characteristics of the devices to be deleted. Click “Search”, then “OK”. |
- Validate that Devices and Interfaces is populated with the correct devices to be deleted, then click “OK”.
- In the Device Group Manager, confirm that the TO_BE_DELETED device group exists with the devices that are expected in the Device Group.
- Right-Click on the newly created device group (or a pre-existing one), then click “Delete”
- In the Confirmation dialog, select Remove all devices in this Device Group from current Domain, then click “Yes”.
Delete Devices from Fine Tune Manager
- Log into the NetBrain End User Interface with an account that has Domain Management privileges.
http://<NetBrain IP Address or Hostname>
- From the main user interface desktop, navigate to the Quick Access Toolbar, click on the Domain Name
- In the Domain Selection dialog, click “Manage Domain”.
- In the Domain Management user interface, click “Fine Tune”.
- NetBrain will allow deletion of devices from the following sub-categories in the “Live Access”
- Discovered by SNMP Only
- Missed Devices
- Unclassified Network Devices
NetBrain Tip: Make sure to use the Search capability within each Live Access sub-category to quickly locate devices by their Hostname, Vendor, Model, or IP address.
- Right-Click on the desired devices, then click “Remove from Domain”.
- In the Confirmation dialog, click “Yes”.
Delete Devices from Tune Live Access
- Log into the NetBrain End User Interface with an account that has Domain Management privileges.
http://<NetBrain IP Address or Hostname>
- From the main user interface desktop, navigate to the Quick Access Toolbar, click on the Domain Name.
- In the Domain Selection dialog, click “Manage Domain”.
- In the Domain Management user interface, navigate to the Quick Access Toolbar, then click on Operations > Advanced Tools > Tune Live Access.
- In the Tune Live Access interface, right-click on the desired devices, then click “Remove from Domain”.
NetBrain Tip: Make sure to use the Search capability within each Live Access sub-category to quickly locate devices by their Hostname or IP address.
- In the Confirmation dialog, click “Yes”.
Manually Execute the System Benchmark Task
Following device removal, the NetBrain administrator should consider manually executing the System Benchmark task to ensure that all Device Groups, Data Views, Site Maps, and Context Maps are up-to-date following device deletion.
- Log into the NetBrain End User Interface with an account that has Domain Management privileges.
http://<NetBrain IP Address or Hostname>
- From the main user interface desktop, navigate to the Quick Access Toolbar, click on the Domain Name.
- In the Domain Selection dialog, click “Manage Domain”.
- In the Domain Management user interface, click “Schedule Task”.
- In the Schedule Task tab, click “Schedule Discovery/Benchmark”.
- Right-Click on the “Basic System Benchmark” task, then click “Run Now”.
- Close the NetBrain Domain Management interface.
Hey Richard -
I just checked and you’re totally right…We don’t document how to delete devices. I’ll be sure to raise that to our technical writing team. In the meantime, I’ve got some steps here that may help you.
I posted this over on our NetBrain Customer Success Center Knowledge Base as well:
https://community.netbraintech.com/articles/knowledgebase/Delete-Devices-from-the-Domain-12-10-2020
You may want to look there for some helpful tips as well. Let me know how it works out for you!
-Jeff
Delete Devices Using the Site Manager
-
Log into the NetBrain End User Interface with an account that has Domain Management privileges.
http://<NetBrain IP Address or Hostname>
- From the main user interface desktop, in the NetBrain Taskbar, click “Site”.
- In the Site Manager interface, identify the device(s) to be delete
NetBrain Tip: Make sure to use the Search capability within the Site Manager interface to quickly locate devices by their Hostname, Vendor, Model, or IP address.
- Right-Click on the desired device(s), then click “Remove from Domain” to delete the device(s).
I have no idea why I hadn’t noticed this before . Now I feel dumb. Thanks!
Just to bring a little automation into the game:
You can use the Delete Devices API to delete devices directly from a domain.
(https://github.com/NetBrainAPI/NetBrain-REST-API-V8.01/blob/master/REST%20APIs%20Documentation/Devices%20Management/Delete%20Devices%20API.md)
For me, this would a bit dangerous though, I prefer to implement a step for a manual check in between.
Create a list of dismantled/removed devices (hostnames) from your asset management or CMDB. Create a dedicated Device Group as described above and use the Add Devices To Group API (https://github.com/NetBrainAPI/NetBrain-REST-API-V8.01/blob/master/REST%20APIs%20Documentation/Device%20Group%20Management/Add%20Devices%20to%20Group.md) to fill the group. Check the contents of the group before right-clicking to Remove from Domain. Or map the devices and do some reachability tests before removing.