"cmdb_ip_address_dns_name" table showing Duplicate IP address attached to ci's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2017 03:25 PM
Hello
When i checked DNS name of a CI it have multiple Duplicated IP address Attached to it. Can i know is this normal to exist such duplicated IP address for a DNS name of a server.
If it is abnormal can anyone please let me know any way to overcome such duplicates in that table.
Thanks,
Niranjan.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2017 07:43 AM
Hi Nirnajan,
There can be multiple causes of this issue, check your discovery configurations also you may want to check to OOB discovery business rule that are modified or updated for any customization etc..
Most possible reason is a business rule is modified and running update/insert on each discovery scheduled without checking unique conditions.
What you could do is create a new field called "Name2" (u_name2) on the appropriate table(s), after finding a right business rule and select the Unique check box to enforce uniqueness on that field. Then, create a Business Rule that copies the Name field to the new field and the system will automatically enforce the uniqueness:
- Name: Sync names
- Table: Server [cmdb_ci_server]
- Order: 10000000
- When: before
- Insert: Checked
- Update: Checked
- Script:
- (function(){
- current.u_name2 = current.name;
- })();
Thanks,
Punit
Hit like, Helpful, Correct and Endorse, if it answers or helps on your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 12:26 PM
Hi Niranjan,
Hope you are doing good.
Request your feedback on above answers ..
Hit like, Helpful, Correct and Endorse, if it answers or helps on your question.
Thanks,
Punit