Search

Chapter 4. Setting up the test environment

download PDF

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

The test environment consists of at least two systems:

4.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 or 9 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.
Note

Red Hat Hardware Certification requires using the General Availability (GA) kernel for the Red Hat Enterprise Linux version being certified for hardware certification.

When installing RHEL, please download and use the Binary DVD Offline Install Image, and not the Boot ISO image. The Boot ISO image requires a network connection, and will automatically install the current kernel instead of the required GA kernel.

Do not register the system with Red Hat Subscription Management (RHSM) during the installation process. Only register the system with RHSM after the installation process is completed.

Procedure

  1. Configure the Red Hat Certification repository.

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

    # subscription-manager register
  2. Display the list of available subscriptions for your system:

    # subscription-manager list --available*
  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>
    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:

    • On RHEL 8:

      # subscription-manager repos --enable=cert-1-for-rhel-8-_<HOSTTYPE>_-rpms

      Replace HOSTTYPE with the system architecture. To find out the system architecture, run

      uname -m

      Example:

      # subscription-manager repos --enable=cert-1-for-rhel-8-x86_64-rpms
    • On RHEL 9:

      # subscription-manager repos --enable=cert-1-for-rhel-9-_<HOSTTYPE>_-rpms

      Replace HOSTTYPE with the system architecture. To find out the system architecture, run

      uname -m

      Example:

      # subscription-manager repos --enable=cert-1-for-rhel-9-x86_64-rpms
  6. Install hardware test suite package:

    # yum install redhat-certification-hardware

4.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 or 9 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
  2. Display the list of available subscriptions for your system:

    # subscription-manager list --available*
  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>
    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:

    • On RHEL 8:

      # subscription-manager repos --enable=cert-1-for-rhel-8-<HOSTTYPE>-rpms

      Replace HOSTTYPE with the system architecture. To find out the system architecture, run

      uname -m

      Example:

      # subscription-manager repos --enable=cert-1-for-rhel-8-x86_64-rpms
    • On RHEL 9:

      # subscription-manager repos --enable=cert-1-for-rhel-9-<HOSTTYPE>-rpms

      Replace HOSTTYPE with the system architecture. To find out the system architecture, run

      uname -m

      Example:

      # subscription-manager repos --enable=cert-1-for-rhel-9-x86_64-rpms
  6. Install the hardware test suite package.

    #yum install redhat-certification-hardware
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.

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.

© 2024 Red Hat, Inc.