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 for the logical grouping of data, processes, and administrative tasks into domains. This separation enhances data management by controlling user access and visibility during the IRE process.
Show less
Key Features
- Modes of Operation: There are two modes for domain separation in IRE:
- Strict Mode: Only CIs with matching domain IDs to the logged-in user are processed. Duplicate CIs across different domains are ignored.
- Platform Domain Separation Mode: Parent domains can access CIs in child domains, which is useful for advanced scenarios but introduces potential risks of misidentifying duplicates.
- System Property: Use the
glide.identificationengine.platformdomainseparationenabledproperty to toggle between modes, with strict mode set as default. - Identification Process: Domain IDs are automatically managed by the system based on the user's login, and CIs are created or matched according to their domain ID.
Key Outcomes
By implementing domain separation in IRE, organizations can efficiently manage their CMDB by ensuring accurate identification and reconciliation of configuration items (CIs). Users can expect enhanced control over visibility and access, reduced duplication errors, and improved data integrity in domain-separated environments. Caution is advised when enabling platform domain separation mode due to potential risks associated with duplicate CI identification.
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)