<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Trebuchet MS" size=2>Could someone confirm these steps <SPAN
class=666513610-27022007>to upgrade from </SPAN>0<SPAN
class=666513610-27022007>.</SPAN>7 to 8.0?</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>####################### <SPAN
class=666513610-27022007>upgrade steps
</SPAN>########################</FONT></DIV>
<DIV><FONT face="Trebuchet MS"><FONT size=2>You will find our existing
configuration below. Basically we have two nodes with two drbd devices. Meta
data is internal.<BR>What we want to do is up<SPAN
class=666513610-27022007>grade</SPAN> kernel (2.6.8 to 2.6.20) and drbd (0.74 to
8.0)<SPAN class=666513610-27022007> at the same time.</SPAN></FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>This is how <SPAN
class=666513610-27022007>I </SPAN>see it:</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>1. Install new kernel, kernel module and
drbd tools on both nodes<BR>2. Shut down both nodes<BR>3. Start primary node
with upgraded kernel<BR>Convert meta data on primary<BR>drbdmeta /dev/drbd0 v08
/dev/sda3 0 create-md<BR>drbdmeta /dev/drbd1 v08 /dev/sdb1 0
create-md<BR>4. <SPAN class=666513610-27022007>Shut</SPAN>down
primary<BR>5.Start secondary<SPAN class=666513610-27022007> with upgraded
kernel</SPAN><BR>6. Convert metadata on secondary</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2>drbdmeta /dev/drbd0 v08 /dev/sda3 0
create-md<BR>drbdmeta /dev/drbd1 v08 /dev/sdb1 0 create-md<BR>7. Sh<SPAN
class=666513610-27022007>u</SPAN>tdown secondary<BR>8. Start both
nodes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>#######################
question<SPAN class=666513610-27022007>s</SPAN>
#######################<BR><SPAN class=666513610-27022007>1. W</SPAN>hat
is the correct syntax for metadata dump/backup and where is the dump file
created ?<BR>I assume something like this:<BR>drbdmeta /dev/drbd0 v07 /dev/sda3
dump-md</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>####################### configuration
#####################</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>resource drbd0 {<BR> protocol
C;<BR> startup {<BR> degr-wfc-timeout
120; # 2 minutes.<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> disk {<BR>
on-io-error detach;<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> net {<BR> timeout
60 ; # 6 seconds
(unit = 0.1 seconds)<BR> connect-int
10 ;# 10 seconds (unit = 1
second)<BR> ping-int
10 ;# 10 seconds (unit = 1
second)<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> syncer {<BR>
al-extents 257;<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> on enajstka{<BR>
device /dev/drbd0;<BR> disk /dev/sda3;<BR>
address 192.168.1.11:7788;<BR> meta-disk internal;<BR>
}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> on dvanajstka
{<BR> device /dev/drbd0;<BR> disk
/dev/sda3;<BR> address
192.168.1.12:7788;<BR> meta-disk internal;<BR>
}<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2>resource drbd1 {<BR> protocol
C;<BR> startup {<BR> degr-wfc-timeout
120; # 2 minutes.<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> disk {<BR>
on-io-error detach;<BR> }</FONT></DIV>
<DIV><FONT face="Trebuchet MS" size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> net {<BR> timeout
60 ; # 6 seconds
(unit = 0.1 seconds)<BR> connect-int
10 ;# 10 seconds (unit = 1
second)<BR> ping-int
10 ;# 10 seconds (unit = 1
second)<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> syncer {<BR> rate
1000M;<BR> al-extents 257;<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS" size=2> on enajstka{<BR>
device /dev/drbd1;<BR> disk /dev/sdb1;<BR>
address 192.168.1.11:7789;<BR> meta-disk internal;<BR>
}<BR> <BR> on dvanajstka {<BR> device
/dev/drbd1;<BR> disk /dev/sdb1;<BR> address
192.168.1.12:7789;<BR> meta-disk internal;<BR>
}<BR>}<BR></FONT></DIV>
<DIV><SPAN class=666513610-27022007><FONT face="Trebuchet MS"
size=2>#################### Thanks for
response ##################</FONT></SPAN></DIV></BODY></HTML>