[VIDEO] Upgrading to cardano-node 9.1.0 (CNTools)

Video on upgrading to node 9.1.0 (the version required for the Chang hardfork) using the CNTools suite maintained by the @CardanoKoios community!

The first testnet hardfork will happen this Wednesday on the preview network, so let’s make sure it goes well!

Like and share for visibility:

Twitter post:

YouTube video:

1 Like

Can you show me how Block producer & Relay topology.json should look?

Do we enable peers for block in config.json?

If you take a look at this template file for topology of guild operators: guild-operators/files/configs/mainnet/topology.json at alpha · cardano-community/guild-operators · GitHub

It’s what the topology looks like for the relays. You connect to your BP in localRoots.

For the BP, you only want to connect to your relays so that the topology would look something like this:

{
  "bootstrapPeers": null,
  "localRoots": [
    {
      "accessPoints": [
        {"address": "127.0.0.1", "port": 6000, "description": "replace-this-with-relay1"},
        {"address": "127.0.0.1", "port": 6001, "description": "replace-this-with-relay2"}
      ],
      "advertise": false,
      "trustable": true,
      "hotValency": 2
    }
  ],
  "publicRoots": [
    {
      "accessPoints": [],
      "advertise": false
    }
  ],
  "useLedgerAfterSlot": -1
}

Make sure the hotValency is set to the correct number (the number of relays you are connecting to), and set the useLedgerAfterSlot to -1 (to disable trying to connect to ledger P2P nodes).

1 Like

my topology I copied from Guild operators had 10 valency for relay at the bottom vs 11
image

I tried the MITHRIL blockchain download but I couldn’t get the servers to connect, so I am going through the long sync process of downloading it the slow way. I probably should of just downloaded the snapshot.

What is the proper code to update the servers for master/mainnet?

./guild-deploy.sh ? I followed your video but was for alpha/preview so I basically just replaced with master/main not sure if that messed up things. Because I did have a mithril symlink problem on my block producer.

It would be ./guild-deploy.sh -s dl -b master -n mainnet now that 9.1.0. is on master. Or ./guild-deploy.sh -s dlf -b master -n mainnet. (adding f to force replace config files).

1 Like

What the deal with the Mithril blockchain? It shows it as 45 gigs or so and the blockchain from csnapshots.io is a lot larger. My nodes are up and working now using the snap shot blockchain.

Also thankyou for the tip about hot valency my block was set to 2 and I only have 1 relay.

What is important to run with systemd deploy processes for the block?

My servers all of a sudden stopped working, any idea what caused this?

image

image