Agave
Anza is a Solana validator client developed and maintained by Anza Technology.
The process to deploy a new validator using the Agave client is similar to that of upgrading an existing client to a new version of Agave. The process goes like this:
For Mainnet and Testnet deployments, Agave is always BUILT FROM SOURCE directly on the host machine.
For Localnet, which is focused on development and operator workloads, we want to avoid having to BUILD FROM SOURCE every time we spin up a new docker container, since the build process itself is very resource intensive and slows down the development REPL.
Make sure you understand Localnet and its requirements before deploying to it.
Deploying On Localnet
For Localnet, which is focused on development and operator workloads, we want to avoid having to BUILD FROM SOURCE every time we spin up a new docker container, since the build process itself is very resource intensive and slows down the development REPL. For this reason, all Localnet deployments are done from pre-compiled binaries.
Anza publishes new releases of Agave at https://github.com/anza-xyz/agave/releases. However, they don't publish pre-built binaries for Apple Silicon running virtualized hosts, which is not an uncommon setup for developer workstations.
To accomodate these developers and operators, we pre-compile binaries for Apple Silicon and store them in an accessible place so Docker and Ansible can use them in their Localnet.
On a workstation running Apple Silicon, connect to the Ansible Control on your Localnet and run
ansible-playbook -i hosts.yml playbooks/pb_install_solana_cli.yml --limit secondaryDownload source code from https://github.com/anza-xyz/agave/releases
Some devs use localnet with Apple Silicon, which is not generally published by Anza, so we need to generate this file and upload to our own AWS bucket for use in docker localnet setup:
→ solana-release-aarch64-unknown-linux-gnu.tar.bz2
For everything else, we can use the binaries published by Anza at https://github.com/solana-labs/solana/releases
Deploying On Testnet
Agave is always BUILT FROM SOURCE directly on the host machine if it is intended for Solana Testnet.
Deploying On Mainnet
Agave is always BUILT FROM SOURCE directly on the host machine if it is intended for Solana Mainnet.
Client Mods
add
Common Commands
Some of the most used used validator node CLI commands:
Last updated
Was this helpful?