United States | Using a Cockpit in Red Hat Enterprise Linux 8

Sebastian Baszcyj - 23.04.202020200423

Using a Cockpit in Red Hat Enterprise Linux 8

United States | Using a Cockpit in Red Hat Enterprise Linux 8

Red Hat Enterprise Linux 8 comes with plenty of preinstalled tools to ensure a smooth transition and easy management. The Cockpit is a free and open source web-based server management tool. Cockpit comes preinstalled on an RHEL 8 server, but it is not activated. A sysadmin must enable it.

Cockpit provides graphical interface for the system task administration. It provides a convenient and easy method to start containers, administer storage or users, configure networks, and inspect log files. The Cockpit web interface is user-friendly for both: new usersand seasoned sysadmins.

1. To enable the cockpit, enter the following command on the RHEL 8 host:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

The command will start and enable the cockpit service.

2. Verify if the port is available after the service has been started:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

3. Verify if the service is running:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

4. Verify if the firewalled service has been added to the configuration:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

5. If cockpit service is missing in firewalled configuration, follow the steps below to add it to the configuration:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

6. Once all prerequisites are met, open the browser and navigate to the following URL: https://server_fqdn:9090

United States | Using a Cockpit in Red Hat Enterprise Linux 8

7. Enter the root credentials.

8. After logging into the cockpit, you will be presented with the following landing page:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

As you can see, the cockpit offers comprehensive statistics on CPU and memory utilisation, Disk I/O and Network Traffic.

9. The Cockpit also offers information about available updates in the form of a link. Once the link is clicked, you will be taken to the section with the Software Updates. In this view it is possible to set Automatic Updates and Install All or Security Updates.

10. The landing page also offers shortcut to the section, where it is possible to set the pretty name and change the hostname:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

United States | Using a Cockpit in Red Hat Enterprise Linux 8

11. Red Hat 8 comes preinstalled with realmd and sssd to simplify joining the server to the AD domain:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

Note: if you would like the home directories to be created, install the additional packages on the system:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

12. The landing page allows you also to configure the System Time which can be set either automatically via NTP or manually:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

13. Red Hat recommends using tuned service to automatically tune the server’s performance. Landing page offers can also shortcut to the Performance Profiles which come preinstalled on the server. Virtual-guest is the recommended performance profile for the servers running as virtual guests:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

14. Navigate to the Logs on the left to verify the system logs. There are dropdown menus which allow selecting time and Severity of the logs:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

15. The Storage tab provides information about the current state of the disks, including the performance statistic and option to add the following:

  • RAID Devices
  • Volume Groups
  • VDO Devices
  • iSCSI Targets

United States | Using a Cockpit in Red Hat Enterprise Linux 8

16. The networking section of the Cockpit offers information about the network configuration, including easy configuration option for adding:

  • Bond Interfaces
  • Teams
  • Bridges
  • VLANs

United States | Using a Cockpit in Red Hat Enterprise Linux 8

a. Clicking on the ‘Add Bond’ button brings up an additional window:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

17. The Cockpit also offers option to add or modify the existing accounts:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

18. The next option is ‘Services’ where all the services are listed and from where they can be Stopped, Restarted or Enabled/Disabled.

United States | Using a Cockpit in Red Hat Enterprise Linux 8

19. The ‘Diagnostic Reports’ section allows you to create and download system diagnostic reports. This section is using ‘under the hood’ sosreport:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

20. The Cockpit also provides a web-based terminal:

United States | Using a Cockpit in Red Hat Enterprise Linux 8

21. Cockpit provides also a few additional modules which can be added by installing additional packages:

 

Feature

Package

Description

Composer GUI for use with Cockpit

cockpit-composer.noarch

Image Builder for Cockpit allows creating various RHEL8 images

The Cockpit components for managing virtual machines

cockpit-machines.noarch

The Component which allows creating and managing virtual machines

Cockpit Session Recording

cockpit-session-recording.noarch

This component allows recording of the user’s session and playing them back

 

This concludes a quick overview of the Cockpit in Red Hat 8. If you would like to find out more about additional options – stay tuned!!!

THANK YOU FOR YOUR SUBMISSION!

United States | Using a Cockpit in Red Hat Enterprise Linux 8

The form was submitted successfully.

Join the Insentra Community with the Insentragram Newsletter

Hungry for more?

If you’re waiting for a sign, this is it.

We’re a certified amazing place to work, with an incredible team and fascinating projects – and we’re ready for you to join us! Go through our simple application process. Once you’re done, we will be in touch shortly!

Who is Insentra?

Imagine a business which exists to help IT Partners & Vendors grow and thrive.

Insentra is a 100% channel business. This means we provide a range of Advisory, Professional and Managed IT services exclusively for and through our Partners.

Our #PartnerObsessed business model achieves powerful results for our Partners and their Clients with our crew’s deep expertise and specialised knowledge.

We love what we do and are driven by a relentless determination to deliver exceptional service excellence.

United States | Using a Cockpit in Red Hat Enterprise Linux 8

Insentra ISO 27001:2013 Certification

SYDNEY, WEDNESDAY 20TH APRIL 2022 – We are proud to announce that Insentra has achieved the  ISO 27001 Certification.