Update DRBD kernel module before nodes are rebooted into a new kernel
If an OS update requires a DRBD kernel update, we should follow this procedure before you reboot the nodes into the new OS kernel.
About this task
There are different procedures for updating the DRBD kernel module for a high availability (HA) configuration, a disaster recovery (DR) configuration, or a combined DR/HA configuration.For HA configurations, complete the steps on each node in the HA group in turn. Processing can continue on other nodes while the update is in progress.
Procedure
- To update the DRBD kernel module before a node is rebooted into a new kernel for RDQM HA:
- Log in as root, or switch to the superuser using the su command.
- Suspend the node from the HA group:
rdqmadm -s- Update the OS. For example:
yum update- Determine which DRBD kernel module is compatible with the new kernel level (see https://ibm.biz/mqrdqmkernelmods for guidance on which kernel module is compatible). For example, for moving to RHEL 7.8 (3.10.0_1127) with IBM MQ 9.2.0.0, the required kernel module is kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm.
- Update the DRBD kernel module with the one you identified in step 4. For example:
yum install kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm- Reboot the node. This will reboot to the new kernel level:
sudo reboot- Resume the node in the HA group:
rdqmadm -rWe can now repeat this procedure for the next node in the HA group.
- To update the DRBD kernel module before nodes are rebooted into a new kernel for RDQM DR:
- Update the OS and the DRBD kernel module on the DR secondary node:
- Log in as root, or switch to the superuser using the su command.
- Update the OS. For example:
yum update- Determine which DRBD kernel module is compatible with the new kernel level (see https://ibm.biz/mqrdqmkernelmods for guidance on which kernel module is compatible). For example, for moving to RHEL 7.8 (3.10.0_1127) with IBM MQ 9.2.0.0, the required kernel module is kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm.
- Update the DRBD kernel module with the one you identified in step 4. For example:
yum install kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm- Reboot the node. This will reboot to the new kernel level:
sudo reboot
- On the DR primary node, complete one of the following steps:
- End the DR queue managers, or
- Perform a managed failover of the DR queue managers to the DR secondary node.
- Update the OS and the DRBD kernel module on DR primary node:
- Log in as root, or switch to the superuser using the su command.
- Update the OS. For example:
yum update- Determine which DRBD kernel module is compatible with the new kernel level (see https://ibm.biz/mqrdqmkernelmods for guidance on which kernel module is compatible). For example, for moving to RHEL 7.8 (3.10.0_1127) with IBM MQ 9.2.0.0, the required kernel module is kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm.
- Update the DRBD kernel module with the one you identified in step 4. For example:
yum install kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm- Reboot the node. This will reboot to the new kernel level:
sudo reboot
- On the DR primary node, complete one of the following steps:
- Start the DR queue managers, or
- Perform a managed failover of the DR queue managers to the DR primary node.
- To update the DRBD kernel module before nodes are rebooted into a new kernel for RDQM DR/HA:
- Update the OS and the DRBD kernel module on your recovery site. Complete the following steps on each node in the group in turn.
- Log in as root, or switch to the superuser using the su command.
- Suspend the node from the HA group:
rdqmadm -s- Update the OS. For example:
yum update- Determine which DRBD kernel module is compatible with the new kernel level (see https://ibm.biz/mqrdqmkernelmods for guidance on which kernel module is compatible). For example, for moving to RHEL 7.8 (3.10.0_1127) with IBM MQ 9.2.0.0, the required kernel module is kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm.
- Update the DRBD kernel module with the one you identified in step 4. For example:
yum install kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm- Reboot the node. This will reboot to the new kernel level:
sudo reboot- Resume the node in the HA group:
rdqmadm -rWe can now repeat this procedure for the next node in the HA group.
- Update the OS and the DRBD kernel module on your main site. Complete the following steps on each node in the group in turn.
- Log in as root, or switch to the superuser using the su command.
- Suspend the node from the HA group:
rdqmadm -s- Update the OS. For example:
yum update- Determine which DRBD kernel module is compatible with the new kernel level (see https://ibm.biz/mqrdqmkernelmods for guidance on which kernel module is compatible). For example, for moving to RHEL 7.8 (3.10.0_1127) with IBM MQ 9.2.0.0, the required kernel module is kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm.
- Update the DRBD kernel module with the one you identified in step 4. For example:
yum install kmod-drbd-9.0.23_3.10.0_1127-1.x86_64.rpm- Reboot the node. This will reboot to the new kernel level:
sudo reboot- Resume the node in the HA group:
rdqmadm -rWe can now repeat this procedure for the next node in the HA group.
Parent topic: Applying OS updates with RDQM