<h2>CMDB Data Manager</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="concept" /><meta name="DC.title" content="CMDB Data Manager" /><meta name="abstract" content="CMDB Data Manager is a policy-driven framework for bulk management of CI life cycle operations such as deletion, archival, and attestation. The CMDB Data Manager is a comprehensive and integrated solution, which scales to large CMDBs and copes with rapid changes in a cloud-based world." /><meta name="description" content="CMDB Data Manager is a policy-driven framework for bulk management of CI life cycle operations such as deletion, archival, and attestation. The CMDB Data Manager is a comprehensive and integrated solution, which scales to large CMDBs and copes with rapid changes in a cloud-based world." /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2023-08-03" /><meta name="mini-toc" content="yes" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="cmdb-data-management" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>CMDB Data Manager</title></head><body id="cmdb-data-management"> <h1 class="title topictitle1" id="ariaid-title1">CMDB Data Manager</h1> <div class="body conbody"><p class="shortdesc">CMDB Data Manager is a policy-driven framework for bulk management of CI life cycle operations such as deletion, archival, and attestation. The CMDB Data Manager is a comprehensive and integrated solution, which scales to large CMDBs and copes with rapid changes in a cloud-based world.</p> <div class="section" id="cmdb-data-management__section_gyp_w4r_z4b"> <p class="p">Large CMDBs can over time accumulate large amounts of stale CIs that can impact overall performance. Custom mitigating solutions can be difficult to develop and to maintain, and are also prone to errors. The CMDB Data Manager is the tool where you can create, publish, and manage policies. Create policies to automate and govern CI life cycle operations to help maintain the CMDB in a healthy and efficient operational state.</p> </div> <div class="section" id="cmdb-data-management__id_hff_mbg_nzb"> <p class="p">You can apply CMDB Data Manager policies only to classes that extend the Configuration Item [cmdb_ci] table. Therefore, you can't use the CMDB Data Manager to manage classes such as those that were imported by CMDB CI Class Models.</p> </div> <div class="section" id="cmdb-data-management__section_ijk_psy_z4b"><h2 class="title sectiontitle">Terms</h2> <div class="p"><dl class="dl"> <dt class="dt dlterm">Policy</dt> <dd class="dd"><p class="p">A CMDB Data Manager policy captures the overall management plan for a life-cycle event, such as CI retirement. A policy is associated with a subflow (the policy subflow) which creates the tasks (the policy tasks) for the target CIs of the policy. A policy is configured with a policy type and the policy tasks perform operations associated with that policy type, such as archiving or deleting a CI record. Also, you can configure a policy to require an approval.</p> <p class="p">The policy type, policy subflow, and the policy tasks, are all aligned to a specific life cycle event of CIs. For example, a policy set with the delete policy type, is associated with the delete subflow, and its policy tasks handle the deletion of CIs.</p> <p class="p">A daily scheduled job processes all published CMDB Data Manager policies.</p> </dd> <dt class="dt dlterm">Policy subflow</dt> <dd class="dd"><p class="p">The policy <a class="xref" href="../administer/flow-designer/concept/subflows.dita/subflows.html" target="_blank" rel="noopener noreferrer">subflow</a> contains the underlying logic to process a life cycle event such as retire or delete. If the policy is configured to require approval, then the policy subflow runs only after a policy task is approved.</p> <p class="p">The base system provides several common subflows, such as delete, archive, and retire, which you can use with policies. You can also create custom subflows that are needed in the organization.</p> </dd> <dt class="dt dlterm">Policy task</dt> <dd class="dd"><p class="p">A separate task is created and assigned to each unique <span class="keyword parmname">Managed By Group</span> value within the set of target CIs in a policy. A policy task triggers the policy subflow, tracks the set of target CIs for the task, and handles the approval of the task, if necessary.</p> <p class="p">If a policy requires an approval, the policy tasks don’t trigger the policy subflow until a member of the group assignment in the <span class="keyword parmname">Managed by Group</span> attribute of the target CIs, approves the tasks. If a task is rejected or if the <span class="keyword parmname">Managed by Group</span> attribute is empty, the task is assigned to an administrator who must manually intervene to resolve the task.</p> <p class="p">If a policy isn't configured to require an approval, then the policy tasks are automatically approved.</p> </dd> <dt class="dt dlterm">CI exclusion list</dt> <dd class="dd">A set of CIs to which policies of a specified type don't apply.</dd> </dl> </div> </div> <div class="section" id="cmdb-data-management__section_plt_wxq_dzb"><h2 class="title sectiontitle">Policy types</h2> <div class="p">You can create policies of the following types:<dl class="dl"> <dt class="dt dlterm">Delete</dt> <dd class="dd">Use to remove a CI from its current table with no option to restore the CI into an active state.</dd> <dt class="dt dlterm">Retire</dt> <dd class="dd">Use to retire a CI while keeping the CI active in list views and in processes such as CMDB Health.</dd> <dt class="dt dlterm">Attestation</dt> <dd class="dd">Use to assign and process attestation tasks that verify the existence of actual IT infrastructure and applications that you own. As CIs are continuously ingested into the CMDB from various data sources, attesting CIs support the integrity of the CMDB. For more information about using the Attestation policy type, see <a class="xref" href="attesting-cis.html" title="Verify the existence of actual IT infrastructure and applications that you own, systematically and in bulk. As CIs are continuously ingested into the CMDB from various data sources, ensure the integrity of the CMDB. Remove any stale CIs that are associated with IT infrastructure or applications that no longer exists.">Attesting CIs</a>.</dd> <dt class="dt dlterm">Archive</dt> <dd class="dd">Use to remove a CI from its current table and store the CI in a separate archive table for temporary retention. Archiving a CI excludes the CI from views and from features such as maps and the relations formatter. During the retention period, you can <a class="xref" href="../administer/database-rotation/task/t_ViewArchivedData.dita/t_ViewArchivedData.html" target="_blank" rel="noopener noreferrer">restore CIs into active state</a>. At the end of the retention period, archived CIs are deleted from their archive table.</dd> <dt class="dt dlterm">Delete CMDB Related Entry</dt> <dd class="dd"><p class="p">Use to clean up any irrelevant or stale data from related tables to help keep CMDB data healthy and relevant as the state of referenced CIs change.</p> <p class="p">Related tables, such as the Serial Number [cmdb_serial_number] table, aren't part of the CMDB hierarchy but still qualify as CMDB data. Related tables don't inherent from the Configuration Item [cmdb_ci] table, but have at least one column that references a CMDB CI. Related tables are specified in the Related Entries [cmdb_related_entry] table.</p> </dd> </dl> </div> <p class="p">You can implement your Retire, Delete, and Archive policies so that they follow <a class="xref" href="../../csdm-implementation/concept/csdm-landing-page.html" title="The CSDM is the data framework that admins should follow when they set up ServiceNow products and applications. The standards for defining configuration items (CIs) and relationships between CIs in the CMDB ensure that your data resides in the appropriate CMDB tables. The result is maximum value from Now Platform applications.">Common Service Data Model (CSDM)</a> standards where for example, CIs are archived and deleted only when a CI is already in retired state. When you create these life cycle policies, the system applies processes to manage any dependent CIs that might be left behind. For more details about these processes and about verifying that the feature is enabled, see <a class="xref" href="manage-dependent-ci.html" title="A life cycle update for a CI affects its dependent CIs. For example, when the CI that a dependent CI depends on is deleted, the dependent CI becomes orphan with no further use. To maintain the integrity and health of the CMDB, the system applies cascade-cleanup processes to dependent CIs that are affected by a life cycle update.">Dependent CIs management</a>.</p> </div> <div class="section" id="cmdb-data-management__section_z4x_hvn_swb"><h2 class="title sectiontitle"><span class="ph">Now Platform®</span> data archiving</h2> <div class="p">The functionality that the Archive policy type in CMDB Data Manager provides, relies and extends the <span class="ph">Now Platform®</span> <a class="xref" href="../administer/database-rotation/concept/c_ArchiveData.dita/c_ArchiveData.html" target="_blank" rel="noopener noreferrer">data archiving feature</a>, applied specifically for CMDB CIs. While processing an Archive policy to archive CMDB CIs, CMDB Data Manager uses components and processes of <span class="ph">Now Platform®</span> data archiving in the following ways:<ul class="ul" id="cmdb-data-management__ul_gf2_534_swb"><li class="li">The Archive Rule [sys_archive] table contains the <span class="ph">Now Platform®</span> archive rules including the <span class="keyword parmname">Archive Configuration Items</span> CMDB archive rule which CMDB Data Manager Archive policies use.</li><li class="li">Data Manager relies on the <span class="keyword parmname">Archive</span> scheduled job to run (every hour by default) and process CMDB Data Manager archive policies. The <span class="keyword parmname">Archive</span> scheduled job is stored in the Schedule Item [sys_trigger] table.</li><li class="li">In the <span class="ph">Now Platform®</span> table Archive Job Execution Chunks [sys_archive_run_chunk], the <span class="keyword parmname">Keys</span> attribute contains the sys_ids of the CMDB CIs to be archived (where Rule ID is the CMDB archive rule ID).</li><li class="li"><p class="p">Archived records are stored in the <span class="ph">Now Platform®</span> archive tables, which are prefixed by 'ar_'. In a similar way, the first time that a CMDB archive job runs, it creates an archive table for each CMDB class (prefixed by 'ar_cmdb'). Therefore, that initial CMDB archive task takes longer than subsequent CMDB archive tasks.</p> <p class="p">For each Data Manager archive policy, the system batches the policy CIs to be archived into batches of 1000 CIs. The sys_archive_run_chunk table contains a record per each of those batches.</p> <p class="p">CMDB archive tables, such as ar_cmdb_ci_computer, are listed under <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">System Archiving</span> > <span class="ph uicontrol">Archive Tables</span></span>.</p> </li></ul> </div> <p class="p">When using the CMDB Data Manager to archive CIs, you can also directly apply <span class="ph">Now Platform®</span> data archiving features, such as <a class="xref" href="../administer/database-rotation/task/t_ViewArchivedData.dita/t_ViewArchivedData.html" target="_blank" rel="noopener noreferrer">restoring archived records</a> during a CIs retention period.</p> </div> <div class="section" id="cmdb-data-management__section_mb3_s2n_cqb"><h2 class="title sectiontitle">Life cycle state rules and retirement definitions</h2> <p class="p">Life-cycle rules define the retirement state for classes in your organization and support the transition of CIs through life cycle stages when using the CMDB Data Manager. After retiring CIs, CMDB Data Manager configures the retired CIs according to the retirement definitions specified by life-cycle rules for the CIs class. Using a Retire, Archive, or Delete CMDB Data Manager policies requires that an active life-cycle rule exist for each targeted class in the policy. You can activate life-cycle rules in the base system to apply the default definitions, customize those rules, or add life-cycle rules for classes needed in your organization.</p> <div class="p">The life cycle state of a CI affects the CIs visibility and inclusion in on-going CMDB processes:<ul class="ul" id="cmdb-data-management__ul_ch3_1f4_vwb"><li class="li">A retired CI isn't excluded from any views or processes such as CMDB Health.</li><li class="li">An archived CI no longer exists in its active table and instead it's stored in a separate archive table. Archived CIs are no longer visible or included in processes such as list views, maps, and relations formatters. Archived CIs can be retained for a specified retention period before being deleted from the archive table. During that retention period, archived CIs can be manually restored into an active state by using the <span class="ph">Now Platform®</span> feature to <a class="xref" href="../administer/database-rotation/task/t_ViewArchivedData.dita/t_ViewArchivedData.html" target="_blank" rel="noopener noreferrer">restore archived records</a>.</li><li class="li">A deleted CI no longer exists in the table that it belonged to and there's no way to restore it into an active state. Deleting a CI is an irreversible operation.</li></ul> </div> <p class="p">For more information about accessing and managing life-cycle rules, see <a class="xref" href="life-cycle-rules.html" title="Use a life-cycle rule to specify the retirement definition for a class, reflecting processes and protocols in your organization. These rules support the transition of CIs through life-cycle stages as implemented by CMDB Data Manager policies. A life-cycle rule is required for each targeted class in a Retire, Archive, or Delete CMDB Data Manager policy.">Life-cycle rules and retirement definitions</a>.</p> </div> <div class="section" id="cmdb-data-management__section_art_4yy_z4b"><h2 class="title sectiontitle">Configure the environment for CMDB Data Manager</h2> <div class="p">Prepare your environment for using the CMDB Data Manager:<ol class="ol" id="cmdb-data-management__ol_a2r_tsq_z4b"><li class="li">Some policy types such as the life cycle policies Retire, Archive, and Delete, require that an active <a class="xref" href="life-cycle-rules.html" title="Use a life-cycle rule to specify the retirement definition for a class, reflecting processes and protocols in your organization. These rules support the transition of CIs through life-cycle stages as implemented by CMDB Data Manager policies. A life-cycle rule is required for each targeted class in a Retire, Archive, or Delete CMDB Data Manager policy.">life cycle rule</a> exists for each targeted class in the policy. This requirement doesn't apply to all policy types.<span class="ph"> For example, this requirement doesn't apply to the Attestation policy type.</span> If you attempt to create a policy of a policy type for which this requirement applies but isn't met, an error message appears and the operation fails.</li><li class="li">You can streamline approval of policies by populating the <span class="keyword parmname">Manage by Group</span> attribute of CIs that you plan to target in policies. Use the CI Class Manager to populate that attribute for an entire class, in a single synchronization operation. For more information about this data synchronization, see <a class="xref" href="../../csdm-implementation/task/csdm-data-synchronize-enable.html" title="Synchronize group assignment attributes on entire CI classes and individual CIs using the CI Class Manager.">Set the group for a CI or an entire class of CIs</a>. If the <span class="keyword parmname">Managed by Group</span> attribute isn't populated for a CI, then the approval process is directed to the administrator.</li></ol> </div> </div> <div class="section" id="cmdb-data-management__section_sdc_pyf_lwb"><h2 class="title sectiontitle">CMDB Data Manager experience in CMDB Workspace</h2> <div class="p">You can use the <a class="xref" href="cmdb-workspace.html" title="The CMDB Workspace is an efficient, central, and modernized way for you to work. Use CMDB Workspace to search and explore the CMDB, examine health and recent activity, and access various CMDB dashboards and tools to support tasks in your organization.">CMDB Workspace</a> landing page and its views to access high-level metrics and details of CMDB Data Manager tasks. For example:<ul class="ul" id="cmdb-data-management__ul_kch_gzf_lwb"><li class="li">Use the Important actions tile on the landing page to access data attestation and life cycle approval tasks such as reassignment requests and unassigned overdue tasks. Drill down these task cards to see further details about the tasks.</li><li class="li">Use the My work tile on the landing page to access all open attestation tasks that are assigned to you, or to the group assigned in the <span class="keyword parmname">Managed by Group</span> attribute and which you're a member of. Review and process these attestation tasks by checking the physical existence of IT infrastructure or applications associated with the CIs in the tasks.</li><li class="li">Use the <span class="ph">Governance</span> view to access attestation tasks that are assigned to you or to an assignment group that you belong to in accordance with CMDB Data Manager Attestation policies. Overdue tasks appear in a separated <span class="ph uicontrol">Overdue tasks</span> list.</li></ul> For information about reviewing and processing attestation tasks, see <a class="xref" href="../task/review-data-manager-attes-task.html" title="Review attestation tasks that are assigned to you or to an assignment group that you belong to in accordance with CMDB Data Manager Attestation policies. Check the physical existence of IT infrastructure or applications associated with CIs in the attestation task and then process those CIs as appropriate.">Review CMDB Data Manager Attestation tasks</a>.</div> <p class="p">To access the <span class="ph">Governance</span> view, navigate to <span class="ph menucascade"><span class="ph uicontrol">Workspaces</span> > <span class="ph uicontrol">CMDB Workspace</span></span> and then select <span class="ph uicontrol">Governance</span> in the CMDB Workspace menu bar. Access requires the sn_cmdb_admin (CMDB Admin), sn_cmdb_editor (CMDB Editor), or sn_cmdb_user (CMDB User) role.</p> </div> <div class="section" id="cmdb-data-management__section_v5d_q5r_z4b"><h2 class="title sectiontitle">CMDB Data Manager</h2> </div> </div> </body></html></div>