Backup Node Dead for Months and TODO PlansteemCreated with Sketch.

in #witness-category8 months ago

As a Top Witness, I have multiple backup nodes and one of them has been dead for months. I didn't notice until today.

a0cb525a6b74afb6b9067e3f0a91290.png

Restarting the docker container doesn't work - and it seems the data is corrupted. Therefore I have started download the backup data:

79df4b7029f7f1caa913114063a66db.png

image.png

TODO & Plan

I need to write a script that monitors the status of the node. Even it is not the main witness node. My plan is to enable the http plugin and then periodically check the get_block to see if the node is running.

Steem to the Moon🚀!

  • You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
  • You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
  • You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
  • Register a free STEEM account at SteemYY!
Sort:  

!ask How to setup a steem witness node?



1. Install a Linux server with at least 4GB RAM and 100GB storage.

2. Create a Steem account for your witness and generate an owner key and an active key. Make sure to store these keys in a secure place.

3. Install the steemd software from the official repository using the following command:
bash git clone https://github.com/steemit/steem.git
4. Configure your witness node by editing the config.ini file located in the steemd folder, adding at least your witness name, witness id, owner public key and active public key (the same you created in step 2).

5. Start up your node with the command bash ./programs/steemd/steemd --rpc-endpoint=127.0.0.1:8090 This will open port 8090 which is needed for communication with other nodes in the network and synchronize your blockchain on your local machine.

6. Once synchronization is complete, you can start casting votes by signing transactions with your owner or active private key from step 2 and broadcasting them to the network. This will make you a registered witness on Steem blockchain!


command: !ask is powered by witness @justyy and his contributions are: SteemYY.com
More Commands are coming!. !ask is currently based on ChatGPT-3.5

test !thumbup

Hello @justyy! You are Marvelous!


command: !thumbup is powered by witness @justyy and his contributions are: SteemYY.com
More Commands are coming!

Unfortunately, this also happened to me a few weeks ago.
Accidentally discovered that the container of my backup witness node was no longer running. When I tried to restart, I got an error message that the database was corrupt. I then had to re-download the data as well.

As a result, I started looking around for monitoring apps. I have now set up check_mk (https://checkmk.com/) and monitor all servers and even every container...

grafik.png

I haven't tried all the options yet, but I now get notifications and can perform various actions. The next thing will be the automatic switching of Witness nodes with the help of the app. This is currently done by a script that only checks the availability of the servers, but not the containers themselves...

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 63691.77
ETH 3157.03
USDT 1.00
SBD 3.84