We just finished testing and successfully deploying Cardano Node 8.0.0 release on the production mainnet environment. Below is a guide on how to use our scripts in case you need some guidance on how to install it from scratch or upgrade any existing relay or BP-node.
Note: Upgrading to 8.0.0 will replay the blockchain, and it will take from ~20 minutes to hours depending on your hardware and bandwidth.
Github repo: GitHub - MonedaCloud/Cardano-Installation: Installation from source guide for Cardano node as a block producer and relay.
Github repo release: https://github.com/MonedaCloud/Cardano-Installation/archive/refs/tags/v8.0.0.zip
Cardano Node Installation
This repo contains scripts and installation steps for Cardano node as a block producer and relay. (Cardano release 8.0.0)
How to use this repo:
Option 1:
- Install it all manually, step by step using cardano-node-install-steps.txt.
Option 2: (Recommended)
- The below steps assume you already have a dedicated user named cardano with sudo privileges running on Ubuntu 20.04:
- terminal:~$
chmod +x *install*.sh
- terminal:~$
./pre-install-os.sh
- terminal:~$
source ~/.bashrc
- terminal:~$
./pre-install-libs.sh
- terminal:~$
source ~/.bashrc
- terminal:~$
./install-cardano-node.sh
- Configure env, cnode.sh, topologyUpdater.sh (Relay Only), topology.json (Node Only).
- terminal:~$
sudo reboot
- Node will start automatically right after the reboot. Check the syncing progress with
gLiveView
command.
Note: These steps were successfully tested on Mainnet with Cardano node version 8.0.0 (Conway). These steps are the same for Producer nodes and Relay nodes.
Cardano Node-Upgrading
- The below steps assume you already have a dedicated user named cardano with sudo privileges running on Ubuntu 20.04:
- Verify CNODE_VERSION=“8.0.X” line has the correct release version number.
Download ConwayGenesisFile from Cardano “Configuration Files” Official release: (Required)
-
terminal:~$
cd /opt/cardano/cnode/files/
-
terminal:~$
wget https://book.world.dev.cardano.org/environments/mainnet/conway-genesis.json
-
terminal:~$
nano config.json
(Edit: Add ConwayGenesisFile configuration lines.) -
“ConwayGenesisFile”: “/opt/cardano/cnode/files/conway-genesis.json”,
-
“ConwayGenesisHash”: “f28f1c1280ea0d32f8cd3143e268650d6c1a8e221522ce4a7d20d62fc09783e1”,
Cardano release upgrade commands
- terminal:~$
chmod +x upgrade-cardano-node.sh
- terminal:~$
nano upgrade-cardano-node.sh
(Edit: CNODE_VERSION=“8.0.X” line with the correct version number.)
DO NOT run the below command as sudo; the prompt will ask for sudo credentials by itself.
- terminal:~$
./upgrade-cardano-node.sh