The Operations Special Interest Group (SIG) has been working on a bash script to simplify the process to deploy a go-zenon
node. The script is being made available today for public testing.
The script can be used to deploy, build, restore, and monitor go-zenon
. Over the coming weeks we plan to enhance the script to add additional functionality. We will plan to add timeseries monitoring, advanced troubleshooting, and the ability to launch a testnet.
Today we are asking for public testing and feedback on the script. The goal is to deploy go-zenon
and then deploy the grafana monitoring stack. You will be able to monitor the underlying node (vps) and certain znnd
metrics.
Instructions
Clone the Repo
git clone https://github.com/hypercore-one/deployment.git
Move into that Repo
cd deployment
Make the script executable
sudo chmod +x go-zenon.sh
Execute the script
sudo ./go-zenon.sh
First the script will install all the necessary packages. Then it will ask you which repo to clone. Select enter
for the default repo. That is the /zenon-network/go-zenon
repo. We plan to change how this works in the future.
After go-zenon
is built and started then you can install the monitoring package.
Install Grafana
sudo ./go-zenon.sh --grafana
In order to see the metrics navigate to http://IP_OF_VPS:3000
Note we use http
and NOT https
. The default username is admin
and the default password is admin
. Change the password and look for the default dashboard setup. There are two.
Please provide feedback on the experience and let us know if you have any recommendations for improvement or change. You can also submit issues or feature requests here: Issues · hypercore-one/deployment · GitHub