<DIV>Hi,</DIV> <DIV> </DIV> <DIV>Iam trying to enable dopd into my system.</DIV> <DIV> </DIV> <DIV>Iam using </DIV> <DIV> </DIV> <DIV>heartbeat-2.0.8</DIV> <DIV>drbd-8.2.5</DIV> <DIV>RHEL 4</DIV> <DIV>Kernel-2.6.9_5 (Linux)</DIV> <DIV> </DIV> <DIV>I configured all the steps related to dopd that is present in drbd users-guide.</DIV> <DIV> </DIV> <DIV>After configuring dopd and bringing down the secondary's interface (ifconfig eth0 down) i get the following status in /proc/drbd</DIV> <DIV> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>[root@slave ~]# ifconfig eth0 down</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>[root@slave ~]# cat /proc/drbd</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>version: 8.2.5 (api:88/proto:86-88)</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in
0in 0pt"><FONT face="Times New Roman" size=3>GIT-hash: 9faf052fdae5ef0c61b4d03890e2d2eab550610c build by root@slave, 2008-03-15 09:28:29</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>0: cs:WFConnection st:Secondary/Primary ds:UpToDate/<SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Nimbus Roman No9 L'">DUnknown</SPAN> C r--</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>ns:0 nr:0 dw:49 dr:200781 al:1 bm:16 lo:0 pe:0 ua:0 ap:0</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>resync: used:0/31 hits:12540 misses:14 starving:0 dirty:0 changed:14</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New
Roman"><SPAN> </SPAN>act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0</FONT></FONT></DIV> <DIV> <DIV> </DIV> <DIV>I actually got some warnings when i executed the following 2 steps</DIV> <DIV> </DIV></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>[root@slave ~]# service heartbeat reload</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Reloading High-Availability services:</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>heartbeat[12744]: 2008/03/15_10:41:32 WARN: Logging daemon is disabled --enabling logging daemon is recommended</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>heartbeat[12744]: 2008/03/15_10:41:32 info: Signalling heartbeat pid 12507 to reread config
files<SPAN> </SPAN>[<SPAN> </SPAN>OK<SPAN> </SPAN>]</FONT></DIV> <DIV> <DIV> </DIV> <DIV> </DIV> <DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>[root@slave ~]# drbdadm adjust export</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>WARN:</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>You are using the 'drbd-peer-outdater' as outdate-peer program.</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT
face="Times New Roman"><SPAN> </SPAN>If you use that mechanism the dopd heartbeat plugin program needs</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>to be able to call drbdsetup and drbdmeta with root privileges.</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"></FONT></FONT> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>You need to fix this with these commands:</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>chgrp haclient /sbin/drbdsetup</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>chmod o-x /sbin/drbdsetup</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in
0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>chmod u+s /sbin/drbdsetup</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"></FONT></FONT> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"></FONT></FONT> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>WARN:</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>You are using the 'drbd-peer-outdater' as outdate-peer program.</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>If you use that mechanism the dopd heartbeat plugin program needs</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>to be able to call
drbdsetup and drbdmeta with root privileges.</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"></FONT></FONT> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>You need to fix this with these commands:</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>chgrp haclient /sbin/drbdmeta</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>chmod o-x /sbin/drbdmeta</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN> </SPAN>chmod u+s /sbin/drbdmeta</FONT></FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3></FONT> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in
0pt"><FONT face="Times New Roman" size=3>I executed the six steps that are underlined above and again executed </FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>drbdadm adjust export</FONT></DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"> </DIV> <DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>I found the master and slave synchronising </FONT> via /proc/drbd</DIV> <DIV> </DIV> <DIV>I cant figure out the problem. What is the problem? </DIV> <DIV> </DIV> <DIV>Regards</DIV> <DIV>Swetha<BR></DIV></DIV></DIV><p> 
<!--1--><hr size=1></hr> Download prohibited? No problem. <a href="http://in.rd.yahoo.com/tagline_webmessenger_1/*http://in.messenger.yahoo.com/webmessengerpromo.php">CHAT</a> from any browser, without download.