A membership callback can be one of the following events:

  1. OC_EV_MS_NEW_MEMBERSHIP
    • CCM: membership with quorum
    • CRM/CIB quorum: true
    • CRM/CIB actions: update membership instance & contents

    • CRM actions: none (we wait for the CRMd on that node to become active before any CRM action is taken)

      The TE monitors CIB updates and detects and nodes that unexpectedly left - starting/restarting a transition if required

  2. OC_EV_MS_MS_INVALID
    • CCM: membership without quorum
    • CRM/CIB quorum: false
    • CRM/CIB actions: update membership instance & contents

    • DC actions: Invoke the PolicyEngine to ensure the "No Quorum Policy" is observed

  3. OC_EV_MS_NOT_PRIMARY
    • CCM: old membership (not valid any longer)
    • CRM/CIB quorum: no change
    • DC actions: cancel the transition if one is in progress
  4. OC_EV_MS_PRIMARY_RESTORED This event mean the cluster restores to a stable state that has the same membership as before. It also implies it has the same quorum as before.
    • CCM: old membership restored (same membership as before)
    • CRM/CIB quorum: no change
    • CRM/CIB actions: update membership instance
    • DC actions: Start/restart a transition now that everything is now stable (in theory we would have gotten a OC_EV_MS_NOT_PRIMARY before this which would have cancelled the transition)
  5. OC_EV_MS_EVICTED
    • CCM: the client is evicted from ccm.
    • CRM/CIB quorum: false
    • CRM/CIB actions: update membership instance & contents, shut down This should not happen if correct startup/shutdown order is observed.

CCM/MembershipCallback (last edited 2005-05-10 06:55:51 by AndrewBeekhof)