<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 14 (filtered medium)"><style><!--
/* Font Definitions */
@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:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></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]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I’m testing pacemaker resource failover in a very simple test environment with two virtual machines.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>3 Cloned resources (drbd dualprimary), controld, clvm.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Fencing with external/ssh that’s it.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I‘m having problems understanding why my clvm resource gets restarted when a failing node gets back online.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>When one node is powerd off (failtest) the remaining node fences the “failing” node and the clvm-resource stays online.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But when the failed node is back online the clvm resource clone on the previously ”remaining “ node gets restarted without visible reason (see logs)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I gues doing something wrong!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>But what?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Anyone who can point me in the right direction?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thank you!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 crmd: [3121]: info: do_pe_invoke: Query 228: Requesting the current CIB: S_POLICY_ENGINE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: unpack_config: On loss of CCM Quorum: Ignore<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: unpack_rsc_op: Operation res_drbd_1:1_monitor_0 found resource res_drbd_1:1 active on tnode1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 crmd: [3121]: info: do_pe_invoke_callback: Invoking the PE: query=228, ref=pe_calc-dc-1316517521-176, seq=1268, quorate=1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: unpack_rsc_op: Operation res_drbd_1:0_monitor_0 found resource res_drbd_1:0 active on tnode2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: clone_print: Master/Slave Set: ms_drbd_1 [res_drbd_1]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: short_print: Masters: [ tnode2 ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: short_print: Slaves: [ tnode1 ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: clone_print: Clone Set: cl_controld_1 [res_controld_dlm]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: short_print: Started: [ tnode2 ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: short_print: Stopped: [ res_controld_dlm:1 ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: native_print: stonith_external_ssh_1#011(stonith:external/ssh):#011Started tnode1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: native_print: stonith_external_ssh_2#011(stonith:external/ssh):#011Started tnode2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: clone_print: Clone Set: cl_clvmd_1 [res_clvmd_clustervg]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: short_print: Started: [ tnode2 ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: short_print: Stopped: [ res_clvmd_clustervg:1 ]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: RecurringOp: Start recurring monitor (60s) for res_controld_dlm:1 on tnode1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: LogActions: Leave res_drbd_1:0#011(Master tnode2)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: LogActions: Promote res_drbd_1:1#011(Slave -> Master tnode1)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: LogActions: Leave res_controld_dlm:0#011(Started tnode2)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: LogActions: Start res_controld_dlm:1#011(tnode1)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: LogActions: Leave stonith_external_ssh_1#011(Started tnode1)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: LogActions: Leave stonith_external_ssh_2#011(Started tnode2)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: LogActions: Restart res_clvmd_clustervg:0#011(Started tnode2)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Sep 20 13:18:41 tnode2 pengine: [3116]: notice: LogActions: Start res_clvmd_clustervg:1#011(tnode1)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>CONFIG<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>node tnode1 \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> attributes standby="off"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>node tnode2 \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> attributes standby="off"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>primitive res_clvmd_clustervg ocf:lvm2:clvmd \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> params daemon_timeout="30" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> operations $id="res_clvmd_clustervg-operations" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op monitor interval="0" timeout="4min" start-delay="5"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>primitive res_controld_dlm ocf:pacemaker:controld \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> operations $id="res_controld_dlm-operations" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op monitor interval="60" timeout="60" start-delay="0" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> meta target-role="started"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>primitive res_drbd_1 ocf:linbit:drbd \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> params drbd_resource="r0" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> operations $id="res_drbd_1-operations" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op start interval="0" timeout="240" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op promote interval="0" timeout="90" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op demote interval="0" timeout="90" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op stop interval="0" timeout="100" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op monitor interval="10" timeout="20" start-delay="1min" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op notify interval="0" timeout="90" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> meta target-role="started" is-managed="true"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>primitive stonith_external_ssh_1 stonith:external/ssh \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> params hostlist="tnode2" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> operations $id="stonith_external_ssh_1-operations" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op start interval="0" timeout="60" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op stop interval="0" timeout="60" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op monitor interval="60" timeout="60" start-delay="0" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> meta failure-timeout="3"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>primitive stonith_external_ssh_2 stonith:external/ssh \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> params hostlist="tnode1" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> operations $id="stonith_external_ssh_2-operations" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op start interval="0" timeout="60" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op stop interval="0" timeout="60" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> op monitor interval="60" timeout="60" start-delay="0" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> meta target-role="started" failure-timeout="3"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>ms ms_drbd_1 res_drbd_1 \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> meta master-max="2" clone-max="2" notify="true" ordered="true" interleave="true"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>clone cl_clvmd_1 res_clvmd_clustervg \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> meta clone-max="2" notify="true"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>clone cl_controld_1 res_controld_dlm \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> meta clone-max="2" notify="true" ordered="true" interleave="true"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>location loc_ms_drbd_1-ping-prefer ms_drbd_1 \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> rule $id="loc_ms_drbd_1-ping-prefer-rule" pingd: defined pingd<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>location loc_stonith_external_ssh_1_tnode2 stonith_external_ssh_1 -inf: tnode2<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>location loc_stonith_external_ssh_2_tnode1 stonith_external_ssh_2 -inf: tnode1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>colocation col_cl_controld_1_cl_clvmd_1 inf: cl_clvmd_1 cl_controld_1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>colocation col_ms_drbd_1_cl_controld_1 inf: cl_controld_1 ms_drbd_1:Master<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>order ord_cl_controld_1_cl_clvmd_1 inf: cl_controld_1 cl_clvmd_1<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>order ord_ms_drbd_1_cl_controld_1 inf: ms_drbd_1:promote cl_controld_1:start<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>property $id="cib-bootstrap-options" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> expected-quorum-votes="2" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> stonith-timeout="30" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> dc-version="1.1.5-ecb6baaf7fc091b023d6d4ba7e0fce26d32cf5c8" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> no-quorum-policy="ignore" \<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> cluster-infrastructure="openais" \<o:p></o:p></span></p></div></body></html>