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 servera machine as the student user.
[student@workstation ~]$ ssh student@servera
Warning: 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 cockpit service.
[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 cockpit service.
[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 workstation machine as the student user.
[student@servera ~]$ exit
logout
Connection to servera closed.
[student@workstation ~]$On the workstation machine, open the Firefox web browser and log in to the web console interface that is running at the servera.lab.example.com address.
Log in as the root user with redhat as the password.
Open the Firefox web browser and go to the https://servera.lab.example.com:9090 address.
When prompted, accept the self-signed certificate by adding it as an exception.
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.
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.