Troubleshooting Operational Issues Using System Comparison
How to identify operational issues in systems and generate reports
Chapter 1. Overview
In an IT environment, two systems can behave differently although having been configured using the same template. System Comparison enables IT operators to compare system configuration of one system to other systems. To identify configuration differences between two or more systems:
- Access the System Comparison service.
- Add systems manually within System Comparison and view profiles.
- Filter the system facts by state to highlight differences and incomplete data.
- Export the filtered output to a CSV file for further analysis.
Chapter 2. Accessing the System and Baselines Comparison Service
The System Comparison service is part of Red Hat Insights and can be accessed via https://cloud.redhat.com.
- On https://cloud.redhat.com, in the Cloud Management Services for Red Hat Enterprise Linux panel, click Drift Analysis. The Cloud Management Services dashboard opens.
Click Drift in the left-side navigation menu to view the Drift options: Comparison and Baselines.
Click Add to comparison to open the Comparison screen where you can add systems or baselines to compare.
- Click Baselines to open the Baselines screen, where you can create baselines. This screen also lists any baselines that exist.
- Click Add to comparison to open the Comparison screen where you can add systems or baselines to compare.
You can now start adding systems and baselines to compare their facts.
Chapter 3. Adding Systems Manually within System Comparison
Add systems registered in your cloud management services inventory within the System Comparison service.
- On the Red Hat Insights user interface, click → in the left-side navigation menu.
- On the Comparison screen, click Add System.
- Select the systems to compare from the list. Alternatively, enter the system name in the search box to find by name, then select the system.
- Click Submit.
- At any time, you can add more systems by clicking on the Add System button on the right-side of the systems you have already added for comparison.
- Similarly, you can remove a particular system under comparison by clicking the cross sign on the upper-right corner of the individual system name, or, you can remove all systems under comparison by clicking the options menu located at the top, then clicking Clear all comparisons to start again.
Chapter 4. Filtering System Facts
Filter the system profiles by state to highlight any differences between the systems, and incomplete data.
- Click the View drop-down list and select Different to show facts that are different.
- Click the View drop-down list and select Incomplete Data to show facts where information is incomplete.
In the example screen capture below, you can see the system comparison data filtered by facts that show a difference across systems. Some facts, such as the
fqdn, are expected to be different for each system, but the installed packages are expected to be the same. Over time, some packages have been upgraded on system 1, but not on system 2 and system 3, as shown by expanding the fact category installed_packages.
Chapter 5. Exporting System Comparison Output
Export the system profiles you filtered above by state to highlight the differences and incomplete data to a comma-separated values (CSV) file.
The exported CSV report preserves all your current selections on the system comparison output, including any filters applied. That is, it follows the WYSIWYG (What You See Is What You Get) paradigm. Therefore, you will need to expand any nested fact categories (
installed_packages, for example) to be exported in the report.
- On the system comparison output screen for two or more systems, click the options menu located at the top.
- Click Export as CSV.
Open the CSV file with the tool of your choice so that you can easily compare exported facts and analyze discrepancies in systems.