How to know if RHEL 8 is a server or workstation.

How do you know if your RHEL 8 installation is a server or a workstation. In previous version of Red Hat Enterprise Linux you could see what role the installation was by running cat /etc/redhat-release. So how do you find the set role of RHEL 8?

If you run cat /etc/redhat-release in RHEL 8 you will get back: Red Hat Enterprise Linux release 8.0 (Ootpa). It doesn’t show if it is server or workstation. This article will cover the basic steps needed to find this information.

RHEL 7
RHEL 8

The GUI method for finding the set role of RHEL 8

Red Hat Enterprise Linux 8 comes with Cockpit, which you can access your server via a web address such as http://rhel8.home.therootuser.com:9090. From there you can just to to Subscriptions to view your current role.

The subscription tab in cockpit on RHEL 8 shows what role we are using.

Under System Purpose, we see our Server Level is set to Self-Support. The Usage is Development/Test, and the Role is Red Hat Enterprise Linux Server.

Using the CLI

For those who would rather use the CLI, you can find out if RHEL 8 is a server or workstation with subscription-manager.

# subscription-manager role
subscription-manager role

This shows that we are using Red Hat Enterprise Linux Server.

# subscription-manager usage
subscription-manager usage

We see above that our server usage is set for Development/Test

If you have any questions, please feel free to ask.

Share

Ivan Windon

Ivan Windon is a Site Reliability Engineer at IBM. Ivan is actively engaged in Cloud Technologies with AWS, Google, and Azure. Ivan has extensive experience with Linux and Windows administration, DNS, Networking, IDM, and Security. In his free time, he enjoys being with his wife and two children. The family enjoys hiking, and traveling when able. His favorite locations are Yosemite NPS, and San Francisco, California.

You may also like...

2 Responses

  1. Anonymous says:

    When you download the ISO do you have to pick a version? I ran this and it show “Role not set.”

    • Ivan Windon says:

      No, you would usually set this on the system purpose page during installation. If it was not done, you can do it via the CLI with the command syspurpose.

      Cheers,

      Ivan

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.