π Node Migration Playbook (Polkadot / Kusama) β DN Standard
1. Pre-Migration Checklist
Match client version
polkadot --version Check current height
curl -s http://localhost:9933 -H "Content-Type: application/json" \
-d '{"id":1,"jsonrpc":"2.0","method":"chain_getHeader"}' Ensure database type matches
Stop the node cleanly
sudo systemctl stop polkadot Lock filesystem before copying
ps aux | grep polkadot2. Preparing Destination Server
Create directories
Install same binary
Copy service file (optional)
3. DB Transfer (Safest DN Method)
On source server
4. Integrity Validation Before First Start
Check DB size match
Check last block and state root
5. First Start (Safe Mode)
6. Start with Systemd
7. Post Migration Validation
Validate height vs reference
Check app-hash consistency
Check GRANDPA consistency
8. Common Issues & Fixes
β Divergent state root
β Node stuck after migration
β DB corruption warning on startup
β Warp sync mismatch
9. DN-Recommended Minimal Cutover Workflow
Last updated