Linux-HA Logo

DRBD needs to be updated or re-compiled everytime a new kernel is installed. This guide is only for minor version upgrades. Make sure there have not been any API or Protocol changes. In order to update drbd you need to follow these steps:

1. Find and download the latest version of the DRBD packages[1]. Use the 0.7.X series as the newer 0.8.X series is not yet stable.

2. Extract the sources in /usr/src:

3. Find out what is the version of the new kernel so that you can build drbd for that kernel:

4. Build DRBD for all the new kernels:

5. Install the rpms located in dist/RPMS/{arch}/

6. Copy the files to the appropriate rpms folder in /home/sysadm/src in order to make them available when updating the other servers.

7. You are ready to reboot the server with the new kernel. DRBD should work correctly now.


References

[1]http://oss.linbit.com/drbd/


This information provided courtesy of the Linux-HA project at http://linux-ha.org/