<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>