Steps to update the Kreechures Shadow Nodes
Before doing anything, click 'COOLDOWN' on the GenesysGo Manage Nodes dashboard
- ssh into shadow node
- change user (su sol)
- stop sol.service (sudo systemctl stop sol.service)
- verify stopped (sudo systemctl status sol.service)
- stop systuner.service (sudo systemctl stop --now systuner.service)
- verify stopped (sudo systemctl status systuner.service)
- update solana software (solana-install init 1.10.25)
- version in this command will change over time. ensure you update as needed.
- if you get an error that solana-install is not found then reset your path
export PATH="/home/sol/.local/share/solana/install/active_release/bin:$PATH"
- verify version (solana --version)
- start systuner (sudo systemctl enable --now systuner.service)
- verify running (sudo systemctl status systuner.service)
- start sol.service (sudo systemctl enable --now sol.service)
- verify running (sudo systemctl status sol.service)
sudo systemctl stop sol.service
sudo systemctl status sol.service
sudo systemctl stop --now systuner.service
sudo systemctl status systuner.service
solana-install init 1.10.25
solana --version
sudo systemctl enable --now systuner.service
sudo systemctl status systuner.service
sudo systemctl enable --now sol.service
sudo systemctl status sol.service
Typically use Tmux for this verification
- verify log stream (sudo tail -f ~/log/solana-validator.log)
- verify health (curl http://localhost:8899 -k -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getHealth"}')
- verify that you are catching up to the tip (timeout 120 solana catchup --our-localhost=8899 --log --follow --commitment root)
Wait until node is back at the tip and come out of cooldown