<html><head></head><body>Hello Jacob,<br>
<br>
Look at the journal. It will tell you. Also, it's hard to debug without any information from the daemons.<br>
<br>
Regards,<br>
Noel Kuntze<br><br><div class="gmail_quote">Am 9. August 2015 05:02:15 MESZ, schrieb jun huang <huangjun.job@gmail.com>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hello Everyone,<div><br /></div><div><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,34,34);line-height:19.5px">I setup a cluster with two nodes with pacemaker 1.1.10 on CentOS 7. Then I downloaded a<a href="https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/nginx" rel="nofollow" style="margin:0px;padding:0px;border-width:0px 0px 1px;border-bottom-style:dotted;border-bottom-color:rgb(69,69,69);text-decoration:none;color:rgb(12,101,165)">resource agent for nginx from github</a></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,34,34);line-height:19.5px">I tested my setup like this:</p><ol style="margin:0px 0px 1em 30px;padding:0px;border:0px;font-size:15px;color:rgb(34,34,34);line-height:19.5px"><li style="margin:0px 0px 0.5em;padding:0px;border:0px;word-wrap:break-word">Node 1 is started with the nginx and vip, everyting is ok</li><li style="margin:0px 0px 0.5em;padding:0px;border:0px;word-wrap:break-word">Kill Node1 nginx, wait for a few seconds</li><li style="margin:0px 0px 0.5em;padding:0px;border:0px;word-wrap:break-word">See the ngnix and vip are moved to node2, failover succeeded, and Node1 doesn't have any resources active</li><li style="margin:0px 0px 0.5em;padding:0px;border:0px;word-wrap:break-word">I kill nginx on node2, but nginx and vip don't come back to Node1</li></ol><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,34,34);line-height:19.5px">I set <code style="margin:0px;padding:1px 5px;border:0px;font-size:13px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:pre-wrap;background-color:rgb(238,238,238)">no-quorum-policy="ignore"</code> and <code style="margin:0px;padding:1px 5px;border:0px;font-size:13px;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,sans-serif;white-space:pre-wrap;background-color:rgb(238,238,238)">stonith-enabled="false"</code>.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,34,34);line-height:19.5px">Why won't pacemaker let the resource come back to Node1? What did I miss here?</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,34,34);line-height:19.5px"><br />I guess the node1 is still in some failure status, how can I recovery the node? Does anyone can shed some light on my questions? Thank you in advance.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,34,34);line-height:19.5px">Thanks,</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;color:rgb(34,34,34);line-height:19.5px">Jacob</p></div></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />Users mailing list: Users@clusterlabs.org<br /><a href="http://clusterlabs.org/mailman/listinfo/users">http://clusterlabs.org/mailman/listinfo/users</a><br /><br />Project Home: <a href="http://www.clusterlabs.org">http://www.clusterlabs.org</a><br />Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br />Bugs: <a href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a><br /></pre></blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>