English
Starting the Nodes
Start your stake pool with systemctl and begin syncing the blockchain!
block producer node
relaynode1
sudo systemctl start cardano-node
sudo systemctl start cardano-node
Install gLiveView, a monitoring tool.
gLiveView displays crucial node status information and works well with systemd services.
cd $NODE_HOME
sudo apt install bc tcptraceroute -y
curl -s -o gLiveView.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/gLiveView.sh
curl -s -o env https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/env
chmod 755 gLiveView.sh
Run the following to modify env with the updated file locations.
sed -i env \
-e "s/\#CONFIG=\"\${CNODE_HOME}\/files\/config.json\"/CONFIG=\"\${NODE_HOME}\/config.json\"/g" \
-e "s/\#SOCKET=\"\${CNODE_HOME}\/sockets\/node0.socket\"/SOCKET=\"\${NODE_HOME}\/db\/socket\"/g"
For complete documentation from the developer on using the gLiveView script and env file, visit Guild Operators.
A node must synchronize to epoch 208 (Shelley launch) before gLiveView.sh can start tracking the synchronization process. Before your node synchronizes to epoch 208, you can track node synchronization using the following command:
journalctl --unit=cardano-node --follow
****
Pro tip: If you synchronize a node, then you can copy the database directory to a different computer to save time synchronizing another node.
Run gLiveView to monitor the progress of the node synchronizing with the blockchain.
./gLiveView.sh
Sample output of gLiveView.
Congratulations! Your node is running successfully now. Let it sync up.
Copy link
Edit on GitHub