<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
In attachment you have the drbd.conf for the 0.7.25 and 8.2.0.<br>
<br>
Best regards.<br>
<br>
Francis<br>
<br>
Francis SOUYRI wrote:
<blockquote cite="mid:47302ACE.5040404@apec.fr" type="cite">Hello,<br>
<br>
I tried to upgrade a cluster with internal metadata from drbd 0.7.25 to
drbd 8.2.0 with this procedure.<br>
<br>
On one node (the packages are running on the other node).<br>
<ul>
<li>/etc/init.d/heartbeat
stop
# stop heartbeat<br>
</li>
<li>/etc/init.d/drbd
stop
# stop drbd<br>
</li>
<li>rpm -ev drbd-km-2.6.22.9_91.fc7-0.7.25-1
drbd-0.7.25-1 # remove drbd 0.7.25<br>
</li>
<li>rpm -ivh drbd-km-2.6.22.9_91.fc7-8.2.0-3.i386.rpm
drbd-8.2.0-3.i386.rpm # install drbd 8.2.0<br>
</li>
<li>cp -p /etc/drbd.conf.new
/etc/drbd.conf
# install the drbd 8.2.0 config<br>
</li>
<li>drbdadm create-md <resource
name>
# migrate each resources<br>
</li>
</ul>
But the last command failed for 6 of the 7 resources (only drbd0
migrate) with the message:<br>
<br>
##### BEGIN<br>
<tt><br>
...<br>
<br>
</tt><tt>WARN:<br>
You are using the 'drbd-peer-outdater' as outdate-peer program.<br>
If you use that mechanism the dopd heartbeat plugin program needs<br>
to be able to call drbdsetup and drbdmeta with root privileges.<br>
<br>
You need to fix this with these commands:<br>
chgrp haclient /sbin/drbdmeta<br>
chmod o-x /sbin/drbdmeta<br>
chmod u+s /sbin/drbdmeta<br>
<br>
<br>
v08 Magic number not found<br>
v07 Magic number not found<br>
About to create a new drbd meta data block<br>
on /dev/vgroot/lv<resource name>.<br>
<br>
==> This might destroy existing data! <==<br>
<br>
Do you want to proceed?<br>
[need to type 'yes' to confirm]<br>
</tt><br>
##### END<br>
<br>
I tested with drbd 8.0.6 and I have the same problem, I do not test the
8.2.1 or 8.0.7...<br>
<br>
I hope my post is clearer, if not please do not hesitate to ask me
questions...<br>
<br>
Best regards.<br>
<br>
Francis<br>
</blockquote>
</body>
</html>