Solana Mainnet Validator - Quickstart
Введение
Чтобы развернуть Solana mainnet validator, вы будете использовать CLI-инструмент SLV.
Это краткое руководство объясняет, как запустить и развернуть hot spare для mainnet validator.
На вашем сервере должна быть выполнена чистая установка Ubuntu 24.04 LTS.
Подготовка Baremetal Server
Хотя запуск Solana node на VPS или виртуальных машинах (VM) возможен, добиться оптимальной производительности и стабильной работы сложно. Solana официально рекомендует использовать baremetal server.
Mainnet validators должны быть подготовлены так, чтобы сохранять стабильность во время перегрузок.
Ниже приведен ориентир, основанный на официальной документации Solana / Agave.
Ниже приведен ориентир, основанный на официальной документации Solana / Agave.
Agave Validator (официальные требования и рекомендации)
Требования по SOL
- На каждой границе epoch Vote Account должен содержать не меньше rent-exempt минимума плюс один Validator Admission Ticket (0.8 SOL при настройке времени slot 200 ms)
- Validator Admission Ticket списывается с Vote Account в первом блоке каждой epoch
- Rent-exempt минимум проверяется командой
solana rent 3762(3762 — размер Vote Account в байтах) - Identity Key больше не платит комиссию за каждый голос — в Alpenglow голоса больше не отправляются как транзакции
Требования к оборудованию (ориентир)
| Component | Validator | RPC Node (reference) |
|---|---|---|
| CPU | 2.8GHz+ / AMD Gen3+ / Intel Ice Lake+ / SHA extensions / AVX2 | 16 cores / 32 threads+ |
| RAM | 256GB+ | 512GB+ |
| Disk | NVMe Gen3 x4 или лучше / рекомендуется разделение Accounts-Ledger-Snapshots | Рекомендуется больший объем |
| GPU | Не требуется | Не требуется |
Note:
Clock speed и эффективная пропускная способность считаются более важными, чем количество ядер.
Для сбалансированной конфигурации по соотношению стоимости и производительности практичным ориентиром являются 24-core CPU и 384GB RAM.
Когда вы запускаете команду
slv v init, система спросит, настроен ли ваш baremetal server:bash
➜ slv v init
? Select Solana Network (testnet) › mainnet
? 🛡️ Do you have a Solana Node Compatible Server? (no)
❯ yes
no➜ slv v init
? Select Solana Network (testnet) › mainnet
? 🛡️ Do you have a Solana Node Compatible Server? (no)
❯ yes
noЭто руководство предполагает, что вы выбираете
yes.Если вы еще не подготовили baremetal server, обратитесь к руководству по настройке Baremetal Server.
Также могут быть полезны следующие ресурсы:
Развертывание Solana Mainnet Jito Validator
В новых развертываниях SLV всегда используется
unstaked-identity.json в качестве identity key.
Это best practice для предотвращения double voting и других проблем.Поэтому после развертывания используйте
slv v set:identity, чтобы задать authorized identity key.В большинстве сценариев эксплуатации mainnet validator вы будете использовать
slv v switch для смены identity key.
Для миграции без простоя см. это руководство.Выберите сеть Solana
Выберите сеть Solana, которую хотите развернуть.
bash
slv v init
? Select Solana Network (mainnet)
testnet
❯ mainnetslv v init
? Select Solana Network (mainnet)
testnet
❯ mainnetВведите стандартное имя пользователя сервера
В большинстве случаев стандартное имя пользователя —
ubuntu или root.bash
? What's the user for the server? (ubuntu) › ubuntu? What's the user for the server? (ubuntu) › ubuntuВведите IP-адрес сервера
Введите IP-адрес сервера.
bash
? What's the IP address of the server? ›? What's the IP address of the server? ›Укажите RSA Key для SSH
※ Укажите путь к вашему RSA key. Путь по умолчанию —
~/.ssh/id_rsa.bash
? What's the path to your RSA key? (~/.ssh/id_rsa) › ~/.ssh/id_rsa
🔍 Checking SSH connection...
✔︎ SSH connection succeeded? What's the path to your RSA key? (~/.ssh/id_rsa) › ~/.ssh/id_rsa
🔍 Checking SSH connection...
✔︎ SSH connection succeededЗатем SLV проверит подключение к серверу. Если подключение
успешно, будет предложен следующий шаг.
Выберите тип Solana Validator
Выберите тип Solana validator.
bash
? Select Validator Type (jito)
agave
❯ jito
allnodes-jito? Select Validator Type (jito)
agave
❯ jito
allnodes-jitoУстановите ставку комиссии
Задайте ставку комиссии для вашего validator.
※ 1000 соответствует 10%.
bash
? Enter Commission BPS (Max 1000 = 10%) (1000)? Enter Commission BPS (Max 1000 = 10%) (1000)Сгенерируйте или задайте Solana Validator Identity Key
Вы можете сгенерировать новый identity key или задать существующий identity key.
В этом примере показано, как задать существующий identity key с именем "epics-sub".
bash
? Do you want to create a new identity key now? (Y/n) › No
? Please Enter Your Identity Public Key › KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM
? Enter Inventory Name (KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM) › epics-sub
⚠️ Please place your identity key in
~/.slv/keys/KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM.json
.
.
✔︎ Success
✔ Inventory updated to ~/.slv/inventory.yml
✔ Successfully created solv user on x.x.x.x? Do you want to create a new identity key now? (Y/n) › No
? Please Enter Your Identity Public Key › KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM
? Enter Inventory Name (KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM) › epics-sub
⚠️ Please place your identity key in
~/.slv/keys/KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM.json
.
.
✔︎ Success
✔ Inventory updated to ~/.slv/inventory.yml
✔ Successfully created solv user on x.x.x.xПоместите ваш identity key в
~/.slv/keys/<your-pubkey>.json.Автоматическое определение региона
Затем система выполнит ping до каждого block engine с настроенного узла, чтобы автоматически определить ближайший регион. Измеряя фактические значения ping, вы сможете выбрать оптимальный регион.
bash
✔ Inventory updated to ~/.slv/inventory.mainnet.validators.yml
📍 Measuring latencies from x.x.x.x to mainnet regions...
Pinging Amsterdam (amsterdam.mainnet.block-engine.jito.wtf)...
Pinging Dublin (dublin.mainnet.block-engine.jito.wtf)...
Pinging Frankfurt (frankfurt.mainnet.block-engine.jito.wtf)...
Pinging London (london.mainnet.block-engine.jito.wtf)...
Pinging New York (ny.mainnet.block-engine.jito.wtf)...
Pinging Salt Lake City (slc.mainnet.block-engine.jito.wtf)...
Pinging Singapore (singapore.mainnet.block-engine.jito.wtf)...
Pinging Tokyo (tokyo.mainnet.block-engine.jito.wtf)...
✅ London: 8.801 ms
✅ Dublin: 12.946 ms
✅ Frankfurt: 5.888 ms
✅ Amsterdam: 0.169 ms
✅ New York: 74.321 ms
✅ Salt Lake City: 115.577 ms
✅ Singapore: 154.200 ms
✅ Tokyo: 229.989 ms
🎯 Nearest region: 🇳🇱 Amsterdam
Latency: 0.169 ms
Block Engine: https://amsterdam.mainnet.block-engine.jito.wtf
Shred Receiver: 74.118.140.240:1002
Relayer: http://amsterdam.mainnet.relayer.jito.wtf:8100
NTP Server: ntp.amsterdam.jito.wtf✔ Inventory updated to ~/.slv/inventory.mainnet.validators.yml
📍 Measuring latencies from x.x.x.x to mainnet regions...
Pinging Amsterdam (amsterdam.mainnet.block-engine.jito.wtf)...
Pinging Dublin (dublin.mainnet.block-engine.jito.wtf)...
Pinging Frankfurt (frankfurt.mainnet.block-engine.jito.wtf)...
Pinging London (london.mainnet.block-engine.jito.wtf)...
Pinging New York (ny.mainnet.block-engine.jito.wtf)...
Pinging Salt Lake City (slc.mainnet.block-engine.jito.wtf)...
Pinging Singapore (singapore.mainnet.block-engine.jito.wtf)...
Pinging Tokyo (tokyo.mainnet.block-engine.jito.wtf)...
✅ London: 8.801 ms
✅ Dublin: 12.946 ms
✅ Frankfurt: 5.888 ms
✅ Amsterdam: 0.169 ms
✅ New York: 74.321 ms
✅ Salt Lake City: 115.577 ms
✅ Singapore: 154.200 ms
✅ Tokyo: 229.989 ms
🎯 Nearest region: 🇳🇱 Amsterdam
Latency: 0.169 ms
Block Engine: https://amsterdam.mainnet.block-engine.jito.wtf
Shred Receiver: 74.118.140.240:1002
Relayer: http://amsterdam.mainnet.relayer.jito.wtf:8100
NTP Server: ntp.amsterdam.jito.wtfСгенерируйте или задайте Solana Validator Vote Account Key
Вы можете сгенерировать новый vote account key или задать существующий vote account key.
В этом примере показано, как задать существующий vote account key.
bash
? Do you want to create a new vote account key now? (Y/n) › No
? Please Enter Your Vote Account Public Key > <your-vote-account>? Do you want to create a new vote account key now? (Y/n) › No
? Please Enter Your Vote Account Public Key > <your-vote-account>Информация об узле validator будет сохранена в
~/.slv/inventory.mainnet.validators.yml.bash
✔︎ Success
✔ Inventory updated to ~/.slv/inventory.mainnet.validators.yml
✔ Successfully created solv user on epics-sub
✔︎ Validator Mainnet Config Saved To ~/.slv/inventory.mainnet.validators.yml
Now you can deploy with:
$ slv v deploy -n mainnet -p epics-sub✔︎ Success
✔ Inventory updated to ~/.slv/inventory.mainnet.validators.yml
✔ Successfully created solv user on epics-sub
✔︎ Validator Mainnet Config Saved To ~/.slv/inventory.mainnet.validators.yml
Now you can deploy with:
$ slv v deploy -n mainnet -p epics-subРазверните validator
После подтверждения конфигурации начнется развертывание.
bash
slv v deploy -n mainnet -p epics-subslv v deploy -n mainnet -p epics-subbash
Your Mainnet Validators Settings:
┌────────────────┬──────────────────────────────────────────────┐
│ Identity Key │ KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM │
├────────────────┼──────────────────────────────────────────────┤
│ Vote Key │ EpicsoqLdDP8qRn3wQRKTSKAXbjK9dUgFfNPRQS77MQD │
├────────────────┼──────────────────────────────────────────────┤
│ Authority Key │ authAccount │
├────────────────┼──────────────────────────────────────────────┤
│ IP │ x.x.x.x │
├────────────────┼──────────────────────────────────────────────┤
│ Validator Type │ jito │
├────────────────┼──────────────────────────────────────────────┤
│ Version │ 4.3.2-jito │
└────────────────┴──────────────────────────────────────────────┘
? Do you want to continue? (Y/n) › Yes
.
.
.
Successfully Deployed RPC on mainnet
You can monitor your Node with the following steps:
Log in to your server with SSH:
ssh [email protected]
Then, run the following command to monitor your node:
$ solv mYour Mainnet Validators Settings:
┌────────────────┬──────────────────────────────────────────────┐
│ Identity Key │ KTMkUG8WCw9FdH44jLMBpc1teGafnYL6SgP4fHHbsNM │
├────────────────┼──────────────────────────────────────────────┤
│ Vote Key │ EpicsoqLdDP8qRn3wQRKTSKAXbjK9dUgFfNPRQS77MQD │
├────────────────┼──────────────────────────────────────────────┤
│ Authority Key │ authAccount │
├────────────────┼──────────────────────────────────────────────┤
│ IP │ x.x.x.x │
├────────────────┼──────────────────────────────────────────────┤
│ Validator Type │ jito │
├────────────────┼──────────────────────────────────────────────┤
│ Version │ 4.3.2-jito │
└────────────────┴──────────────────────────────────────────────┘
? Do you want to continue? (Y/n) › Yes
.
.
.
Successfully Deployed RPC on mainnet
You can monitor your Node with the following steps:
Log in to your server with SSH:
ssh [email protected]
Then, run the following command to monitor your node:
$ solv mГотово. Ваш Solana Validator развернут. Понадобится некоторое время,
чтобы синхронизироваться с сетью Solana.
Отладка и мониторинг
После развертывания вы можете выполнять отладку и мониторинг внутри Solana RPC node.
Состояние Solana RPC node можно проверить следующими командами:
bash
$ solv m$ solv msolv — это alias для agave-validator -l /mnt/ledger.
Эта настройка добавляется в ~/.profile во время развертывания RPC node.Смена Identity Key
После развертывания вам нужно заменить unstaked key на authorized identity key.
bash
slv v set:identity -n mainnet --pubkey epics-subslv v set:identity -n mainnet --pubkey epics-subЭта команда сменит identity key на authorized identity key.
※ Для миграции без простоя см. это руководство.
Команды SLV Validator
bash
slv validator --help
Usage: slv validator
Version: 2026.10.19.1053
Description:
🛠️ Manage Solana Validator Nodes 🛠️
Options:
-h, --help - Show this help.
Commands:
init - 🚀 Initialize a new validator configuration
deploy - 📦 Deploy Validators
register:bls - 🔑 Register the BLS public key on vote accounts (SIMD-0387). Runs automatically after deploy; use this to re-run.
check:alpenglow - 🔎 Check that each validator of the inventory is ready for Alpenglow, before and after the activation (mainnet epoch 1064).
list - 📋 List validators
set:identity - 🪪 Set Validator Identity on exactly one host (refuses if the identity may already be running elsewhere)
set:unstaked - 📴 Set Validator Identity to Unstaked Key
setup:firedancer - 🔥 Setup/Update Firedancer Validator
update:firedancer - 🔄 Update Firedancer Version
build:solana - 🛠️ Build Solana CLI from Source, then update the start script
build:solana-cli - 🔁 Alias for build:solana
install:solana - ➡️ Install Solana CLI Binary, then update the start script
update:script - ⚙️ Update Validator Startup Config
start - 🟢 Start Validator
stop - 🔴 Stop Validator
restart - ♻️ Restart Validator
cleanup - 🧹 Cleanup Validator - Remove Ledger/Snapshot Unnecessary Files
get:snapshot - 💾 Download Snapshot with aria2c
gen:vote-account - 🗳️ Generate Vote Account
switch - 🔁 Switch Validator Identity - No DownTime Migration
patch:sha256 - ⚙️ Patch Validator with optimized SHA256 binary, then update the start scriptslv validator --help
Usage: slv validator
Version: 2026.10.19.1053
Description:
🛠️ Manage Solana Validator Nodes 🛠️
Options:
-h, --help - Show this help.
Commands:
init - 🚀 Initialize a new validator configuration
deploy - 📦 Deploy Validators
register:bls - 🔑 Register the BLS public key on vote accounts (SIMD-0387). Runs automatically after deploy; use this to re-run.
check:alpenglow - 🔎 Check that each validator of the inventory is ready for Alpenglow, before and after the activation (mainnet epoch 1064).
list - 📋 List validators
set:identity - 🪪 Set Validator Identity on exactly one host (refuses if the identity may already be running elsewhere)
set:unstaked - 📴 Set Validator Identity to Unstaked Key
setup:firedancer - 🔥 Setup/Update Firedancer Validator
update:firedancer - 🔄 Update Firedancer Version
build:solana - 🛠️ Build Solana CLI from Source, then update the start script
build:solana-cli - 🔁 Alias for build:solana
install:solana - ➡️ Install Solana CLI Binary, then update the start script
update:script - ⚙️ Update Validator Startup Config
start - 🟢 Start Validator
stop - 🔴 Stop Validator
restart - ♻️ Restart Validator
cleanup - 🧹 Cleanup Validator - Remove Ledger/Snapshot Unnecessary Files
get:snapshot - 💾 Download Snapshot with aria2c
gen:vote-account - 🗳️ Generate Vote Account
switch - 🔁 Switch Validator Identity - No DownTime Migration
patch:sha256 - ⚙️ Patch Validator with optimized SHA256 binary, then update the start script