SKALE 3.0.1 upgrade
This document describes the procedure for upgrading from 3.0.0 to 3.0.1 release.
New monitoring pipeline
In 3.0.1 release we added new metrics collection pipeline.
In the 3.0.0 release, we have introduced a new metrics collection pipeline. The Telegraf service (https://github.com/influxdata/telegraf) will be deployed on the nodes, pushing various node metrics to a database server hosted by the SKALE Core team. The metrics collected include:
-
CPU usage of the host and each service.
-
RAM usage of the host and each service.
-
Disk performance data.
-
Various internal SKALE service metrics.
Firewall rules should be adjusted to allow outgoing 8391 port. |
Telegraf configuration can be found here https://github.com/skalenetwork/skale-node/blob/stable/telegraf.conf.j2 .
It is possible to use telegraf for your own needs. However currently custom configuration will be reset after each skale node update execution.
|
In the next releases we are planning to provide more metrics and enhance the healthcheck API.
If you have any questions regarding the new pipeline feel free to communicate with us through dedicated channel.
Download new node-cli binary
curl -L https://github.com/skalenetwork/node-cli/releases/download/2.4.0/skale-2.4.0-Linux-x86_64 > /usr/local/bin/skale
Verify checksum
Verify checksum using sha512sum command
sha512sum /usr/local/bin/skale
Expected checksum:
19d2767424fab2bab3ed71f167e2a85c6309e585713076dadf742dd6c4b93c25a3b65ae32a6d183563dcd7b9b5ecc7218292fac7653e225c6e39512a5b571489
Modify .env
Add the new fields.
TELEGRAF=True
INFLUX_URL=https://mainnet-metrics-db.skalenodes.com:8391
Update the following parameters to the new values.
MANAGER_CONTRACTS_ABI_URL=https://raw.githubusercontent.com/skalenetwork/skale-network/master/releases/mainnet/skale-manager/1.11.0/skale-manager-1.11.0-mainnet-abi.json
CONTAINER_CONFIGS_STREAM=3.0.1