Virtual Cardano part 2. Guide on adding peers to topology and further monitoring of relay.

Currently only contacting the IOHK official relays and in this case 2 relays from an array of relays (the valency option).
curl -s -o topologyUpdater.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/topologyUpdater.sh curl -s -o env https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/env chmod 750 topologyUpdater.sh
Add your own relays port number under your port number.
Add your own IP or DNS. Please use services that will help you migate denial of service attacks as these IP/DNS can be found.
Every hour on the 25th minute mark you will be doing an update to the topology files with this cronjob.
sudo apt-get install -y prometheus prometheus-node-exporter
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -echo "deb https://packages.grafana.com/oss/deb stable main" > grafana.list
sudo mv grafana.list /etc/apt/sources.list.d/grafana.list
sudo apt-get update && sudo apt-get install -y grafanasudo systemctl enable grafana-server.service
sudo systemctl enable prometheus.service
sudo systemctl enable prometheus-node-exporter.service
sudo systemctl restart grafana-server.service
sudo systemctl restart prometheus.service
sudo systemctl restart prometheus-node-exporter.service
forwarding both the prometheus data as well as the localhost grafana port.
Some data will not be shown if you are not a block producer and can be cancelled such as kes rotation dates.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store