Solana Validator configuration

This documentation guide you on how to bootstrap a Solana Validator with our ansible playbook.

Requirements

  • ansible

  • git

Our Ansible playbooks

We choose ansible to automate the validator setup. You can find playbooks here.

It's good practice to read the source code before executing it.

Quick start

For simplicity, we execute our ansible directly on the validator node.

Install solana-boot

Log in to your server
Install required libs
Clone the clone repo

For Stock Solana mainnet-beta

Bootstrap mainnet-beta validator

The init_validator.sh script is a wrapper to install some ansible dependencies and pass args to the playbook.

Go to the solana-bootstrap directory

We recommend not putting accounts on ramdisk for a validator with 256GB or less of ram.

For a validator with 512GB or more, we recommend putting accounts on ramdisk.

To see the complete list of args.

For Stock Solana testnet

Bootstrap testnet validator

The init_validator.sh script is a wrapper to install some ansible dependencies and pass args to the playbook.

Go to the solana-bootstrap directory

We recommend not putting accounts on ramdisk for a validator with 256GB or less of ram.

For a validator with 512GB or more, we recommend putting accounts on ramdisk.

To see the complete list of args.

For Jito Solana mainnet-beta

Bootstrap mainnet-beta validator with Amsterdam Block Engine

The init_validator.sh script is a wrapper to install some ansible dependencies and pass args to the playbook.

Go to the solana-bootstrap directory

We recommend not putting accounts on ramdisk for a validator with 256GB or less of ram.

For a validator with 512GB or more, we recommend putting accounts on ramdisk.

To see the complete list of args.

Bootstrap mainnet-beta validator with Frankfurt Block Engine

The init_validator.sh script is a wrapper to install some ansible dependencies and pass args to the playbook.

Go to the solana-bootstrap directory

We recommend not putting accounts on ramdisk for a validator with 256GB or less of ram.

For a validator with 512GB or more, we recommend putting accounts on ramdisk.

To see the complete list of args.

Bootstrap mainnet-beta validator with New York Block Engine

The init_validator.sh script is a wrapper to install some ansible dependencies and pass args to the playbook.

Go to the solana-bootstrap directory

We recommend not putting accounts on ramdisk for a validator with 256GB or less of ram.

For a validator with 512GB or more, we recommend putting accounts on ramdisk.

To see the complete list of args.

Bootstrap mainnet-beta validator with Tokyo Block Engine

The init_validator.sh script is a wrapper to install some ansible dependencies and pass args to the playbook.

Go to the solana-bootstrap directory

We recommend not putting accounts on ramdisk for a validator with 256GB or less of ram.

For a validator with 512GB or more, we recommend putting accounts on ramdisk.

To see the complete list of args.

For Jito Solana testnet

Bootstrap testnet validator with Dallas Block Engine

The init_validator.sh script is a wrapper to install some ansible dependencies and pass args to the playbook.

Go to the solana-bootstrap directory

We recommend not putting accounts on ramdisk for a validator with 256GB or less of ram.

For a validator with 512GB or more, we recommend putting accounts on ramdisk.

To see the complete list of args.

Bootstrap testnet validator with New York Block Engine

The init_validator.sh script is a wrapper to install some ansible dependencies and pass args to the playbook.

Go to the solana-bootstrap directory

We recommend not putting accounts on ramdisk for a validator with 256GB or less of ram.

For a validator with 512GB or more, we recommend putting accounts on ramdisk.

To see the complete list of args.

Finally

Finish your setup

After the playbook succeeds, you will see some instructions on how manually finish your setup.

  • Where to copy your validator-keypair.json

  • Create a symlink to your validator-keypair.json for node-transition (zero-downtime).

  • Where to copy your vote-account-keypair.json

  • Build Jito Software with build-jito.sh or with official Jito documentation

Last updated