[ClusterLabs] About fencing stonith
kwenning at redhat.com
Fri Sep 7 05:41:00 EDT 2018
On 09/06/2018 10:47 PM, Digimer wrote:
> On 2018-09-06 04:33 PM, Marcos Renato da Silva Junior wrote:
>> I created a testing environment based on Raspberry Pi (attached
>> diagram), in my tests it has worked well, but I did not implement
>> anything about fencing and stonith, what is the need and how to implement?
> It depends on the hardware you have available. In your case, RPi has no
> IPMI or similar feature, so you'll need something external, like a
> switched PDU. I like the APC AP7900 (or your countries variant), which
> you can often get used for a decent price if this isn't a production system.
For a test-environment switching mains might be an overkill.
And it makes the nice and tiny test-environment a lot less
nice and tiny ;-)
Anyway the scenario made me google a little bit.
is what I stumbled over.
Add a RPi to it and you have IP-controlled USB-power.
(Guess I have to order one to play with ;-) )
On the other hand iirc the Broadcom-SOC found in the RPi
has a hardware-watchdog the linux-kernel has a driver
for. So you might consider going for SBD (no shared disk)
with watchdog-fencing as well.
But that would require you to add a 3rd node (or some
kind of shared disk).
Andrew's blog article is a nice introduction:
More information about the Users