[DRBD-user] Help Upgrading DRBD Versions

ha at buglecreek.com ha at buglecreek.com
Thu Dec 4 18:46:00 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


In a previous thread it was suggested that I should upgrade to
drbd-8.0.14 from drbd-8.0.8 since I am required to upgrade my two node
cluster's kernels from kernel-2.6.23.8-63.fc8 to kernel-2.6.26.6-49.fc8
since the 2.6.26 kernel will not work with drbd-8.0.8.  So that's what I
am going to do, but I am having difficulty on how to proceed.  The
system is a intranet with mysql and http running on it that is highly
used.  Heartbeat takes care of starting everything.  I have searched for
a method to do this upgrade and have not been able to find anything I
can use.  I would like to keep the original kernel and drbd kernel
module in place in order to reboot to original state if something goes
wrong.  Will the following work:

On Backup node:
Download drdb-8.0.14
unpack
cd drbd-8.0.14/drbd
make clean
make KDIR=/usr/src/kernels/2.6.26.6-49.fc8-i686
make install
Reboot system to new kernel and new drbd.ko module and let heartbeat
control startup of services as required.  Once that seems to work, fail
over to standby system and let it take over services and repeat the
above on the primary mode.  Reboot primary and let heartbeat  mount drbd
drive, assume services  etc.  Does this seem reasonable?  A few
questions:

1.Can you run two different versions of drbd on each node (pri- 8.0.8
sec-8.0.14) until you completely migrate to the new version of drbd?
2.Do the drbd tools need to be rebuilt? 
If so, won't it overwrite the drbd tools already there making it hard to
revert back?

I may be making this harder than it needs to be, but I inherited this
setup.  That's why all the questions.  Thanks for any help.



More information about the drbd-user mailing list