Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add STONITH with sms reboot sent to electrical outlet #219

Closed
branciard opened this issue May 22, 2020 · 0 comments · Fixed by #226
Closed

Add STONITH with sms reboot sent to electrical outlet #219

branciard opened this issue May 22, 2020 · 0 comments · Fixed by #226

Comments

@branciard
Copy link
Member

branciard commented May 22, 2020

Objective : prevent double signing of several active validators up and running

To do so, implement a https://en.wikipedia.org/wiki/STONITH algorithm ("Shoot The Other Node In The Head") with sms between federation nodes to reboot current validator DappNode thanks to electrical outlet reboot.

Before taking the leadership, a passive node send a restart sms on the electrical outlet of the current validator that is detected as down. The passive node will take the leadership and start as validator only if confirmation received of the sms command ( reboot confirmed of the electrical outlet). When a DAppNode reboot, archipel package will always start as passive and not validator. Thanks to this, It will reduce considerably the risk of double signing in archipel High availability solution.

qtronic outlet Sms commands and responses confirmation looks like :

outletsms

qtronic outlet Sms DAppNode start by sms

ezgif-4-66f6e11c4830

:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant