As a system administrator, troubleshooting system configurations is part of day-to-day activities. In this post, we would like to introduce a new service from Red Hat Insights, called Drift, that empowers system administrators to compare configurations, define baselines, and ultimately perform root-cause analysis of issues during troubleshooting. While managing a large inventory of Red Hat Enterprise Linux (RHEL) systems is facilitated by tools like Red Hat Smart Management with Satellite, system configurations tend to drift away from defined standard operating environments.
How different are RHEL system configurations?
One of the daily tasks of system administration is troubleshooting configuration differences between two or more systems. A common example is an application that behaves differently from one system to another. The common approach to root cause analysis is to figure out differences between those systems, which can be hardware differences, operating systems differences (e.g. OS version), installed software differences (e.g. RPM version) and more. All of these could have an impact on the issue being observed.
One quick way to identify those differences is to use the Drift service provided as part of Red Hat Insights. Drift lets you quickly and easily compare two or more system configurations to identify similarities and differences. Drift also highlights areas of the configuration that are suspect or unexpected (See Figure 1). It provides filtering mechanisms to help pinpoint specific areas of the configuration where you may want to focus. Configuration facts made available to Drift for comparison are listed in the Drift documentation.
![Figure 1. Drift comparison of systems configurations Figure 1. Drift comparison of systems configurations](/rhdc/managed-files/2020-08-24-insights-fig1.png)
Figure 1. Drift comparison of systems configurations
Systems can be compared despite being hosted on different infrastructure (e.g. physical, virtual, public clouds) or different environments (e.g. dev, test, prod), as long as they are part of the same account inventory.
Reports of comparisons can be exported as CSV files from the UI. This exports what you see on the screen. URLs can also be bookmarked as a way to reload a defined comparison at a later time.
When did this change occur in my RHEL system configuration?
Another powerful feature of Drift is its ability to look back in time for system configuration differences. Drift currently maintains up to seven days (set as an Insights internal default) of previous configurations for each registered system. This means system administrators can use the tool to compare their system configuration over time.
A typical example is trying to identify the cause of a change of behavior of an application on a particular system. Was the application affected by a change of configuration? Identifying or discarding this hypothesis from the troubleshooting steps can be done using Drift.
System configurations can be compared over time and analyzed for differences. This includes setting a time reference for the comparison to highlight the changes that have occurred since this reference point in the system configuration (See Figure 2).
For advanced troubleshooting, Drift can compare historical configurations from different systems.
![Figure 2. Drift comparison of system configuration over time Figure 2. Drift comparison of system configuration over time](/rhdc/managed-files/2020-08-24-insights-fig2.png)
Figure 2. Drift comparison of system configuration over time
How and when did my system configuration start to drift away from our baseline?
Drift can be used to quickly identify unexpected changes in system configurations. For example, a baseline is defined in Drift to serve as a standard configuration to which you can compare all other systems. If a system configuration drifts over time, performing a comparison to the defined baseline highlights all changes and when they were observed, thus providing a quick and easy way to ensure all system configurations are in-line with the organization standards (See Figure 3).
![Figure 3. Drift comparison of baseline and systems configurations Figure 3. Drift comparison of baseline and systems configurations](/rhdc/managed-files/2020-08-24-insights-fig3.png)
Figure 3. Drift comparison of baseline and systems configurations
Baselines can be created from scratch (given a set of fact names and values), as a copy of an existing system configuration, or as a copy of an existing baseline configuration.
Could we automate the Drift troubleshooting process?
Drift provides a fully documented REST APIs that can be used to perform comparison operations, access historical system configurations, or undertake lifecycle management of baselines. Operations are described in the Insights API documentation and examples are provided in the Drift documentation guide on using Drift APIs.
Want more information?
We recently held a Red Hat Insights Ask Me Anything webinar about the Drift service. It included a short demonstration of the Drift capabilities as part of Red Hat Insights. You can watch its recording on-demand from the Red Hat Insights Ask Me Anything Webinars library.
If you are not using Red Hat Insights, it is included as part of your RHEL subscription - find more information and get started today by visiting Red Hat Insights. Try Insights out today on cloud.redhat.com.
Sobre o autor
Jerome Marc is a Red Hat Sr. Principal Product Manager with over 15 years of international experience in the software industry spanning product management and product marketing, software lifecycle management, enterprise-level application design and delivery, and solution sales.
Navegue por canal
Automação
Últimas novidades em automação de TI para empresas de tecnologia, equipes e ambientes
Inteligência artificial
Descubra as atualizações nas plataformas que proporcionam aos clientes executar suas cargas de trabalho de IA em qualquer ambiente
Nuvem híbrida aberta
Veja como construímos um futuro mais flexível com a nuvem híbrida
Segurança
Veja as últimas novidades sobre como reduzimos riscos em ambientes e tecnologias
Edge computing
Saiba quais são as atualizações nas plataformas que simplificam as operações na borda
Infraestrutura
Saiba o que há de mais recente na plataforma Linux empresarial líder mundial
Aplicações
Conheça nossas soluções desenvolvidas para ajudar você a superar os desafios mais complexos de aplicações
Programas originais
Veja as histórias divertidas de criadores e líderes em tecnologia empresarial
Produtos
- Red Hat Enterprise Linux
- Red Hat OpenShift
- Red Hat Ansible Automation Platform
- Red Hat Cloud Services
- Veja todos os produtos
Ferramentas
- Treinamento e certificação
- Minha conta
- Suporte ao cliente
- Recursos para desenvolvedores
- Encontre um parceiro
- Red Hat Ecosystem Catalog
- Calculadora de valor Red Hat
- Documentação
Experimente, compre, venda
Comunicação
- Contate o setor de vendas
- Fale com o Atendimento ao Cliente
- Contate o setor de treinamento
- Redes sociais
Sobre a Red Hat
A Red Hat é a líder mundial em soluções empresariais open source como Linux, nuvem, containers e Kubernetes. Fornecemos soluções robustas que facilitam o trabalho em diversas plataformas e ambientes, do datacenter principal até a borda da rede.
Selecione um idioma
Red Hat legal and privacy links
- Sobre a Red Hat
- Oportunidades de emprego
- Eventos
- Escritórios
- Fale com a Red Hat
- Blog da Red Hat
- Diversidade, equidade e inclusão
- Cool Stuff Store
- Red Hat Summit