Remove your validator
If you need to remove your validator from your server, you will have to complete a number of manual steps in your CLI. In the future, an Ansible playbook will be developed to automate this process.
Stop and disable the validator service:
systemctl stop solana-validator && systemctl disable solana-validator
Remove the configuration and service files:
rm -rf /etc/default/solana-validator && rm -rf /etc/sv_manager/sv_manager.conf && rm -rf /etc/systemd/system/solana-validator
Remove the Telegraf service:
apt purge telegraf
Stop and remove the Docker container running the Agent:
docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q)
Remove the Solana directory:
rm -rf /home/solana/
Remove the mount points:
rm -rf /mnt/solana/log && rm -rf /mnt/solana/ledger && rm -rf /mnt/solana/snapshots
Remove the communication channel, following the steps in Remove the communication channel.
Last updated