Hi jaikumar, Ilo/sbd fencing should provide node reboot in case of network split. Is your node properly fenced? Anyway if your cluster is managing a db services like postgres as replication throught wal log when a failover occurs you MUST resync or pg_rewind in order to guarantee the cosistency. Pacemaker for postgres doesnt supoort(as far i know) any kind of autohealing of the "new" slave.
Hope it helps Damiano On Sat, 30 Jan 2021, 13:41 Sharma, Jaikumar, <[email protected]> wrote: > > > fence_drac5 , fence_drac (not sure about that) , SBD > I've configured IPMI over LAN giving static IP addresses to both nodes (at > iDRAC level) in cluster and I can power reset/reboot both nodes in the > cluster by sending commands from OS using ipmitool, but not sure how > fencing is going to work if one node out of two has network cable plugged > out? Since it is out of the cluster, not possible to reboot it as it is > already out of the cluster and without network connectivity. > > Reason to implement fencing (as this thread started with) is that in two > node cluster (master/slave), one node losing network connectivity (because > of pulling out the network cable of master node) and slave will become new > master and provide the necessary services , but as soon as I plug-in the > cable back to the node race of joining this node as master starts while > there is already a master and database sync issue occur between the two > nodes. > > How will fencing (node or resource ?) will help in this case? > > OR > > As soon as other node joins the cluster it does not come into race of > becoming master but just join the cluster as a slave. > > Any further pointers will be appreciated, > > Thank you. > > Regards, > Jaikumar > > Sent from Yahoo Mail on Android > <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature> > > On Mon, Jan 25, 2021 at 11:23, Sharma, Jaikumar > <[email protected]> wrote: > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ > > _______________________________________________ > Manage your subscription: > https://lists.clusterlabs.org/mailman/listinfo/users > > ClusterLabs home: https://www.clusterlabs.org/ >
_______________________________________________ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/
