To prepare DRBD kernel modules for RHEL 9 nodes
Purpose
This process ensures that DRBD modules are signed, persistent, and Secure Boot-compliant, appropriate for air-gapped or production clusters.
Creating and importing a new signing certificate and key for the system are required only when they have not been imported into mokutil.
Enter the following command to verify if a signing certificate and key need to be created and imported:
# mokutil --list-enrolled ↵
If they have been imported into mokutil, you do not need perform this procedure.
Perform this procedure if the following apply:
The procedure involves the following:
When using this procedure, consider the following:
Note: When the kernel is upgraded, you can perform this procedure.
Ensure that the latest RPMs (kernel-headers and kernel-devel) are installed as described in Before you begin Before you begin.
Before you begin
Ensure the following:
-
The RHEL 9.x node has the same kernel version as runtime:
# uname -r ↵
-
When you are installing RHEL with your own RHEL images, install packages as follows:
# sudo dnf install kernel-devel-$(uname -r) kernel-headers-$(uname -r) gcc make bc openssl ↵
Offline installation is possible in an air-gapped network.
Steps
You must perform the following steps on all storage nodes, which are the last three nodes by default.
1 |
Create a module signing certificate.
|
2 |
Reboot and enroll the key.
End of steps |