Updates
Checking for Updates
Check your current version:- Visit GitHub Releases
- Follow @tempoxyz for announcements
- Join the Discord community for updates
Updating Binary Installation
For nodes installed via the official installer:Updating from Source
For nodes built from source:Updating Docker
For Docker-based deployments:Update Safety
Before updating:- Read release notes for breaking changes
- Back up your data (especially for major versions)
- Plan for downtime if running a validator
- Test on testnet first if possible
- Monitor logs for errors
- Verify sync status
- Check peer connectivity
- Test RPC endpoints
Backups
What to Back Up
Critical (Must Back Up)
- Validator keys: Consensus signing keys and shares
- Location: Specified by
--consensus.signing-keyand--consensus.signing-share - Impact if lost: Cannot validate blocks, loss of validator status
- Location: Specified by
Important (Recommended)
- Node configuration: Command-line arguments or config files
- Systemd service file:
/etc/systemd/system/tempo.service
Optional (Can Resync)
- Blockchain database: Can be resynced from network or snapshot
- Location:
--datadir(e.g.,~/.tempo/moderato/db) - Size: 100GB+ and growing
- Only back up if downtime for resync is unacceptable
- Location:
Backup Procedures
Validator Keys Backup
Method 1: Local backupDatabase Backup
Only if you need to avoid resync time:Backup Verification
Regularly test your backups:Database Management
Database Location
Default locations:- Linux:
~/.local/share/tempo/<chain-id>/db - Custom:
<datadir>/<chain-id>/db
Database Size
Monitor database growth:- Moderato testnet: ~50GB
- Mainnet: ~100GB
- Growth rate: ~1-2GB per week
Pruning
Tempo automatically prunes old state by default. State older than 90,000 blocks (approximately 30 days) is removed. To verify pruning is active:Database Corruption
If your database becomes corrupted:Clean Reinstall
To start fresh:Monitoring
Health Checks
Implement automated health monitoring:health-check.sh
Metrics Collection
Expose metrics for monitoring systems:- Prometheus: Scrape metrics endpoint
- Grafana: Visualize metrics
- VictoriaMetrics: Long-term storage
Key Metrics to Monitor
| Metric | Threshold | Action |
|---|---|---|
| Peer count | < 3 | Check firewall, network connectivity |
| Block height lag | > 10 blocks | Check sync status, restart if stuck |
| Disk usage | > 80% | Expand storage or prune old data |
| Memory usage | > 90% | Investigate memory leaks, restart |
| CPU usage | > 80% sustained | Optimize configuration or upgrade hardware |
Log Management
Manage log rotation:/etc/logrotate.d/tempo
Performance Optimization
Hardware Recommendations
Minimum:- 4 CPU cores
- 8GB RAM
- 500GB SSD
- 10 Mbps network
- 8+ CPU cores
- 16GB+ RAM
- 1TB+ NVMe SSD
- 100 Mbps network
- Uninterruptible power supply (UPS)
Configuration Tuning
Transaction Pool
Consensus Performance
Cache Size
System Tuning
File Descriptor Limits
Network Tuning
Troubleshooting
Common Issues
Node Crashes
Sync Issues
High Resource Usage
Validator Issues
Emergency Procedures
Node Unresponsive
Database Corruption
Lost Validator Keys
If you lose validator keys:- Restore from backup immediately
- Verify keys with checksums
- Restart validator
- If keys are unrecoverable, you’ll need to re-register as a validator
Security
Key Management
- Store keys encrypted at rest
- Use hardware security modules for production
- Never share or commit keys to version control
- Rotate keys periodically if supported
- Back up keys to multiple secure locations
Access Control
Regular Security Practices
- Keep system packages updated
- Monitor for security advisories
- Use SSH keys instead of passwords
- Enable automatic security updates
- Run node with non-root user
- Use firewall to restrict access
Best Practices
For All Operators
- Monitor your node regularly
- Keep backups of critical data
- Test disaster recovery procedures
- Subscribe to Tempo announcements
- Update promptly when new versions are released
- Document your configuration
For Validators
- Maintain high uptime (>99%)
- Have redundant internet connections
- Use UPS for power backup
- Monitor validator performance metrics
- Keep signing keys secure and backed up
- Test failover procedures
- Join validator community channels
For RPC Providers
- Scale horizontally with multiple nodes
- Use load balancers
- Implement rate limiting
- Monitor query patterns
- Cache frequent queries
- Set appropriate CORS policies
Getting Help
If you need assistance:- Documentation: docs.tempo.xyz
- GitHub Issues: github.com/tempoxyz/tempo/issues
- Discord: discord.gg/tempo
- Forum: forum.tempo.xyz
- Tempo version (
tempo --version) - Operating system
- Configuration (redact sensitive info)
- Relevant log excerpts
- Steps to reproduce the issue