Chapter 5. 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 system. A test host is a workstation used as a medium for accessing the OpenShift cluster.
Red Hat recommends partners to enable FIPS mode on both control plane and data plane nodes.
5.1. Setting up the test host
You can use the test host to start a test run on the OpenShift cluster, display the progress of the tests, and present the final result file after gathering results.
Prerequisites
- Install or use an existing RHEL 9 system.
- Have access to an OpenShift cluster hosting a RHOSO control plane.
Procedure
Use your RHN credentials to register your system by using Red Hat Subscription Management.
subscription-manager register
# subscription-manager register
Copy to Clipboard Copied! Display the list of available subscriptions for your system.
subscription-manager list --available*
# subscription-manager list --available*
Copy to Clipboard Copied! - Search for the subscription that provides the Red Hat Certification (for RHEL Server) repository.
- Note the subscription and its Pool ID.
Attach the subscription to your system.
subscription-manager attach --pool=<pool_ID>
# subscription-manager attach --pool=<pool_ID>
Copy to Clipboard Copied! NoteYou don’t have to attach the subscription to your system, if you enable the option Simple content access for Red Hat Subscription Management.
-
Replace the
pool_ID
with the Pool ID of the subscription. Subscribe to the Red Hat Certification channel.
subscription-manager repos --enable=cert-1-for-rhel-9-x86_64-rpms
# subscription-manager repos --enable=cert-1-for-rhel-9-x86_64-rpms
Copy to Clipboard Copied! Install the certification RPMs.
dnf install redhat-certification dnf install redhat-certification-rhoso
# dnf install redhat-certification # dnf install redhat-certification-rhoso
Copy to Clipboard Copied!