Account 登录

Red Hat Insights is a hosted service that analyzes applications and platforms to predict risk and recommend detailed remediation steps. Insights also has the ability to remediate problems automatically with a push of a button. 

Red Hat Satellite manages Red Hat Enterprise Linux (RHEL) environments on-premises and in the cloud, helping to ensure that security is up to date while allowing businesses to manage the lifecycle of their hosts with precision. 

Satellite allows synchronizing the inventory of its registered hosts with Insights so that the Insights Advisor service can provide security and performance recommendations to the operator and push-button remediation from the hybrid cloud console at console.redhat.com. 

Here’s how

Here are the main steps required to integrate Insights Advisor into Satellite. 

  1. Configure Red Hat Connector in Satellite.

  2. Install and run insights client on your RHEL hosts.

  3. Automatically upload your inventory to Insights.

  4. View results in the Red Hat Hybrid Cloud Console or synchronize Insights Advisor results to Satellite.

Configure Red Hat Connector in Satellite

On the Red Hat Satellite Server, run the following command to enable the configuration of the Red Hat Connector.

satellite-installer --foreman-proxy-plugin-remote-execution-ssh-install-key true

Here’s the operation in action.

Enable the configuration of the Red Hat Connector

Next, navigate to Configure -> Inventory Upload.

Navigate to Configure -> Inventory Upload.

Click on Configure Cloud Connector.

Click on Configure Cloud ConnectorNotice that you can configure the amount of information you’d like to send to Insights.

Configure the amount of information you’d like to send to Insights

Install and run Insights client on your RHEL hosts

Navigate to Hosts -> Register Host

Navigate to Hosts -> Register Host

 

Perform the following steps:

  1. Select the desired organization.

  2. Select the desired location.

  3. If you have configured your SSL certificates, you can skip this step. Otherwise, make sure this box is checked.

  4. Finally, click the advanced tab.

Four steps to register a hostOn the advanced tab, perform the following steps:

  1. In the Setup REX dropdown, select Inherit from host parameter (yes).

  2. In the Setup Insights dropdown, select Inherit from host parameter (yes).

  3. Accept the default token lifetime parameter of 4 hours. This parameter specifies the duration that the registration token is valid.

  4. Select the appropriate activation key. For more information, please refer to Red Hat Satellite documentation.

  5. Check the Ignore errors checkbox.

  6. Check the Force checkbox.

  7. Finally, click Generate.

Advanced TabOnce you click Generate, a command will be generated for you to run on your host. Click the handy clipboard icon to copy the command.

Click the handy clipboard icon to copy the command.Here’s what the output might look like.

Here’s what the output might look like.

Automatically upload your inventory to Insights

Technically speaking, there is nothing to do here. However, the synchronization only occurs in the evening every 24 hours. For the purposes of this blog, we’ll manually force a synchronization. 

To force inventory synchronization to Insights, go to the Configure -> Inventory upload and run the following:

  1. Click on Generating.

  2. Click on Restart.

Go to the Configure -> Inventory upload

View results in the Hybrid Cloud Console or synchronize Insights Advisor results to Satellite

Log into Hybrid Cloud Console and navigate to the Advisor service following these steps:

  1. Click on All apps and services.

  2. Click on Advisor in the drop-down menu.

Log into Hybrid Cloud Console and navigate to the Advisor serviceThis will take you to the Advisor recommendations page where you can view recommendations for securing and optimizing your hosts.

This will take you to the Advisor recommendations page

To view these recommendations in Satellite, go back to your Satellite web interface and navigate to Configure -> Insights menu. 

To view these recommendations in Satellite, go back to your Satellite web interface and navigate to Configure -> Insights menu.

Normally, the synchronization of Advisor recommendations occurs once every 24 hours. We’ll force a synchronization the following way:

  1. Click on the "burger stack" menu.

  2. Click on Sync recommendations.

Force a synchronization

When the synchronization is complete, you will be able to view the Advisor recommendations.

When the synchronization is complete, you will be able to view the Advisor recommendations.

Depending on the type of recommendation, the remediation may be manual or automatic with an Ansible Playbook. If the remediation has an Ansible Playbook, you can remediate it from the Hybrid Cloud Console or Satellite with a push of a button.

Why would you do this?

Depending on your expertise, it may require a lot of time to determine if your hosts can be made more secure or to optimize their performance. Furthermore, the actual operations to optimize and secure hosts can be laborious, especially if you have to perform the optimization on multiple hosts. 

As I’ve just shown, Insights and Satellite can dramatically reduce the time and effort required to secure and optimize your entire RHEL infrastructure. 

Learn more

To learn more about Satellite and Insights, please visit the following links.


About the author

As a Senior Principal Technical Marketing Manager in the Red Hat Enterprise Linux business unit, Matthew Yee is here to help everyone understand what our products do. He joined Red Hat in 2021 and is based in Vancouver, Canada.

Read full bio
Red Hat logo LinkedInYouTubeFacebookTwitter

产品

工具

试用、购买或出售

沟通

关于红帽

我们是世界领先的企业开源解决方案供应商,提供包括 Linux、云、容器和 Kubernetes。我们致力于提供经过安全强化的解决方案,从核心数据中心到网络边缘,让企业能够更轻松地跨平台和环境运营。

订阅我们的新闻稿 Red Hat Shares

立即注册

选择语言

© 2022 Red Hat, Inc. 京ICP备09066747号 Red Hat Summit