Starting the Nodes

Start your stake pool with systemctl and begin syncing the blockchain!

sudo systemctl start cardano-node

To monitor your Cardano nodes, install gLiveView.

gLiveView displays crucial node status information and works well with systemd services.

cd $NODE_HOME
sudo apt install bc tcptraceroute jq -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

To modify env with the updated file locations, type the following command where <ConfigFileName> is config-bp.json on your block-producing node and config.json on all your relay nodes

sed -i env \
    -e "s/\#CONFIG=\"\${CNODE_HOME}\/files\/config.json\"/CONFIG=\"\${NODE_HOME}\/<ConfigFileName>\"/g" \
    -e "s/\#SOCKET=\"\${CNODE_HOME}\/sockets\/node.socket\"/SOCKET=\"\${NODE_HOME}\/db\/socket\"/g"

For complete documentation from the developer on using the gLiveView script and env file, visit Guild Operators.

**** 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 local Cardano Node synchronizing with the blockchain.

The following figure illustrates sample output of the gLiveView dashboard when Cardano Node is operating as a relay.

Last updated