<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 2017-07-24 11:04 PM, ztj wrote:<br>
<blockquote type="cite"
cite="mid:001b01d304f2$c8e9f950$5abdebf0$@yuancore.com">
<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:\7B49\7EBF;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@\7B49\7EBF";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:\7B49\7EBF;}
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:\7B49\7EBF;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:\7B49\7EBF;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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]-->
<div class="WordSection1">
<p class="MsoNormal"
style="margin-left:10.5pt;text-indent:-10.5pt"><span
style="font-family:"Arial",sans-serif;color:#2A2E2E;background:white"
lang="EN-US">Hi all,</span><span
style="font-family:"Arial",sans-serif;color:#2A2E2E"
lang="EN-US"><br>
<span style="background:white">I have 2 Centos nodes with
heartbeat and pacemaker-1.1.13 installed, and almost
everything is working fine, I have only apache configured
for testing, when a node goes down the failover is done
correctly, but there's a problem when a node failbacks.</span><br>
<br>
<span style="background:white">For example, let's say that
Node1 has the lead on apache resource, then I reboot
Node1, so Pacemaker detect it goes down, then apache is
promoted to the Node2 and it keeps there running fine,
that's fine, but when Node1 recovers and joins the cluster
again, apache is restarted on Node2 again.</span><br>
<br>
<span style="background:white">Anyone knows, why resources
are restarted when a node rejoins a cluster? thanks</span></span><span
lang="EN-US"><o:p></o:p></span></p>
</div>
</blockquote>
<br>
You sent this to the moderators, not the list.<br>
<br>
Please don't use heartbeat, it is extremely deprecated. Please
switch to corosync.<br>
<br>
To offer any other advice, you need to share your config and the
logs from both nodes. Please respond to the list, not
<a class="moz-txt-link-abbreviated" href="mailto:developers-owner@clusterlabs.org">developers-owner@clusterlabs.org</a>.<br>
<br>
digimer<br>
<pre class="moz-signature" cols="72">--
Digimer
Papers and Projects: <a class="moz-txt-link-freetext" href="https://alteeve.com/w/">https://alteeve.com/w/</a>
"I am, somehow, less interested in the weight and convolutions of Einstein’s brain than in the near certainty that people of equal talent have lived and died in cotton fields and sweatshops." - Stephen Jay Gould</pre>
</body>
</html>