Create an IRE data source rule for non-CMDB tables
When using Identification and Reconciliation Engine (IRE), you can prevent a specific data source from inserting new records for a specific non-CMDB table. Create IRE data source rules for data sources that you don't trust in creating records but continue to trust in updating those records that exist.
始める前に
このタスクについて
IRE data source rules have no impact when dynamic reconciliation rules are in effect.
- Child classes derive IRE data source rules from parent classes like identification rules do.
- IRE data source rules that are specified for a child class, override any IRE data source rules derived from a parent class.
If later, a permitted data source attempts to insert that same record, then IRE inserts the record after merging it with the matching record from the partial payloads. IRE then deletes the partial payload from the CMDB IRE Partial Payloads [cmdb_ire_partial_payloads] table, and allows future updates by the data source specified in the rule.
IRE data source rules do not apply to lookup and related items, and only a single rule can be active for any class/data source pair.
手順
タスクの結果
- The insert operation fails and IRE logs the following message:
INSERT_NOT_ALLOWED_FOR_SOURCE Insert into [xyz] is blocked for data source [xyz] by IRE data source rule.
- If using CreateOrUpdateCIEnhanced(), then IRE stores the payload item as a partial payload in the CMDB IRE Partial Payloads [cmdb_ire_partial_payloads] table.
- The current record is merged with the matching record from the partial payload, applying static reconciliation rules as needed.
- The respective partial payload in the CMDB IRE Partial Payloads [cmdb_ire_partial_payloads] table is deleted.
- Later payloads in which the non-permitted data source updates the respective record, run successfully.
- IRE allows the data source, that was previously prohibited from inserting the record, to update that same record which now exists in the non-CMDB table.