<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="metricconverter"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:3.0pt;
        margin-left:39.6pt;
        text-indent:-21.6pt;
        page-break-after:avoid;
        mso-list:l2 level1 lfo4;
        font-size:16.0pt;
        font-family:Arial;}
h2
        {margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:12.0pt;
        margin-left:46.8pt;
        text-align:justify;
        text-indent:-28.8pt;
        page-break-after:avoid;
        mso-list:l2 level2 lfo4;
        font-size:11.0pt;
        font-family:Tahoma;}
h3
        {margin-top:0cm;
        margin-right:3.1pt;
        margin-bottom:0cm;
        margin-left:90.0pt;
        margin-bottom:.0001pt;
        text-align:justify;
        text-indent:-36.0pt;
        page-break-after:avoid;
        mso-list:l0 level3 lfo5;
        font-size:10.0pt;
        font-family:Verdana;
        text-transform:uppercase;}
h4
        {margin-top:0cm;
        margin-right:3.1pt;
        margin-bottom:0cm;
        margin-left:61.2pt;
        margin-bottom:.0001pt;
        text-align:justify;
        text-indent:-43.2pt;
        page-break-after:avoid;
        mso-list:l2 level4 lfo4;
        font-size:11.0pt;
        font-family:Verdana;
        text-transform:uppercase;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
        {mso-style-type:personal-compose;
        font-family:Tahoma;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:6762679;
        mso-list-template-ids:-12131196;}
@list l0:level1
        {mso-level-tab-stop:18.0pt;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Verdana;
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l0:level2
        {mso-level-text:"%1\.%2";
        mso-level-tab-stop:82.8pt;
        mso-level-number-position:left;
        margin-left:82.8pt;
        text-indent:-28.8pt;
        mso-ansi-font-weight:bold;
        mso-ansi-font-style:normal;}
@list l0:level3
        {mso-level-style-link:"Titolo 3";
        mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:90.0pt;
        mso-level-number-position:left;
        margin-left:90.0pt;
        text-indent:-36.0pt;}
@list l0:level4
        {mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:97.2pt;
        mso-level-number-position:left;
        margin-left:97.2pt;
        text-indent:-43.2pt;}
@list l0:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        margin-left:82.35pt;
        text-indent:-1.0cm;}
@list l0:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:111.6pt;
        mso-level-number-position:left;
        margin-left:111.6pt;
        text-indent:-57.6pt;}
@list l0:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:118.8pt;
        mso-level-number-position:left;
        margin-left:118.8pt;
        text-indent:-64.8pt;}
@list l0:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:126.0pt;
        mso-level-number-position:left;
        margin-left:126.0pt;
        text-indent:-72.0pt;}
@list l0:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:133.2pt;
        mso-level-number-position:left;
        margin-left:133.2pt;
        text-indent:-79.2pt;}
@list l1
        {mso-list-id:1676422185;
        mso-list-type:hybrid;
        mso-list-template-ids:-477596226 68157457 68157465 68157467 68157455 68157465 68157467 68157455 68157465 68157467;}
@list l1:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l2
        {mso-list-id:1964117485;
        mso-list-template-ids:1826102214;}
@list l2:level1
        {mso-level-style-link:"Titolo 1";
        mso-level-text:%1;
        mso-level-tab-stop:39.6pt;
        mso-level-number-position:left;
        margin-left:39.6pt;
        text-indent:-21.6pt;}
@list l2:level2
        {mso-level-style-link:"Titolo 2";
        mso-level-text:"%1\.%2";
        mso-level-tab-stop:46.8pt;
        mso-level-number-position:left;
        margin-left:46.8pt;
        text-indent:-28.8pt;}
@list l2:level3
        {mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:54.0pt;
        mso-level-number-position:left;
        margin-left:54.0pt;
        text-indent:-36.0pt;}
@list l2:level4
        {mso-level-style-link:"Titolo 4";
        mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:61.2pt;
        mso-level-number-position:left;
        margin-left:61.2pt;
        text-indent:-43.2pt;}
@list l2:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        margin-left:46.35pt;
        text-indent:-1.0cm;}
@list l2:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:75.6pt;
        mso-level-number-position:left;
        margin-left:75.6pt;
        text-indent:-57.6pt;}
@list l2:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:82.8pt;
        mso-level-number-position:left;
        margin-left:82.8pt;
        text-indent:-64.8pt;}
@list l2:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:90.0pt;
        mso-level-number-position:left;
        margin-left:90.0pt;
        text-indent:-72.0pt;}
@list l2:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:97.2pt;
        mso-level-number-position:left;
        margin-left:97.2pt;
        text-indent:-79.2pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>

</head>

<body lang=IT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>I have mysql on drbd with heartbeat and dopd.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>When I do cold backup on DRBD mysql disk, the
sequence is:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo6'><![if !supportLists]><font
size=2 face=Tahoma><span lang=EN-GB style='font-size:10.0pt;font-family:Tahoma'><span
style='mso-list:Ignore'>1)<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><font
size=2 face=Tahoma><span lang=EN-GB style='font-size:10.0pt;font-family:Tahoma'>Stop
mysql service<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo6'><![if !supportLists]><font
size=2 face=Tahoma><span lang=EN-GB style='font-size:10.0pt;font-family:Tahoma'><span
style='mso-list:Ignore'>2)<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><font
size=2 face=Tahoma><span lang=EN-GB style='font-size:10.0pt;font-family:Tahoma'>Do
a backup of data on DRBD disk on another dir always on DRBD disk<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo6'><![if !supportLists]><font
size=2 face=Tahoma><span lang=EN-GB style='font-size:10.0pt;font-family:Tahoma'><span
style='mso-list:Ignore'>3)<font size=1 face="Times New Roman"><span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span></span></font><![endif]><font
size=2 face=Tahoma><span lang=EN-GB style='font-size:10.0pt;font-family:Tahoma'>Start
mysql service<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>mysql service is not running, so shouldn&#8217;t be problems
if I take secondary node down for a while, what you think of this ?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>Can someone tell me what is the best method to add
command after poit <st1:metricconverter ProductID="1 in" w:st="on">1 in</st1:metricconverter>
backup script so secondary node will be disconnected ?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>backup should be faster and at the end of backup I
can reconnect secondary and restart mysql service and DRBD resync.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>All this should be on the primary (owner of drbd resource),
so I need commands that instruct peer node to disconnect/reconnect.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>At reconnection resynchronization should be take
place automatically and straightforward.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Tahoma><span lang=EN-GB style='font-size:
10.0pt;font-family:Tahoma'>Thank you.<o:p></o:p></span></font></p>

</div>

</body>

</html>