Persistent Cluster Restart Design NotePage edited by Alan ConwayPersistent clusters.A cluster has either all transient or all persistent members, mixed clusters are not allowed. Persistent restart scenarios:
Other requirements:
Wait for NNew option: cluster-wait-for N. Wait for at least N initial members before going active.
Can be used with transient and persistent clusters. Transient clusterInitialization
Joining
Persistent clusterStore statess on broker start-up:
Initial UUID is stored on the first run of a persistent cluster. Used to ensure members are part of the same cluster. Final UUID is stored at administrative shut-down of the cluster. Used to ensure clean stores are from the same shut-down event. Initialization
All empty is a valid store state: all members record the same initial UUID and go active. If any are non empty then
All clean members restore from stores. All empty members set the initial UUID from the cluster. All dirty/empty members get an update from a clean member. JoiningIf the new member has a non-empty store, the initial UUID must match the cluster. The new member gets an update from the cluster. Manual RecoveryIf the entire cluster fails then manual recovery is required. While running brokers will peridiocally (on every membership change and at some configured time interval) write a sequence number to disk. Provide tools to examine broker data directories and determine if they belong to the same cluster (same initial UUID) and if so which is the latest based on the sequence number. Recovery procedure is to mark the latest store as clean and restart the cluster.
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
- [CONF] Apache Qpid > Persistent Cluster Restart Design Note confluence
- [CONF] Apache Qpid > Persistent Cluster Restart Design ... confluence
- [CONF] Apache Qpid > Persistent Cluster Restart Design ... confluence
- [CONF] Apache Qpid > Persistent Cluster Restart Design ... confluence
- [CONF] Apache Qpid > Persistent Cluster Restart Design ... confluence
- [CONF] Apache Qpid > Persistent Cluster Restart Design ... confluence
- [CONF] Apache Qpid > Persistent Cluster Restart Design ... confluence