Transition from a voting validator to another validator without downtime.
How to run node transition
We offer a script called node-transition.sh that enables you to relocate your voting validator to a different machine without experiencing any downtime. This script is integrated into the solana home directory via our ansible playbook installation process
Take time to read the script to fully understand how it works before running it.
Initial Setup
Copying the Public SSH Key of solana user into the remote host
Before running the script, you must be able to ssh between your nodes with the Solana user.
The content of your id_rsa.pub file will have to be added to a file ~/.ssh/authorized_keys on your remote machine somehow.
Define remote host IP in node-transition.sh
#!/bin/bash# Define here the IP of the node to transition the voting operationTRANSITIONAL_NODE_IP=...
Validator keypair setup
Each validator must have alternative identities that can be used when they are not actively voting. You can create these fictitious identities on each of your validators as follows:
Run node-transition.sh on primary to switch to secondary node
At this stage, you can run the script and observe your logs on both nodes.
./node-transition.sh
Jito Labs is currently developing a solution to make Jito Solana Software compatible with Node Transition, but it is not fully compatible yet. In the meantime, you can use the Stock Solana software to run your Solana secondary (Hot Spare) node.