We've all been in situations where something works on one system, but not another, and we’re not sure why. Perhaps your boss is asking "Why does this work in the test environment, but not production?" and you need an answer as soon as possible.
In the past when this has happened, I would open SSH sessions to the two servers in question, and start manually comparing items to see if perhaps one server had more memory than the other, or if one server had a newer package than the other, etc. However, this manual process is not efficient nor quick.
Red Hat recently introduced the System Comparison feature as part of the cloud management services for Red Hat Enterprise Linux, which is available with Smart Management subscriptions. System Comparison is a web based, Software-as-a-Service (SaaS) tool for quickly comparing two or more systems.
In this post we will cover an overview of the System Comparison functionality. There is also a video available that covers an Introduction to System Comparison.
Prerequisites for System Comparison
The first item you will need to use System Comparison is a Smart Management subscription.
The other item you will need is the Red Hat Insights client installed and configured on each RHEL system that will be compared. For help installing and configuring Insights, see the getting started guide here. We also have a video covering the Installation and Registration of the Insights Client.
Many customers already meet these prerequisites and are ready to get started with System Comparison without any further work.
Comparing Systems
To actually get started comparing systems, go to cloud.redhat.com, log in, and click on Cloud Management Services for Red Hat Enterprise Linux.
Then, on the left menu, click on System Comparison:
Next, click the blue button to add two or more systems to compare. In this example, I’ve added my server1.example.com and server2.example.com servers. System Comparison then shows a detailed comparison of the systems:
The items with a green check are the same between the systems, and the items with a red x are different.
Note in the screenshot above, there are three pages of comparisons as by default 10 items are shown per page. This is configurable at the top of the page.
The facts that are currently compared include:
- arch
- bios_release_date
- bios_vendor
- bios_version
- cloud_provider
- cores_per_socket
- cpu_flags
- enabled_services
- fqdn
- infrastructure_type
- infrastructure_vendor
- installed_packages
- installed_services
- kernel_modules
- last_boot_time
- network_interfaces
- number_of_cpus
- number_of_sockets
- os_kernel_version
- os_release
- satellite_managed
- system_memory
- yum_repos
We can also only view differences between the systems by clicking the View drop down, and selecting Different:
The page refreshes and we now only see the differences between the systems:
We can see that these two servers have a number of differences, including a different amount of memory, CPU’s, and different installed packages.
Some of the listed items have an arrow to expand the item to show more details, and these are referred to as fact categories, and include items such as installed_packages and network_interfaces. For example, if we want to see details on the differences in the installed_packages, we can click the arrow for it to expand the details:
We can see that these servers have a number of packages at different levels.
We can also filter by the fact name or fact category (which are the expandable items, such as installed_packages and network_interfaces) by using the Filter by Fact text box at the top of the page. For example, we can filter by number_of_cpus if we only want to see a comparison of the number of CPU’s, or filter by installed_packages if we only want to see a comparison of the installed packages. We can also filter by specific package names, and these packages will be listed under installed_packages.
For a video overview of this information, see the Introduction to System Comparison video.
Resolving the Package Differences
In the example above, we saw that server1.example.com had several newer SSSD related packages compared to server2.example.com.
To resolve this, we can login to server2.example.com, and use yum to update these packages. Once the packages have been updated, we can either wait until the next time the Insights clients runs, or we can manually run the insights-clients command to immediately submit the updated information from the client.
In either case, once the Insights client has uploaded the data, we can refresh our System Comparison page in the web browser, and it should now show that the installed packages on the systems match. It is possible to bookmark system comparison URLs to return back to the same comparison in the future. You can also share the System Comparison URLs with other people who can use the URL to view the same comparison, as long as they have access to the same Red Hat account number through their Red Hat account.
Exporting to CSV
It is also possible to export the data from System Comparison to a comma separated value (CSV) file format. This CSV file can be shared with others and also can be viewed in spreadsheet applications such as LibreOffice Calc.
The data that is exported depends on what you are filtering and which facts you’ve expanded. For example, if you filter only on differences that is what will be exported. If you don’t expand the list of installed packages, the details are not exported, but if you do expand the list, that data is also exported.
To do the export click on the three vertical dots at the top of the page, and click Export as CSV.
You can then open the downloaded CSV file in a spreadsheet application to view the data:
Summary and Closing
When troubleshooting system issues, System Comparison can help identify differences between RHEL systems. You can compare two or more servers, filter the data, and export the data to CSV. For more information, and to get started, visit cloud.redhat.com and refer to the Cloud Management Services documentation.
저자 소개
Brian Smith is a Product Manager at Red Hat focused on RHEL automation and management. He has been at Red Hat since 2018, previously working with Public Sector customers as a Technical Account Manager (TAM).
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
오리지널 쇼
엔터프라이즈 기술 분야의 제작자와 리더가 전하는 흥미로운 스토리
제품
- Red Hat Enterprise Linux
- Red Hat OpenShift Enterprise
- Red Hat Ansible Automation Platform
- 클라우드 서비스
- 모든 제품 보기
툴
체험, 구매 & 영업
커뮤니케이션
Red Hat 소개
Red Hat은 Linux, 클라우드, 컨테이너, 쿠버네티스 등을 포함한 글로벌 엔터프라이즈 오픈소스 솔루션 공급업체입니다. Red Hat은 코어 데이터센터에서 네트워크 엣지에 이르기까지 다양한 플랫폼과 환경에서 기업의 업무 편의성을 높여 주는 강화된 기능의 솔루션을 제공합니다.