Questo contenuto non è disponibile nella lingua selezionata.
Chapter 7. Configuring the systems and running tests using RHCert CLI Tool
To proceed with the RHEL hardware certification process, configure the systems to run the certification tests.
7.1. For RHEL hardware certification Copia collegamentoCollegamento copiato negli appunti!
To complete the RHEL hardware certification process by using CLI, you must prepare the host under test (HUT) and test server, run the tests, and retrieve the test results.
7.1.1. Using the test plan to prepare the host under test for testing Copia collegamentoCollegamento copiato negli appunti!
Running the provision command performs a number of operations, such as setting up passwordless SSH communication with the test server, installing the required packages on your system based on the certification type, and creating a final test plan to run, which is a list of common tests taken from both the test plan provided by Red Hat and tests generated on discovering the system requirements.
For instance, required hardware or software packages will be installed if the test plan is designed for certifying a hardware or a software product.
Prerequisites
- You have the hostname or the IP address of the test server.
Procedure
Run the provision command in either way. The test plan will automatically get downloaded to your system.
If you have already downloaded the test plan:
rhcert-provision <path_to_test_plan_document>
# rhcert-provision <path_to_test_plan_document>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace <path_to_test_plan_document> with the test plan file saved on your system.
Follow the on-screen instructions.
If you have not downloaded the test plan:
rhcert-provision
# rhcert-provision
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Follow the on-screen instructions and enter your Certification ID when prompted.
- When prompted, provide the hostname or the IP address of the test server to set up passwordless SSH. You are prompted only the first time you add a new system.
7.1.2. Using the test plan to prepare the test server for testing Copia collegamentoCollegamento copiato negli appunti!
Running the Provision command enables and starts the rhcertd
service, which configures services specified in the test suite on the test server, such as iperf for network testing, and an nfs mount point used in kdump testing.
Prerequisites
- You have the hostname or IP address of the host under test.
Procedure
Run the provision command by defining the role, “test server”, to the system you are adding.
This is required only for provisioning the test server.
rhcert-provision --role test-server <path_to_test_plan_document>
# rhcert-provision --role test-server <path_to_test_plan_document>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace <path_to_test_plan_document> with the test plan file saved on your system.
7.1.3. Running the certification tests using CLI Copia collegamentoCollegamento copiato negli appunti!
Procedure
Run the following command:
rhcert-run
# rhcert-run
Copy to Clipboard Copied! Toggle word wrap Toggle overflow When prompted, choose whether to run each test by typing
yes
orno
.You can also run particular tests from the list by typing
select
.
After a test reboot, rhcert
is running in the background to verify the image. Use tail -f /var/log/rhcert/RedHatCertDaemon.log
to see the current progress and status of the verification.
7.1.4. Submitting the test results file Copia collegamentoCollegamento copiato negli appunti!
Procedure
Log in to authenticate your device.
NoteLogging in is mandatory to submit the test results file.
rhcert-cli login
# rhcert-cli login
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Open the generated URL in a new browser window or tab.
- Enter the login and password and click Log in.
Click Grant access.
Device log in successful message displays.
-
Return to the terminal and enter
yes
to the Please confirm once you grant access prompt.
Submit the result file.
rhcert-submit
# rhcert-submit
Copy to Clipboard Copied! Toggle word wrap Toggle overflow When prompted, enter your Certification ID.
7.2. For RHEL AI hardware certification Copia collegamentoCollegamento copiato negli appunti!
To proceed with the RHEL AI hardware certification process, configure the systems to run the certification tests.
Prerequisites
- You have the hostname or IP address of the host under test.
Procedure
Run the command
rhcert-provision
rhcert-provision
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For the question -
Would you like to download the test plan with a certification ID?
, enteryes
.When prompted, enter your certification ID. You can get this ID from the certification case that you previously created.
After verification, the test suite discovers the supported tests in the HUT. You can view a list of all the supported RHEL AI tests:
-
ilab_inferencing
-
ilab_validation
-
self_check
-
supportable
-
sosreport
-
Execute the discovered tests.
rhcert-run
rhcert-run
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
When prompted, choose whether to run all or each test by typing
yes
orno
. Submit the RHEL AI test results file, by using any of the following steps:
Run the command
rhcert-submit
rhcert-submit
Copy to Clipboard Copied! Toggle word wrap Toggle overflow If your HUT isn’t having internet connectivity, run the command
rhcert-cli save
rhcert-cli save
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The results file gets saved at the default location. Upload it later by using the Red Hat Certification Portal.
Verification
You get a confirmation message about the results file submission. The results file is submitted for the Red Hat certification team’s review.