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:
bash
$ 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.
bash
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:
bash
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.
bash
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:
bash
ssh solv@<your-validator-ip>
Check the status of your Solana node:
bash
solv m
solv is an alias for agave-validator -l /mnt/ledger. This setting is added to ~/.profile when deploying the Solana node.