Este contenido no está disponible en el idioma seleccionado.
Chapter 3. Configure connection to Red Hat Insights using remote host configuration manager
The remote host configuration manager, located at Red Hat Hybrid Cloud Console > Red Hat Insights > Inventory > System Configuration > Remote Host Configuration (RHC), is where you can control Red Hat Enterprise Linux system connections to Red Hat Insights for Red Hat Enterprise Linux. From the remote host configuration manager, you control the connection to your RHEL infrastructure, and how the Insights for Red Hat Enterprise Linux services are configured on the remote systems.
Changes in the remote host configuration manager create a playbook that is fetched by the rhc client. The connected rhc client monitors for remote host configuration manager to send playbooks and will execute them instantaneously. The remote host configuration manager provides a log that shows you the playbook runs.
With the rhc client and the remote host configuration manager, there is no fine control over individual system connections, and there is no additional control over the data that is packaged on your systems and uploaded to Insights for Red Hat Enterprise Linux.
To control the type of data that each system provides to Insights for Red Hat Enterprise Linux, you must use the Insights client configuration options. For example, if you want to apply data obfuscation or data redaction to the system information that is sent to Insights for Red Hat Enterprise Linux, you must configure the obfuscation and redaction values in the Insights client configuration file on each system.
3.1. Opening the remote host configuration manager
Use the remote host configuration manager to view connection settings.
The first time you open the manager, it shows a pane for rhc
command syntax that you can fill in and copy. This will simplify command entry on your Red Hat Enterprise Linux (RHEL) systems if they are not already running the remote host configuration utility. You can close this pane, but it cannot be reopened.
Prerequisites
- You must be logged into the Red Hat Hybrid Cloud Console.
- You must have RHC user privileges, assigned in User Access, to perform this procedure.
Procedure
- Navigate to Red Hat Hybrid Cloud Console > Red Hat Insights > Inventory > System Configuration > Remote Host Configuration (RHC) to view the Red Hat Insights for Red Hat Enterprise Linux connection settings.
3.2. Editing settings in the remote host configuration manager
Use the remote host configuration manager to edit remote host configuration settings. You can enable or disable whether your RHEL systems receive remediation playbooks and rhc client configuration changes from remote host configuration manager. If you want to maintain your client configurations manually, or with your own configuration management system, you may disable the system configuration management settings.
You can enable settings to use OpenSCAP for compliance policies and Cloud Connector to fix issues directly from Red Hat Insights for Red Hat Enterprise Linux. Enabling OpenSCAP automatically installs the OpenSCAP and RHEL System Security Guide (SSG), required to use the compliance service.
Prerequisites
- You must be logged into the Red Hat Hybrid Cloud Console.
- You must have RHC administrator privileges, assigned in User Access, to perform this procedure.
Procedure
- Navigate to Red Hat Hybrid Cloud Console > Red Hat Insights > Inventory > System Configuration > Remote Host Configuration (RHC) to view the current settings.
- Click Change settings.
- Use the slider buttons to select Red Hat Insights for Red Hat Enterprise Linux settings for your connected systems. The changes are applied to all connected systems and to all future systems that connect through the rhc client.
3.3. Maintaining a connection between remote host configuration and Red Hat Hybrid Cloud Console
To maintain a strong connection between remote host configuration(rhc) and Red Hat Hybrid Cloud Console, it is recommended that you set an option for a 10 second reconnect delay.
Prerequisites
-
You have root-level access to the system or
sudo
permissions. - You have a rhc version installed that is at least version 0.2.4 but less than version 0.3.
Procedure
-
Open the following file:
/etc/rhc/config.toml
-
Add this option to the file
mqtt-reconnect-delay = "10s"
- Save your changes.
-
Type the following command in your terminal: #
systemctl restart rhcd.service
Verification step
Run the following command in your terminal:
#`systemctl status rhcd.service`
If the option was added successfully, you should see the following statement returned:
# `Active: active (running)` followed by a timestamp.
Additional resources
For information about registering rhc, see the following: