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
From workstation use the ssh command to log into servera as the student user.
[student@workstation ~]$ssh student@serveraWeb console: https://servera.lab.example.com:9090/ or https://172.25.250.10:9090/ [student@servera ~]$
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 SocketLoaded: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...
Log out from servera.
[student@servera ~]$exit[student@workstation ~]$
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.
Open Firefox and go to the https://servera.lab.example.com:9090 address.
If 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 in the left navigation bar. Click on . The report takes a few minutes to create.
When the report is ready, click on . Save the file.
Click the button, followed by the button.
Click the button.
Log out from the Web Console interface.