Skip to main content

upgrading - Prepare Setup

Fictitious Assumptions

Please be aware that the following items are fictitious and are only used as an example and should not be considered real values.

Throughout this guide, please be aware of these fictitious values:

  • Our external IP address will be a fictitious 113.113.113.113.
  • Our nodeid equal to all 1s.
  • Our nodectl version will be v2.15.2
  • Our Tessellation version will be v2.2.3
  • Our Environment is mainnet
BE AWARE

As Constellation Network's protocol and/or nodectl improves, the versions presented in the documentation may become out dated.

The documentation will be updated as any CLI-GUI elements or results from those inputs change, otherwise the versions may not match your node's presentation or outputs.

In some cases, the versions and environment may coincide with real values; however, this may be different for your current upgrade depending on multiple factors.

Information Gathering

Environment Confirmation

We will see what environment is being upgraded.

Using environment ............................. mainnet

Backup the current configuration

A backup of our configuration will commence and output:

  • Date
  • Location of backup
  • File name of the backup
Backing up configuration ......................complete
Backup Date: 2024-04-15-18:53:48Z
Backup Location: /var/tessellation/backups/
Backup File Name: backup_cn-config_2024-04-15-18:53:48Z

Verify Node Upgrade

It will start by verifying the upgrade path is valid. If this is not valid, you will be met with a warning (expand below for details).

---- * VERIFY NODE UPGRADE * -----
Verify upgrade paths .......................... complete
possible upgrade path warning โ–ผ

Determine p12 details

  • nodectl will verify that our upgrade path is correct.
  • Validate the p12 usage for all profiles.
  • Determine if nodectl is using global references.
  • Obtain the nodeid from the p12 file.
Verify upgrade paths .......................... complete
p12 validated [dag-l0] ........................ using global
p12 validated [dag-l1] ........................ using global
Global p12 validated .......................... True
Obtaining node ID from p12 [global] ........... 11111....11111
Node IP address ............................... 113.113.113.113

Next, we will handle versioning setup.