create account

EOS BPs: Auto Failover for Producing Nodes by blockmatrix

View this thread on: hive.blogpeakd.comecency.com
· @blockmatrix · (edited)
$0.79
EOS BPs: Auto Failover for Producing Nodes
It is imperative for active BPs to ensure their producing nodes are reliable, and that in the event of failure they can continue to sign blocks from standby nodes without any human intervention. 

Currently, there aren't too many "ideal" solutions for this - various [issues](https://github.com/EOSIO/eos/issues/4025) have been raised on the EOS github to help make this process easier for us Block Producers, but until they have been shipped we must do the best we can with the tools currently at our disposal. 

At Block Matrix we have been battle testing an automated failover solution using `keepalived` in the event of the `nodeos` processing being killed. We now have a lightweight solution in place, which auto promotes a backup node via the producer API. You can watch this in action here: 

https://www.youtube.com/watch?v=OuB40yd0z4M

We have put together the code for this over on our [Github](https://github.com/BlockMatrixNetwork/eos-bp-failover), with some explanation around the process and a special addendum for AWS users to combat the multicast/unicast issue which will prevent a vanilla `keepalived` solution from working within their environment.

We have several improvements to this, catering for issues where `nodeos` continues to run but stalls or stops signing blocks - once we have the relevant updates from the EOS dev team we will extend our examples to include them. 

Happy HA'ing to all BPs!

---

[Block Matrix](https://blockmatrix.network) are an EOS block producer candidate, producer name: `blockmatrix1`
👍  , , ,
properties (23)
authorblockmatrix
permlinkeos-bps-auto-failover-for-producing-nodes
categoryeos
json_metadata{"tags":["eos","blockproducers","ha","keepalived","failover"],"image":["https://img.youtube.com/vi/OuB40yd0z4M/0.jpg"],"links":["https://github.com/EOSIO/eos/issues/4025","https://www.youtube.com/watch?v=OuB40yd0z4M","https://github.com/BlockMatrixNetwork/eos-bp-failover","https://blockmatrix.network"],"app":"steemit/0.1","format":"markdown"}
created2018-06-18 14:44:42
last_update2018-06-18 14:46:15
depth0
children0
last_payout2018-06-25 14:44:42
cashout_time1969-12-31 23:59:59
total_payout_value0.749 HBD
curator_payout_value0.040 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,539
author_reputation213,606,231,566
root_title"EOS BPs: Auto Failover for Producing Nodes"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,234,482
net_rshares370,735,505,311
author_curate_reward""
vote details (4)