RHCSA Rapid Track
Course update
An updated version of this course is available that uses a newer version of Red Hat Enterprise Linux in the lab environment. Therefore, the RHEL 9.0 version of the lab environment will retire on December 31, 2024. Please complete any work in this lab environment before it is removed on December 31, 2024. For the most up-to-date version of this course, we recommend moving to the RHEL 9.3 version.
In this exercise, you generate a diagnostics report that you could submit to the Red Hat Customer Portal as part of a support case, by using the web console.
Outcomes
Generate a diagnostics report that you could submit as part of a support case to the Red Hat Customer Portal.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command prepares your environment and ensures that all required resources are available.
[student@workstation ~]$ lab start support-portal
Instructions
Log in to the
serveramachine as thestudentuser.[student@workstation ~]$
ssh student@serveraWarning: Permanently added 'servera' (ED25519) to the list of known hosts. Activate the web console with: systemctl enable --now cockpit.socket ...output omitted... [student@servera ~]$Start the
cockpitservice.[student@servera ~]$
systemctl start cockpit.socket==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ==== Authentication is required to start 'cockpit.socket'. Authenticating as: Student User (student) Password:student==== AUTHENTICATION COMPLETE ====Verify the status of the
cockpitservice.[student@servera ~]$
systemctl status cockpit.socket● cockpit.socket - Cockpit Web Service Socket Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; disabled; vendor preset: disabled) Active: active (listening) since Mon 2022-03-28 01:41:13 EDT; 1min 27s ago Until: Mon 2022-03-28 01:41:13 EDT; 1min 27s ago Triggers: ● cockpit.service Docs: man:cockpit-ws(8) Listen: [::]:9090 (Stream) ...output omitted... Mar 28 01:41:13 servera.lab.example.com systemd[1]: Starting Cockpit Web Service Socket... Mar 28 01:41:13 servera.lab.example.com systemd[1]: Listening on Cockpit Web Service Socket.Return to the
workstationmachine as thestudentuser.[student@servera ~]$
exitlogout Connection to servera closed. [student@workstation ~]$On the
workstationmachine, open the Firefox web browser and log in to the web console interface that is running at theservera.lab.example.comaddress. Log in as therootuser withredhatas the password.Open the Firefox web browser and go to the
https://servera.lab.example.com:9090address.When prompted, accept the self-signed certificate by adding it as an exception.
Log in as the
rootuser withredhatas the password. You are now logged in as a privileged user, which is necessary to create a diagnostic report.Click the menu in the left navigation pane. Click the button. The report takes a few minutes to create.
When the report is ready, click the button to save the file.
Click the button, followed by the button.
Log out from the web console session and close the Firefox web browser.
This concludes the section.