Introduction
Deploying an XRP node involves configuring rippled server software to operate in various modes, including Stock Server, Validator, or Standalone. This guide provides a step-by-step approach to hardware setup, installation, and optimization for different use cases.
Prerequisites
Recommended Hardware and Software Configuration
For optimal performance in production environments, ensure your server meets these specifications:
| Component | Requirement |
|------------------------|-----------------------------------------------------------------------------|
| Operating System | Ubuntu 16.04+ |
| CPU | Intel Xeon 3+ GHz (4 cores with hyper-threading) |
| Storage | SSD (supports 10,000+ IOPS) |
| RAM | 32GB (production), 8GB+ (testing) |
| Network | Gigabit interface with 2Mbps+ bandwidth |
Key Considerations:
- SSD Storage: Essential for handling high transaction volumes (7,000–10,000 IOPS).
- Network: Expect bursts up to 100Mbps during ledger synchronization.
- Storage Capacity: Allocate ~12GB/day for NuDB or ~8GB/day for RocksDB.
Installing rippled on Ubuntu
Steps:
Install Dependencies:
sudo apt-get update sudo apt-get install yum-utils alienAdd Ripple Repository:
sudo rpm -Uvh https://mirrors.ripple.com/ripple-repo-el7.rpmDownload and Install
rippled:yumdownloader --enablerepo=ripple-stable rippled sudo alien -i --scripts rippled*.rpmEnable and Start Service:
sudo systemctl enable rippled.service sudo systemctl start rippled.service
👉 Explore advanced configurations
Operational Modes
1. Stock Server Mode
Use Case:
- Trusted local node for API access and transaction signing.
- Acts as a public gateway for validator nodes.
Configuration:
- No additional setup required post-installation.
2. Validator Mode
Use Case:
- Participate in consensus by validating transactions.
Steps:
Generate a validation seed:
rippled validation_create- Update
rippled.cfgwith[validator_token]and cluster settings.
👉 Learn about validator security
Cluster Deployment
Why Use Clusters?
- Shared Workload: Reduces redundant transaction verification.
- Enhanced Security: Mitigates DDoS risks by isolating validators behind stock servers.
Setup:
- Configure
[ips_fixed]inrippled.cfgwith cluster member IPs. - Assign unique
node_seedvalues per server.
[cluster_nodes]
n9McNsnzzXQPbg96PEUrrQ6z3y... # Public key of Server 1
n94UE1ukbq6pfZY9j54sv2A1... # Public key of Server 2 Standalone Mode
Use Case:
- Testing transactions offline without network connectivity.
Commands:
rippled -a --start # New genesis ledger
rippled -a --load --ledger 19860944 # Load specific ledger FAQs
Q1: How do I update rippled?
A: Use:
sudo rpm -Uvh --replacepkgs https://mirrors.ripple.com/ripple-repo-el7.rpm
yumdownloader --enablerepo=ripple-stable rippled
sudo alien -i --scripts rippled*.rpm Q2: What’s the difference between NuDB and RocksDB?
A: NuDB is optimized for SSDs and uses fewer file handles, while RocksDB may require more memory.
Q3: How can I verify my validator domain?
A: Sign your domain with an SSL key and submit details via Ripple’s Google Form for inclusion in public lists.
Conclusion
Deploying an XRP node requires careful hardware selection, configuration tuning, and understanding of operational modes. Whether running a stock server, validator, or standalone node, ensure adherence to security best practices and network requirements.