Solana Mainnet RPC - Update Solana Version
Maintaining a Solana validator includes updating the Solana version.
This page explains how to update your Solana mainnet RPC.
Update SLV Version
To update your SLV validator version, run the following command:
$ slv upgrade
Apply 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.
slv rpc 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:
slv rpc build:solana-cli -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.
slv r restart -n mainnet -p <name>
Debug and Monitoring
After deployment, you can debug and monitor your Solana node.
You can check the status of your Solana node using the following commands.
Connect to your validator using SSH with the appropriate IP address:
ssh solv@<your-validator-ip>
Check the status of your Solana node:
solv m
solv is an alias for agave-validator -l /mnt/ledger.
This setting is added to ~/.profile when deploying the Solana node.