- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -11,7 +11,7 @@
 
 To be able to do power fencing in a virtualized environment this ticket 
suggests
 to use STONITH.
-When FM detects its peer is not available, both active and standby, in an 
virtualized environment the active FM system controller will use STONITH to 
power fence the FM standby system controller, (not power reset). The FM standby 
system controller will also power fence, but with a delay,  the active FM 
system controller.
+When FM detects its peer is not available, both active and standby, in an 
virtualized environment the active FM system controller will use STONITH to 
power fence the FM standby system controller. The FM standby system controller 
will also power fence, but with a delay,  the active FM system controller.
 This will solve the above identified split-brain cases.
 It will also fit well with the roaming feature. E.g. after power fencing a 
standby controller a new standby controller will automatically be selected by 
the roaming feature.
 

~~~~




---

** [tickets:#1859] fm: Add support for STONITH fencing**

**Status:** review
**Milestone:** 5.1.FC
**Created:** Wed Jun 01, 2016 01:49 PM UTC by Hans Nordebäck
**Last Updated:** Wed Jun 22, 2016 07:15 AM UTC
**Owner:** Hans Nordebäck
**Attachments:**

- 
[self_fencing.diff](https://sourceforge.net/p/opensaf/tickets/1859/attachment/self_fencing.diff)
 (6.1 kB; text/x-patch)


Split brain can occur in OpenSAF if either both links between the two 
controllers are "lost"
or one of the controller "live hangs". 

OpenSAF handles and detects split-brain via FM and uses PLM to fence the other 
system controller using reboot. PLM only supports target environments running 
on particular hardware

Only a few split-brain cases has been seen and only when running in virtualized 
environments:
1) Virtual switches problems that makes SCs isolated from each other.
2) Both TIPC links between the SCs are "down/lost", e.g. TIPC tolerance time 
too low, non-redundant links, other latencies etc.
3) A system controller in a virtual machine is "live hanging" for several 
seconds, e.g. due to  
live migration/snapshotting.

To be able to do power fencing in a virtualized environment this ticket suggests
to use STONITH.
When FM detects its peer is not available, both active and standby, in an 
virtualized environment the active FM system controller will use STONITH to 
power fence the FM standby system controller. The FM standby system controller 
will also power fence, but with a delay,  the active FM system controller.
This will solve the above identified split-brain cases.
It will also fit well with the roaming feature. E.g. after power fencing a 
standby controller a new standby controller will automatically be selected by 
the roaming feature.

In situations where remote fencing is not possible, we could also enhance the 
criteria for when a node should self-fence. The attached patch 
self_fencing.diff is a proposal for a mechanism that can detect when a 
controller node suddenly loses contact with all the other nodes in the cluster, 
in which case it will assume the fault is local and reboot itself.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to