<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Did you configure drbd storage plugin with "drbdmanage
modify-config --node .... " ?</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 07/12/2017 12:19 AM, Eric Robinson
wrote:<br>
</div>
<blockquote
cite="mid:DM5PR03MB27297ADA5166FBA2EA7B14B1FAAE0@DM5PR03MB2729.namprd03.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:614294607;
        mso-list-type:hybrid;
        mso-list-template-ids:-793882130 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Longtime v. 8 user here. First time doing
v. 9. I followed all the directions in the DRBD v 9 user guide
and all my drbdmanage commands completed successfully. I have
2 nodes, 2 resources, 2 volumes. BUT, I don’t seem to have a
working cluster yet. The guide does not say how to start the
first sync.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Questions:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">1.<span style="font:7.0pt
"Times New Roman"">
</span></span><!--[endif]-->When you use drbdmanage to
configure a cluster, does it create configuration files
somewhere? I don’t see my resources mentioned in the files
under /etc/drbd.d or /var/lib/drbd.d.<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">2.<span style="font:7.0pt
"Times New Roman"">
</span></span><!--[endif]-->When I run drbdmanage
modify-config all I see is a file with all lines commented
out.<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">3.<span style="font:7.0pt
"Times New Roman"">
</span></span><!--[endif]-->drbdmanage –list-assignments
shows failed or pending actions.<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">4.<span style="font:7.0pt
"Times New Roman"">
</span></span><!--[endif]-->What’s the point of using
drbdmanage if I’m going to have to do the old-style manual
configuration anyway?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What am I missing? Here is the output of
some relevant commands:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ha11b:/etc/drbd.d # drbdmanage list-nodes<o:p></o:p></p>
<p class="MsoNormal">+------------------------------------------------------------------------------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">| Name | Pool Size | Pool Free
|
| State |<o:p></o:p></p>
<p class="MsoNormal">|------------------------------------------------------------------------------------------------------------|<o:p></o:p></p>
<p class="MsoNormal">| ha11a | 2293760 | 1387564
|
| ok |<o:p></o:p></p>
<p class="MsoNormal">| ha11b | 2293760 | 2293752
|
| ok |<o:p></o:p></p>
<p class="MsoNormal">+------------------------------------------------------------------------------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">ha11b:/etc/drbd.d # drbdmanage
list-resources<o:p></o:p></p>
<p class="MsoNormal">+------------------------------------------------------------------------------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">| Name
|
| State |<o:p></o:p></p>
<p class="MsoNormal">|------------------------------------------------------------------------------------------------------------|<o:p></o:p></p>
<p class="MsoNormal">| ha01_mysql
|
| ok |<o:p></o:p></p>
<p class="MsoNormal">| ha02_mysql
|
| ok |<o:p></o:p></p>
<p class="MsoNormal">+------------------------------------------------------------------------------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">ha11b:/etc/drbd.d # drbdmanage list-volumes<o:p></o:p></p>
<p class="MsoNormal">+------------------------------------------------------------------------------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">| Name | Vol ID | Size | Minor
|
| State |<o:p></o:p></p>
<p class="MsoNormal">|------------------------------------------------------------------------------------------------------------|<o:p></o:p></p>
<p class="MsoNormal">| ha01_mysql | 0 | 905990 | 100
|
| ok |<o:p></o:p></p>
<p class="MsoNormal">| ha02_mysql | 0 | 905990 | 101
|
| ok |<o:p></o:p></p>
<p class="MsoNormal">+------------------------------------------------------------------------------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">ha11b:/etc/drbd.d # drbdmanage
list-assignments<o:p></o:p></p>
<p class="MsoNormal">+------------------------------------------------------------------------------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">| Node | Resource | Vol ID
|
| State |<o:p></o:p></p>
<p class="MsoNormal">|------------------------------------------------------------------------------------------------------------|<o:p></o:p></p>
<p class="MsoNormal">| ha11a | ha01_mysql | *
| | FAILED(3), pending
actions: reconfigure |<o:p></o:p></p>
<p class="MsoNormal">| ha11b | ha02_mysql | *
| | FAILED(2), pending
actions: reconfigure |<o:p></o:p></p>
<p class="MsoNormal">+------------------------------------------------------------------------------------------------------------+<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">--<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Eric Robinson<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
<br>
</body>
</html>