Troubleshooting Operational Issues Using System Comparison
How to identify operational issues in systems and generate reports
Making open source more inclusive
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.
Providing feedback on Red Hat Hybrid Cloud Console documentation
We appreciate your input on our documentation. Please let us know how we could make it better. To do so, create a Bugzilla ticket:
- Go to the Bugzilla website.
- As the Component, use Documentation.
- Fill in the Description field with your suggestion for improvement. Include a link to the relevant part(s) of documentation.
- Click Submit Bug.
Chapter 1. Overview
In an IT environment, two systems can behave differently even when they have been configured using the same template. The Insights for Red Hat Enterprise Linux service enables IT operators to compare the system configuration of one system to that of other systems.
To identify configuration differences between two or more systems:
- Access the Insights for Red Hat Enterprise Linux service.
- Add systems manually within Insights for Red Hat Enterprise Linux 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 Insights for Red Hat Enterprise Linux service is part of Insights for Red Hat Enterprise Linux application. Access this service via Red Hat Hybrid Cloud Console.
Navigate to Red Hat Enterprise Linux > Drift > Comparison. The Comparison screen opens.
Cick Add to comparison. The Add to comparison screen opens, where you can add systems or baselines to compare.
- On the Systems tab, you can add any systems you want to compare. This screen also lists any baselines that already exist in your Insights for RHEL application inventory.
On the Baselines tab, you can create baselines. This screen also lists any baselines that already exist in your inventory.
- Click Submit to add your systems or baselines for comparison.
Once you add them, you can start comparing the facts of systems and baselines in your Insights for RHEL application inventory.
Chapter 3. Adding systems manually within system comparison
Within the Insights for Red Hat Enterprise Linux service, you can add systems registered in your Insights for RHEL application inventory.
- Navigate to Red Hat Enterprise Linux > Drift > Comparison. The Comparison screen opens.
- Click Add to comparison.
- Select the systems to compare from the list. Alternatively, enter the system name in the search box to find by name, and then select the system.
- Click Submit.
- At any time, you can add more systems by clicking the Add to comparison button near the top of the Comparison screen.
- Similarly, you can remove a particular system under comparison by clicking the X symbol 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 Same to show facts that are identical.
- 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
The Comparison service allows you to export system comparison output, along with any current selections such as filters, 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 Comparison output screen for two or more systems, click the Export to CSV icon ( ), and then select Export to CSV.
- Save the CSV file to the location of your choice so that you can easily compare exported facts and analyze discrepancies in systems.