<div dir="auto">I am not using fence. If I disable pacemaker,how node join cluster (for first example in video - master/slave changing)? So I need a check script for fault states :( </div><div dir="auto"><br></div><div dir="auto">And thank you for reply </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On 20 Feb 2021 Sat at 23:40 damiano giuliani <<a href="mailto:damianogiuliani87@gmail.com">damianogiuliani87@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">Have you correcly configure a working fencing mechanism?without it you cant rely on a safe and consistent environment.</div><div dir="auto">My suggestion is to disable the autostart services (and so the autojoin into the cluster) on both nodes.</div><div dir="auto"> if there is a fault you have to investigate before you rejoin the old fault master node.</div><div dir="auto">Pacemaker (and paf if u are using it) as far i know, doesnt support the autoheal of the old master, so you should resync or pg_rewind eveythime there is a fault.</div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 20 Feb 2021, 19:03 İsmet BALAT, <<a href="mailto:bcalbatros@gmail.com" target="_blank">bcalbatros@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px">I am using Pacemaker with Centos 8 and Postgresql 12. Failover master/slave states successfully run. But if all nodes are masters, pacemaker can't repair its unlikely send command 'pcs resources cleanup'. Wheras I set 60s in resource config. How can I fix it?</span><div><br></div><div><div><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:15px">StackOverFlow link: </span><a href="https://stackoverflow.com/questions/66292304/pacemaker-postgresql-master-master-state" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/66292304/pacemaker-postgresql-master-master-state</a></div></div><div><br></div><div>Thanks</div><div><br></div><div>İsmet BALAT</div></div></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</blockquote></div>
_______________________________________________<br>
Manage your subscription:<br>
<a href="https://lists.clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.clusterlabs.org/mailman/listinfo/users</a><br>
<br>
ClusterLabs home: <a href="https://www.clusterlabs.org/" rel="noreferrer" target="_blank">https://www.clusterlabs.org/</a><br>
</blockquote></div></div>