HomeClusterLabs Projects

Implement logic to handle split-brain scenario
9fbfed63ec00Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Implement logic to handle split-brain scenario

At the start of the agent, this change takes into account:

  • the presence of CEO's static pod etcd
  • a "force_new_cluster" CIB attribute (with lifetime reboot)
  • agent status on the peer node (e.g. active, starting, not starting), obtained enabling OCF_RESKEY_CRM_meta_notify
  • etcd cluster-id, local and on the peer node
  • etcd revision, locally and on the peer node

To decide if the agent should:

  • start normally expecting a cluster of 2 nodes (i.e. during CEO handover)
  • force a new cluster to recover from a etcd quorum failure
  • join and existing cluster-of-1 (and so clear its local etcd data first)

Details

Provenance
clobranoAuthored on Fri, Apr 11, 7:35 AM
Parents
rR0dd303df5e8c: Load etcd configuration from CEO-generated manifest
Branches
Unknown
Tags
Unknown

Event Timeline