Hi, I want to start a thread for operators to share tips for minimal downtime.
It is in the interest of all community members to raise the uptime of the network collectively. I have to look askance at operators that are obsessed with ‘competitive advantage’ and not sharing ‘trade secrets’. Boo.
So, in the spirit of a healthy internet with true hackers (not crackers) that share knowledge I’ll start with what I have:
The following can be used to bring run jormungandr and bring it back up whenever it fails:
#!/bin/bash
RET=1
until [ ${RET} -eq 0 ]; do
start_my_jormungandr_node
RET=$?
sleep 10
done
start_my_jormungandr_node just runs jormungandr with the config and nodesecret
Knowledge Transfer For The Win.
Let’s work together to make Cardano/ADA the beast it is destined to be.
Thanks for starting this thread!
I can offer the below script which filters the trusted peers and rewrites the config file. I use this before every restart which reduces restart time.
Although with the current v0.8.7+ bootstrapping issues you may need to remove trusted peers completely or add
max_bootstrap_attempts: 0
to your config file until v0.8.10 is released.