Solana Mainnet Validator - Update Solana Version
Maintaining a Solana validator includes updating the Solana version.
This page explains how to update your Solana mainnet validator.
Update SLV Version
To update your SLV validator version, run the following command:
bash
$ slv upgrade$ slv upgradeApply Solana Version Update
To apply a Solana mainnet update, run the following command.
To apply the update to all validators, run the command without the
-p flag.To apply the update to a specific validator, use the
-p flag to specify the validator's public key.You can also specify multiple validators by separating their public keys with commas.
bash
slv v install:solana -n mainnet -p <name>slv v install:solana -n mainnet -p <name>Running the above command will update the Solana CLI version on your node.
At this point, the update has not yet been applied, so you'll need to restart your node.
Build from Source
If you need all packages, run the following command to build from source:
bash
slv v build:solana-cli -n mainnet -p <name>slv v build:solana-cli -n mainnet -p <name>Update Firedancer Version
For Firedancer validators, use the following command to update:
bash
slv v update:firedancer -n mainnet -p <name>slv v update:firedancer -n mainnet -p <name>Restart After Solana Version Update
※ ⚠️ Restarting your node will cause it to lose synchronization with the network, so please restart with caution.
bash
slv v restart -n mainnet -p <name>slv v restart -n mainnet -p <name>Debugging & Monitoring
After deployment, you can debug and monitor your Solana node directly.
Use the following commands to easily check your node’s status:
Connect via SSH using your validator's IP address:
bash
ssh solv@<your-validator-ip>ssh solv@<your-validator-ip>Check your Solana node's current status:
bash
solv msolv mNote:
solv is an alias for the command agave-validator -l /mnt/ledger.
This alias is automatically added to your ~/.profile during Solana node deployment.