- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 07:22 AM
Hello, We are facing an issue with duplicate instance records within the MSSQL server instance records. We've recently started development on MSSQL Discovery to populate some additional information and to get AG, mirroring databases, clusters etc. For that, we've built a new probe and sensor with the help of Powershell script from DBA team and disabled the out of the box probe, sensor and classifier. Everything is working as expected like creating an instance with all the desired data, related catalogs and etc. But, here is an issue coming up with inserting records on CMDB. We already have some existing instance records in the CMDB instance table, when we run the Discovery, in some cases it creates a new empty record just with the instance name instead of updating the older one. In some case it updates the old one but creates the new record. In some cases if there multiple records for the same instance it either updates one record or doesn't updates both records, creates new record with updated information. We've also created a Business rule to update the older record if it finds the existing record with the same instance name else to create a new record. It worked in the beginning but when we started to test different servers it was still creating duplicates. can anyone help me with the troubleshooting to solve this issue. Thank you!
Solved! Go to Solution.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2018 10:39 PM
Hi Rakeshunu,
You can create a separate identifier for MSSQL instance like below. This would avoid creating duplicated entries
Regards,
Vivek
Based on the impact hit like helpful or correct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2018 05:38 AM
Vivek, I tried below scenarios but none of them seems to worked out. 1. Tried with name,sys_class_name -> failed 2. Tried with instance_name,sys_class_name,name -> failed 3. tried with above scenarios before and after disabling the Business Rule. We use Name as Unique Key. Please help me further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2018 08:19 PM
Rakeshunu, when are you seeing the duplication? If you run discovery multiple times in a row, is discovery creating a new CI each time, or is this happening over long periods of time (20-45 days for example)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2021 10:58 PM
Hi Rakeshunu
Although identifier is correct but still discovery is populating duplicates for MSSQL Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2021 10:58 PM
Hi Rakeshunu
Although identifier is correct but still discovery is populating duplicates for MSSQL Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2021 11:00 PM
Hello everyone
I am facing issue of duplicate records creation in MSSQL instance.Checked identifier it is also correct but still i am getting duplicate records.Donot know the reason why