Run sentry node
Run a Sentry node as part of a Validator cluster Build
This guide explains how to initialise and start a Sentry node as part of a Validator cluster.
This guide follows on from the Prerequisites section and assumes that you have built your environment by following the Build Environment instructions for your selected network.
It must be on its own machine.
Networks
Testnet
Mainnet
Your network was selected at the Build Environment stage.
00 Prerequisites
- Check Hardware requirements.
- Build your environment Testnet or Mainnet
01 Run Sentry node initialisation script
You must run the script as user cudos
or you will see error messages.
su - cudos
cudos-init-node.sh sentry-node
02 Start the node
Cosmovisor is used to ensure zero downtime when there are updates and hard forks.
Switch back to root user (CTRL + D)
systemctl enable --now cosmovisor@cudos
Keep a record of the Seed node Tendermint ID and IP address in a spreadsheet or equivalent
Example start node
root@cudos-node:~# systemctl enable --now cosmovisor@cudos
Created symlink /etc/systemd/system/multi-user.target.wants/cosmovisor@cudos.service → /lib/systemd/system/cosmovisor@.service.
03 Check node sync status
As root user run the following command:
cudos-noded status 2>&1 | jq -M
Your node is fully synced when you see:
"catching_up: false"
and the latest block hash matches the network Testnet Explorer or Mainnet Explorer
03 Stop the node running
root@cudos-node:~# systemctl disable --now cosmovisor@cudos
Removed /etc/systemd/system/multi-user.target.wants/cosmovisor@cudos.service.