Duplicate devices in Inventory with same name and IP showing as Device Type Host and VirtualMachine
search cancel

Duplicate devices in Inventory with same name and IP showing as Device Type Host and VirtualMachine

book

Article ID: 266290

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

How can I resolve this duplicate device issue?

Environment

Release: 20.4, CU5

Resolution

1. Under the rules section of the discovery_server.cfg, add the following and then save it.

<name_mac_ip_origin>
            enabled = true
            position = 100
            match_on_all = "defined:AllCorrelationNames, defined:IpAddresses, defined:Origins"
            unmatch_on_any = "SysName, VirtualID, VirtualManagerId"
         </name_mac_ip_origin>

2. Cold start the discovery_server (Deactivate-Activate):

3. Select the discovery_server probe and open the probe utility by pressing Ctrl-P

4. Run the discovery_server probe callback-> 'reimport_devices_by_cs_ids' for both the duplicate cs_id's using a comma to separate the values.
(The ID's a.k.a. the cs_ids were obtained by clicking on the device/node in the OC Inventory view and checking the 'Device Details' window for each one of the two duplicate entries, that had the same name and IP address, and were displaying as type Host and Virtual Machine.)

5. Search the device name again in OC inventory and check the device count (now there should be only one device in inventory with the given name)