<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>DRBD Floating Peers</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">I am evaluating DRBD for possible use. I need to provid</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">e for two possible primaries that can replicate data from a source</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">( r0 )</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">to a</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">secondary</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> system. O</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">ne of the primaries replicates and the other is available to be activated if the first primary fails. For this purpose I defined</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">a virtual IP that can be activated on either primary</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">and</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> used to communicate to the secondary system.</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> In drbd.conf I defined</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">the use of the</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> floating IP via</FONT></SPAN><SPAN LANG="en-us"> </SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New"> floating 14</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">5</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">.24</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">3</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">.1</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">27</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">.243:7789 {</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New"> device /dev/drbd1;</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New"> disk /dev/sdb1;</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New"> meta-disk internal;</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New"> }</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Everything seems to work</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> except that I have not found a way to take the resource down on the primary u</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">sing dbrdadm. Specifically, the command drbdadm down r0 produces the message</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">:</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Courier New">‘r0’ ignored since this host (<hostname>)is not mentioned with an ‘on’ keyword</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">.</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Courier New">So the only way I have found to shut r0 down is to stop the drbd service.</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New"> Other commands such as drbdadm role r0, drbdadm cstate r0,</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"> <FONT SIZE=2 FACE="Courier New">etc. seem to work.</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">1. </FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">Is this a bug or is there a way to</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">reference the resource?</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Courier New">2. </FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">Is there a better way to</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">configure the systems to handle this case?</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Thanks,</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">Claude Duplissey</FONT></SPAN></P>
<UL DIR=LTR>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"><FONT COLOR="#0000FF" SIZE=2 FACE="Times New Roman">This message and/or attachments may include information subject to GDC4S S.P. 1.8.6 and G</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Times New Roman">D Corporate Policy 07-105 and are intended to be accessed only by authorized recipients. Use, storage and transmission are governed by General Dynamics and its policies. Contractual restrictions apply to third parties. Recipients should refer to the pol</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Times New Roman">i</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Times New Roman">cies or contract to determine proper handling. Unauthorized review, use, disclosure or distribution is prohibited. If you are not an intended recipient, please contact the sender and destroy all copies of the original message.</FONT></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
</UL>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>