Discovery identifiers
Summarize
Summary of Discovery identifiers
Discovery identifiers in ServiceNow are essential for accurately identifying Configuration Items (CIs) during the Discovery process to prevent duplicate records in the CMDB. After classifying a CI, Discovery uses special identity probes and sensors to collect identifying data such as serial numbers, names, IP addresses, and MAC addresses. This data is processed by identifiers that determine whether to update an existing CI, create a new one, or take no action. This identification applies only to the Configuration item type of discovery.
Show less
Key Features
- Identity Probes and Sensors: Identity probes are multi-probes configured to gather detailed device information in one authentication session. Sensors process the probe results and pass them to identifiers.
- Identifier Rules and Tables: Identifier rules are configured per CI type or table and specify attributes used for matching devices in the CMDB. These rules ensure comprehensive identification by searching related tables where necessary.
- Default Identifier Rules: Out-of-the-box rules cover common CI types such as ESX Servers, Hardware, Storage Servers, and WBEM Services, using attributes like serial numbers, IP addresses, and MAC addresses for identification.
- Custom Identifier Rules: Customers can create custom rules tailored to specific CI classes or network configurations, such as differentiating bonded network interfaces by name. Custom rules must have unique evaluation order values and be carefully managed to avoid naming conflicts.
- Evaluation Order: Identifiers and their attributes are evaluated sequentially based on order values, allowing customization of the identification sequence and control over which identifiers run.
- Duplicate CI Handling: System properties (e.g., glide.identificationengine.skipduplicates) allow customers to configure how Discovery handles potential duplicate CIs during identification and reconciliation.
- Identifier Versions and Upgrades: The system uses identifiers from the CMDB Identification and Reconciliation framework. Customers upgrading from older releases may need to add or configure properties to enable the new identifier framework and convert legacy custom identifiers accordingly.
Practical Guidance for ServiceNow Customers
- Ensure Accurate Serial Number Discovery: Serial numbers are critical for precise asset tracking. Verify baseline probes and sensors still collect serial numbers correctly and avoid modifying serial number syntax in customizations.
- Create and Manage Custom Identifiers Cautiously: When creating identifiers that use attributes like device or adapter names, avoid renaming devices afterward to prevent losing CI correlation and accidental duplicate CIs.
- Control Identifier Execution: Use the Active checkbox and order values to enable, disable, or sequence identifiers to suit your environment’s needs.
- Upgrade Preparation: If upgrading from pre-Geneva releases, add the glide.discovery.usecmdbidentifiers property and set it to true to leverage the current identifier framework. Convert any custom legacy identifiers before enabling this property.
- Integration with Service Mapping: When Service Mapping is enabled, the system always uses the new CMDB Identification and Reconciliation identifiers regardless of property settings.
After Discovery classifies a CI, it uses identifiers to determine if the device already exists in the CMDB.
Discovery launches special identity probes that accumulate identification data for each device and feed that data into the identifiers, which determine the action that Discovery must take for each device. Identifiers accurately determine the identity of the device to prevent the creation of duplicate CIs. This identification step only takes place for the Configuration item type of discovery, not for the other types of discovery.
This diagram shows the processing flow for classifying and probing devices with identifiers configured.
CMDB identifier tables
| Table | Description |
|---|---|
| Identifier [cmdb_identifier] | Stores all identifier rules. |
| Identifier Entry [cmdb_identifier_entry] | Stores all the identifier attributes. |
Identifier rules
The default Discovery system contains these identifier rules, each of which is associated with a specific CI type (the sys_class_name field on the CI record) or the table in the Applies to field and contains the appropriate attributes for discovering CIs from the specified table. Where necessary to discover all possible occurrences of an attribute, tables from related lists (Search on tables) are included in the rule. For more information, see Create or edit a CI identification rule.
| Rule | Applies to table/attributes | Search on table/attributes |
|---|---|---|
| ESX Server Rule | ESX Server [cmdb_ci_esx_server]: correlation_id | none |
| Hardware Rule | Hardware [cmdb_ci_hardware]
|
|
| Storage Server Rule | Storage Server [cmdb_ci_storage_server]
|
|
| WBEM Service Rule | WBEM Service [cmdb_ci_wbem_service]: cim_object_path | none |
Matching strategy for the hardware rule
The sys_class_name cannot be an attribute for independent rules, such as cmdb_ci_hardware. If your Discovery identification strategy depends on matching a CI with a specific class, you must create a new rule for each class you want to use for matching and specify that class in the Applies to field of the Identifier form.
Evaluation order for Discovery identifiers
Custom identifiers must have different Order values than those of the default identifiers. Discovery parses identifiers and attributes in sequence from low order numbers to high. You can create identifiers to run before or after the default identifiers, or mixed in with the identifiers from the base system. To prevent any identifier or rule from running, disable it by clearing the Active check box. The evaluation order for CMDB identifiers is established within each rule and only controls the parsing order of the attributes in that rule.
Properties for processing duplicate CIs
You can control how Discovery handles duplicate CIs with properties installed with
Identification and Reconciliation. Use the
glide.identification_engine.skip_duplicates and
glide.identification_engine.skip_duplicates.threshold properties. For more
information, see Properties for Identification and
Reconciliation.
Properties that control identifier versions
glide.discovery.use_cmdb_identifiers. If you upgraded from a pre-Geneva
version, you must manually add this property and set it to true to use
the new identifiers. If you upgraded from Geneva or later releases, this property is available
in the System Properties [sys_properties] table. To preserve functionality in custom legacy
identifiers, convert them to the new CMDB identifier rules format before enabling this property.
The system does not reconfigure your custom identifiers to the new framework
automatically.