Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 11/14/2019 in all areas

  1. 1 point
    Guys, I'm now running my nodes with the scripts os SebastianJ. In htop (install with apt install htop ) I can kill one of the node's processes with F9 (SIGTERM) and then after a second I see the node process starting again. It's awesome what systemd does, I think. 🙂 What you do for, say, 3 nodes is: 1) You zip your pem files for each node ( keys-8080.zip for your 1st node, keys-8081.zip for your 2nd node, keys-8082.zip for your 3rd node) 2) You create 3 folders to hold your zipped pem files: mkdir -p ~/elrond/keys/8080 mkdir -p ~/elrond/keys/8081 mkdir -p ~/elrond/keys/8082 3) You copy each zip file to the right folder, one of the three folders you created in step 2 4) You stop your nodes with: tmux kill-server 5) You run Sebastian's scripts with bash <(curl -s -S -L https://raw.githubusercontent.com/SebastianJ/elrond-tools/master/setup/setup.sh) --nodes 3 --display-name YourName --start --systemd This will create 3 running nodes with node names: YourName-1, YourName-2 and YourName-3. --------------------------------------- You can see all your nodes' statuses with: systemctl status elrond@808*.service You can restart (stop and restart) all your nodes with: systemctl restart elrond@808*.service You can stop all your nodes with: systemctl stop elrond@808*.service You can start all your nodes with: systemctl start elrond@808*.service If you just want to do these things for just 1 node, don't use 808*, but for instance 8082. Instructions and code can be found here: https://github.com/SebastianJ/elrond-tools/tree/master/setup
This leaderboard is set to Bucharest/GMT+03:00
×
×
  • Create New...