Chapter 4. Setting up the test environment


To certify your product, you must first set up the environment where you can run the tests. The test environment consists of a host under test (HUT).

4.1. For RHEL hardware certification

Set up the test environment where you can run the tests.

The test environment consists of at least two systems:

4.1.1. Setting up the host under test

A system on which the product that needs certification is installed or configured is referred to as the host under test (HUT).

Prerequisites

  • The HUT has RHEL version 8, 9, or 10 installed. For convenience, Red Hat provides kickstart files to install the HUT’s operating system. Follow the instructions in the file that is appropriate for your system before launching the installation process.

Procedure

  1. Configure the Red Hat Certification repository:

    1. Use your RHN credentials to register your system using Red Hat Subscription Management:

      # subscription-manager register
      Copy to Clipboard Toggle word wrap
    2. Display the list of available subscriptions for your system:

      # subscription-manager list --available*
      Copy to Clipboard Toggle word wrap
    3. Search for the subscription which provides the Red Hat Certification (for RHEL Server) repository and make a note of the subscription and its Pool ID.
    4. Attach the subscription to your system. Replace the pool_ID with the Pool ID of the subscription.

      # subscription-manager attach --pool=<pool_ID>
      Copy to Clipboard Toggle word wrap
      Note

      You don’t have to attach the subscription to your system, if you enable the option Simple content access for Red Hat Subscription Management. For more details, see How do I enable Simple Content Access for Red Hat Subscription Management?

    5. Subscribe to the Red Hat Certification channel:

      $ subscription-manager repos --enable=cert-1-for-rhel-<VERSION>-<HOSTTYPE>-rpms
      Copy to Clipboard Toggle word wrap

      Replace VERSION with the RHEL version number on the SUT

      subscription-manager repos --enable=cert-1-for-rhel-9-<HOSTTYPE>-rpms
      Copy to Clipboard Toggle word wrap

      To find out the system architecture, run

      $ uname -m
      Copy to Clipboard Toggle word wrap

      Replace HOSTTYPE with the system architecture.

      $ subscription-manager repos --enable=cert-1-for-rhel-<VERSION>-x86_64-rpms
      Copy to Clipboard Toggle word wrap
    6. Install the hardware test suite package:

      Note

      This step is applicable only for RHEL version 9 or later.

      $ dnf install redhat-certification-hardware
      Copy to Clipboard Toggle word wrap

4.1.2. Setting up the test server

Some of the tests running on the host under test (HUT) require a second system to pass. This second system is known as the test server.

For example, the test that checks bandwidth, transfers data from one system to another, in order to pass.

Prerequisites

  • The test server has RHEL version 8, 9, or 10 installed. Red Hat provides kickstart files to install the HUT’s operating system, but you can also use them to install the test server. Follow the instructions in the file that is appropriate for your system before launching the installation process.

Procedure

  1. Configure the Red Hat Certification repository.

    Use your RHN credentials to register your system using Red Hat Subscription Management:

    # subscription-manager register
    Copy to Clipboard Toggle word wrap
  2. Display the list of available subscriptions for your system:

    # subscription-manager list --available*
    Copy to Clipboard Toggle word wrap
  3. Search for the subscription which provides the Red Hat Certification (for RHEL Server) repository and make a note of the subscription and its Pool ID.
  4. Attach the subscription to your system. Replace the pool_ID with the Pool ID of the subscription.

    # subscription-manager attach --pool=<pool_ID>
    Copy to Clipboard Toggle word wrap
    Note

    You don’t have to attach the subscription to your system, if you enable the option Simple content access for Red Hat Subscription Management. For more details, see How do I enable Simple Content Access for Red Hat Subscription Management?

  5. Subscribe to the Red Hat Certification channel:

    $ subscription-manager repos --enable=cert-1-for-rhel-<VERSION>-<HOSTTYPE>-rpms
    Copy to Clipboard Toggle word wrap

    Replace VERSION with the RHEL version number on the SUT

    subscription-manager repos --enable=cert-1-for-rhel-9-<HOSTTYPE>-rpms
    Copy to Clipboard Toggle word wrap

    To find out the system architecture, run

    $ uname -m
    Copy to Clipboard Toggle word wrap

    Replace HOSTTYPE with the system architecture.

    $ subscription-manager repos --enable=cert-1-for-rhel-<VERSION>-x86_64-rpms
    Copy to Clipboard Toggle word wrap
    1. Install the hardware test suite package:

      Note

      This step is applicable only for RHEL version 9 or later.

      $ dnf install redhat-certification-hardware
      Copy to Clipboard Toggle word wrap

4.2. For RHEL AI hardware certification

Set up the test environment to run the RHEL AI certification tests.

Prerequisites

Procedure

  1. From your HUT, log in to the Red Hat Hybrid Cloud Console subscriptions page by using your SSO login credentials to confirm you have an active Red Hat Partner Subscription. If not, contact your company’s organization administrator to request for a partner subscription.
  2. Log in to the Red Hat Insights application and go to the Inventory > System configuration > Activation Keys tab, to generate an activation key for your account. Also, this page displays your Organization ID. Make a note of this ID for future reference.
  3. Register your HUT with the Red Hat Insights application.

    sudo rhc connect --organization <org_id> --activation-key <your_activation_key>
    Copy to Clipboard Toggle word wrap
  4. Enable your certification repository for downloading the certification test rpms.

    subscription-manager repos --enable=cert-1-for-rhel-9-x86_64-rpms
    Copy to Clipboard Toggle word wrap
  5. Install the test suite and reboot the HUT.

    rpm-ostree install redhat-certification-hardware-ai
    Copy to Clipboard Toggle word wrap
  6. Login to the Red Hat Registry by using the skopeo tool. This step enables you to download models during the test run.

    skopeo login registry.redhat.io
    Copy to Clipboard Toggle word wrap

    It prompts you to enter your login credentials to access the Red Hat registry.

Note

Running RHEL AI certification tests can be time-consuming. To quickly verify if your HUT is suitable for running these tests, go to /etc/rhcert.xml file and update the value of <rhelai training> parameter from full to short as shown below:

<rhelai training="short" epoch="2" config-update="true">
Copy to Clipboard Toggle word wrap

This acts as a sanity test allowing you to quickly identify any issues with the AI accelerators before running the certification tests. This test result is not considered for certification.

Verification

To verify if your test environment is set, execute the following command:

rpm-ostree status
Copy to Clipboard Toggle word wrap

It confirms the successful installation of redhat-certification-hardware-ai package.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat