Identifying changes to CIs by using the Compare activity
Before you begin
- Make sure the CIs that are being compared have an identity.
For running the Identify activity. See Identification-activities-to-match-instances-across-datasets. - (Optional) Create a qualification ruleset to restrict the instances and classes that are compared.
For creating a qualification ruleset, see Creating-qualification-rules-for-reconciliation-activities.
To compare data between two datasets
- On CMDB Portal, go to Jobs > Manage Reconciliation.
- To add the Compare activity in a new job, click Create Job.
For information about creating a reconciliation job, see Creating-a-reconciliation-job. - To add the Compare activity to an existing job, on the reconciliation dashboard, select an existing reconciliation job from All Job Run Activities and then click Edit Job.
- To add the Compare activity in a new job, click Create Job.
- Create a Compare activity in the reconciliation job.
In the Activities area, click Add activity and select Compare from the list.
Enter the following information:
- Select the datasets to compare from the list in Dataset 1 and Dataset 2.
- (Optional) Add Exclusion Rules to select classes and attributes that you do not want to compare.
Select Class > Select Attribute > Click Add Rule. You can add multiple classes and attributes.
- (Optional) In Qualification, add a qualification to select the classes and instances to compare.
- Clear Use all classes and instances to restrict the Compare activity by using a qualification set.
- Click Select qualification rulesest to select a qualification set.
- In the Schedule area, select the frequency and condition to run the job.
Click Add Schedule to specify the time and day to set the frequency.
- Click Save to save the reconciliation job with the Compare activity.
- (Optional) To run the job immediately, open the job from All Job Run Activities and click Start Job.
If there are multiple activities in a reconciliation job and you want to run a specific activity, use the Status button to make the other activities inactive.
You can view the job on the Reconciliation dashboard. To see only the jobs that have Compare activity, select Compare from the Activity Type list.
To view the Compare activity report
After the Compare activity is complete, you can view the Compare activity report on the reconciliation dashboard or by opening the job.
On the reconciliation dashboard, filter the jobs to show only jobs with Compare activity and click Executed to view the completed jobs.
To open the comparison report on the dashboard
- On the desired job row, click the arrow to expand the row.
- Open the Events tab and click Show Comparison Report.
- From the report window, click Export To File.
- Save a local copy of the text file.
To open the comparison report from the job
- To open the job, click on the job with the Compare activity that you created.
- In Job Run Statistics, click Show Comparison Report.
- From the report window, click Export To File.
- Save a local copy of the text file.
The following video (2:10) shows an example for a compare activity and the steps required to create a compare activity in a reconciliation job:
Where to go from here