Bookmark this page

Guided Exercise: Getting Help from Red Hat Customer Portal

In this exercise, you will generate a diagnostics report using Web Console.

Outcomes

You should be able to generate a diagnostics report using Web Console which could be submitted to Red Hat Customer Portal as part of a support case.

Log in as the student user on workstation using student as the password.

From workstation, run the lab support-portal start command. The command runs a start script that determines if servera is reachable on the network. It also starts and enables Web Console on servera.

[student@workstation ~]$ lab support-portal start
  1. From workstation use the ssh command to log into servera as the student user.

    [student@workstation ~]$ ssh student@servera
    Web console: https://servera.lab.example.com:9090/ or https://172.25.250.10:9090/
    [student@servera ~]$ 
  2. Use the systemctl command to confirm that the cockpit service is running. Enter student as the password when prompted.

    [student@servera ~]$ systemctl status cockpit.socket
    ● cockpit.socket - Cockpit Web Service Socket
       Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; enabled; vendor preset: disabled)
       Active: active (listening) since Thu 2019-05-16 10:32:33 IST; 4min 37s ago
         Docs: man:cockpit-ws(8)
       Listen: [::]:9090 (Stream)
      Process: 676 ExecStartPost=/bin/ln -snf active.motd /run/cockpit/motd (code=exited, status=0/SUCCESS)
      Process: 668 ExecStartPost=/usr/share/cockpit/motd/update-motd  localhost (code=exited, status=0/SUCCESS)
        Tasks: 0 (limit: 11405)
       Memory: 1.5M
       CGroup: /system.slice/cockpit.socket
    ...output omitted...
  3. Log out from servera.

    [student@servera ~]$ exit
    [student@workstation ~]$ 
    
  4. On workstation, open Firefox and log in to the Web Console interface running on servera.lab.example.com as the root user with redhat as the password.

    1. Open Firefox and go to the https://servera.lab.example.com:9090 address.

    2. If prompted, accept the self-signed certificate by adding it as an exception.

    3. Log in as the root user with redhat as the password. You are now logged in as a privileged user, which is necessary to create a diagnostic report.

    4. Click Diagnostic Reports in the left navigation bar. Click on Create Report. The report takes a few minutes to create.

  5. When the report is ready, click on Download report. Save the file.

    1. Click the Download report button, followed by the Save File button.

    2. Click the Close button.

    3. Log out from the Web Console interface.

Finish

On workstation, run the lab support-portal finish script to complete this exercise.

[student@workstation ~]$ lab support-portal finish

This concludes the guided exercise.

Revision: rh199-8.2-3beeb12