Version Upgrade v0.2.1
9min
note only use this guide to upgrade a validator that was installed and working using the previous v0 1 or v0 2 guide! this process can be completed on a validator that is running but will require a restart after downloading and extracting new files complete using xand user without sudo privledge download archive change directory into home directory download new release tar bz2 file from https //github com/xandeum/binaries/releases https //github com/xandeum/binaries/releases cli wget https //github com/xandeum/binaries/releases/download/v0 2 1/xand v0 2 1 tar bz2 make your new directories cli mkdir / local/share/xandeum/install/releases/v0 2 1/bin p extract the new release into the bin folder note extracting can take a few minutes! wait for the hostname/cursor to return to normal before proceding to the symlink operations! cli cd tar xf xand v0 2 1 tar bz2 directory / local/share/xandeum/install/releases/v0 2 1/bin remove old symlink cli rm /home/xand/ local/share/xandeum/install/releases/active release create symlink to new binaries cli ln sf /home/xand/ local/share/xandeum/install/releases/v0 2 1/bin /home/xand/ local/share/xandeum/install/releases/active release test you have new version by verifying before you restart cli xandeum validator v restart your validator when the delinquincy is below 10% to start using new version note using this exit command will check for cluster delinquincy, and check your validator for upcoming leader slots and will wait until you have a restart window to avoid missing block production! after it's clear of leader slots, and epoch isn't ending soon, a new snapshot will be taken, then the validator will shut down it will only restart on its own if you have the system service up and running! if you keep getting leader slots, you can try reducing min idle time to zero and then the snapshot will still happen the f or force flag can be added to skip checks for leader slots and epoch completion and it will not look for a suitable restart window or complete snapshotting it will force the restart now cli xandeum validator ledger /ledger exit max delinquent stake 10 min idle time 4 monitor below is showing waiting due to an upcoming leader slot below is showing the validator has shut down it is sitting idle until system service restarts the validator below is showing the validator is back running and syncing the ledger with the cluster below is showing the validator is back running and validating with the tip of the cluster this is normal and using ctrl+c will exit the monitor command upgrade is complete!