Bookmark this page

Guided Exercise: Registering Systems with Red Hat Insights

Register systems with Red Hat Insights.

Back to video
Registering Systems with Red Hat Insights

Outcomes

  • Use the Insights client to register a RHEL system.

As the student user on the workstation machine, use the lab command to prepare your environment for this exercise, and to ensure that all required resources are available.

[student@workstation ~]$ lab start insights-registering

Instructions

  1. Register the serverd machine with Red Hat Insights.

    1. Log in to the serverd machine as the student user. No password is required.

      [student@workstation ~]$ ssh student@serverd
      [student@serverd ~]$
    2. Use the sudo -i command to switch identity to the root user. Use student as the password.

      [student@serverd ~]$ sudo -i
      [sudo] password for student: student
      [root@serverd ~]#
    3. Use the insights-client command to register the machine.

      [root@serverd ~]# insights-client --register
  2. Navigate to InventorySystems to verify that the serverd machine is added successfully.

  3. Use the insights-client command to upload the client's information to the Red Hat Insight service.

    [root@serverd ~]# insights-client
    Uploading Insights data.
    Successfully uploaded report from serverd.lab.example.com to account 5296548.
    View details about this system on console.redhat.com:
    https://console.redhat.com/insights/inventory/bcbf902a-dffc-485e-9aee-af36efc53658
  4. When finished, return to the workstation machine.

    [root@serverd ~]# logout
    [student@serverd ~]$ logout
    [student@workstation ~]$

Finish

On the workstation machine, use the lab command to complete this exercise. This step is important to ensure that resources from previous exercises do not impact upcoming exercises.

[student@workstation ~]$ lab finish insights-registering

Revision: rh415-9.2-a821299