Domain separation and CMDB Identification and Reconciliation
Summarize
Summary of Domain separation and CMDB Identification and Reconciliation
Domain separation in ServiceNow’s Configuration Management Database (CMDB) Identification and Reconciliation (IRE) feature allows you to logically separate data, processes, and administrative tasks into distinct domains. This separation controls user access and visibility, ensuring that data handling respects domain boundaries. Domain separation is enforced throughout the IRE processes, making them domain-aware and applying separation rules during identification and reconciliation.
Show less
Key Features
- Domain Separation Modes: There are two modes for domain separation in IRE:
- Strict mode (default): Identification processes only CIs with domain IDs matching the logged-in user’s domain. Duplicate CIs in different domains are not treated as duplicates.
- Platform domain separation mode (optional): Allows parent domains to access CIs in child domains and global domains, enabling identification across domain boundaries. This mode must be enabled via the
glide.identificationengine.platformdomainseparationenabledsystem property and is suited for advanced, specific use cases.
- Domain Awareness in Identification: Identification engine APIs automatically use the current user’s domain ID without requiring explicit input. New CIs inherit the domain ID of the user’s domain. Duplicate detection and reclassification tasks are assigned the domain ID of the involved CIs.
- Identification and Reconciliation Rules: Identification rules are global (no domain field), meaning they apply across all domains. Reconciliation rules can be domain-specific, allowing tailored configurations per domain.
Practical Considerations for ServiceNow Customers
- By default, strict mode ensures clear domain boundaries during identification, preventing cross-domain duplication issues.
- Enabling platform domain separation mode may increase detection of duplicate CIs across domains but introduces risks, especially on upgraded instances or if switching domains during IRE runs. It should only be enabled by experienced users with specific needs.
- Existing implementations using strict mode do not benefit from switching to platform domain separation mode and may encounter disruptions if switched improperly.
- Domain IDs do not need to be included in API payloads as the IRE engine uses the logged-in user’s domain context automatically.
What to Expect
Implementing domain separation in CMDB IRE helps control visibility and data segregation, ensuring that identification and reconciliation processes respect organizational boundaries. This enables more secure, organized, and manageable CMDB data in environments with multiple domains. Careful configuration of the glide.identificationengine.platformdomainseparationenabled property allows you to balance strict domain isolation or broader visibility across domain hierarchies according to your business needs.
Domain separation is supported in the CMDB Identification and Reconciliation feature. Domain separation enables you to separate data, processes, and administrative tasks into logical groupings called domains. You can control several aspects of this separation, including which users can see and access data.
Overview
Domain separation is enforced during the CMDB Identification and Reconciliation (IRE) process. IRE processes are domain aware and domain separation is applied to the Identification and Reconciliation rules.
For more information about domain separation, see domain separation.
How domain separation works in Identification and Reconciliation
- Strict mode (enabled by default): In this mode, identification processes only those CIs in which the domain ID is identical to the domain of the currently logged in user. If duplicate CIs exist across domains (including parent and child domains), then those CIs aren't considered duplicate CIs because their domain IDs don't match.
Platform domain separation mode (disabled by default): In this mode, IRE follows the platform domain separation behavior. So during identification, parent domains can access all CIs within their child domains or any of the domains it has visibility into. For more information, see Visibility domains and Contains domains.
Platform domain separation mode is intended to be used by advanced users for very specific or advanced use cases.
Note:Platform domain separation mode introduces some risks that are greater on upgraded instances and much lesser on zBooted instances.
Depending on how IRE processes are configured on a domain separated instance, setting IRE to use platform domain separation mode might result in unexpected and undesirable behavior if not used carefully. One of the risks is if enabling platform domain separation mode is followed by running IRE processes from a different domain than the one on which IRE processes were previously run. In this situation, CIs that were previously identified as unique, might get identified as duplicate CIs and might cause some applications to start failing.
If any application is already using IRE effectively in domain separated environment, then there's no advantage in switching to platform domain separation mode that might create some risk.
Use the glide.identification_engine.platform_domain_separation_enabled system property to switch between those two modes for IRE domain separation. By default, this property is set to false.
Platform domain separation mode
Set the system property glide.identification_engine.platform_domain_separation_enabled to true to enable the platform domain separation mode for IRE processing. With the platform domain separation mode, parent domains can access all of their child domains during IRE processing. For example, IRE can detect a matching CI in a child domain and then update that CI instead of creating a new one.
- IRE run from a parent domain can access CIs contained within their domain, child domains that are lower in the domain hierarchy, and global domain.
- IRE run from the global domain can access all CIs.
- Visibility domains and Contains domains are supported.
Domain separation during the Identification Process
- Regardless of the setting of the glide.identification_engine.platform_domain_separation_enabled system
property:
- Domain IDs don't need to be explicitly sent in the input payload of the identification engine APIs. Internally, the identification engine causes the current domain ID of the user to call the identification engine APIs.
- During matching, if no records are found and a CI is inserted, the CI domain ID is the same as the domain ID of the logged-in user’s domain. When updating a CI, the CI domain ID doesn't change.
- During matching, if duplicates are found, De-Duplication tasks created in the [reconcile_duplicate_task] table have the same domain ID as of the duplicate CIs.
- During matching, if reclassification of the CI isn't allowed, reclassification tasks are created in the [reclassification_task] table, with the same domain ID as the CI for which reclassification is needed.
- When the system property glide.identification_engine.platform_domain_separation_enabled is set to
false:
- Only CIs that have the same domain ID as the currently logged-in user's domain are used during matching.
- Duplicate CIs that exist across domains (including parent and child domains) aren't considered as duplicate CIs by IRE.
- When the system property glide.identification_engine.platform_domain_separation_enabled is set to
true:
- Duplicate CIs that exist across domains (such as parent and child domains) are considered as duplicate CIs by IRE.
- CIs from the logged in user domain and child domains are used during matching.
Domain separation and Identification Rules
- Identifier (cmdb_identifier)
- Identifier Entries (cmdb_identifier_entry)
- Related Entries (cmdb_related_entry)
- Identification Inclusion Rules (cmdb_ie_active_config)
Domain separation and Reconciliation Rules
- Reconciliation Definition (cmdb_reconciliation_definition)
- Datasource Precedence (cmdb_datasource_precedence)
- Data Source Staleness Definitions (cmdb_datasource_staleness)