Brooklyn

Package brooklyn.policy.ha

 

Class Summary
HASensors
HASensors.FailureDescriptor
MemberFailureDetectionPolicy Detects when members of a group have failed/recovered, and emits ENTITY_FAILED or ENTITY_RECOVERED accordingly.
ServiceFailureDetector attaches to a SoftwareProcess (or anything emitting SERVICE_UP and SERVICE_STATE) and emits HASensors.ENTITY_FAILED and ENTITY_RECOVERED as appropriate
ServiceReplacer attaches to a DynamicCluster and replaces a failed member in response to HASensors.ENTITY_FAILED or other sensor; if this fails, it sets the Cluster state to on-fire
ServiceRestarter attaches to a SoftwareProcess (or anything Startable, emitting ENTITY_FAILED or other configurable sensor), and invokes restart on failure; if there is a subsequent failure within a configurable time interval, or if the restart fails, this gives up and emits ENTITY_RESTART_FAILED
 


Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.