- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2019 12:05 AM
Hi,
We are using Discovery. Can anyone tell me whats the use of this Discovery property "glide.discovery.enforce_ip_sync".
OOB that property is set to true. So whats happening in our case is that, when a machine is having multiple NIC's/IP's, then each time that machine is getting discovered, the IP is getting changed on the form which is confusing.
I would just like to understand in general:
1. Why OOB that property is set to TRUE as its changing the IP and is confusing
2. In general, when a machine is having multiple IP's, whats the best practice to capture the right IP address, and how.
BR,
Nik
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2019 11:05 PM
Hi Nik,
glide.discovery.enforce_ip_sync (OOB value is ‘true’)
glide.discovery.exclude_ip_sync_classes(OOB value is ‘cmdb_ci_lb’)
You can add the specific CI table to the property glide.discovery.exclude_ip_sync_classes if you do not want to get your IP changed multiple times. for .e.g. if you want to do for N/W devices, add cmdb_ci_netgear to the property (Note: property values are comma separated list of values). Hope this helps!
Regards,
Anusha.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2019 12:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2019 11:24 AM
It's really the best guess we are taking to set the base class IP address attribute from valid IP addresses found from available NICs. And yes it changing over time can be a bit confusing and why the property if you just want to set the IP address attribute on the base class and not have discovery update it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2019 04:46 AM
Hey Doug,
I am not clear with last point.
When 'glide.discovery.enforce_ip_sync' is TRUE, it keeps changing the IP address > which is confusing.
When 'glide.discovery.enforce_ip_sync' is FALSE, the IP address doesnt change.
Why OOB its TRUE which is a confusing use case.
Should that property be true or false.
Thanks!
Nik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2019 10:40 PM
my take would be to keep it as true to begin with, so that ServiceNow automatically updates the IP, at the same time have a audit process in place to ensure that the IP is correct. If you observe that as part of audit process the IP address that is getting updated is not correct, then overtime a decision can be made to set the property as false.