Below is one of the common recommendations for this kind of scenario:
Use a Ceph-Based Solution
Why Ceph?
-
Proven Enterprise-Grade SDS:
Ceph has a long history as a robust, scalable, highly available storage solution that’s been field‐tested in many virtualized environments (including OpenStack and others). Its RADOS Block Device (RBD) is frequently used to back virtual machine storage.
-
Data Protection and Scalability:
With configurable replication (or erasure coding), Ceph can be tuned to provide the data durability needed for your VM images even if part of your infrastructure becomes unavailable (e.g., if one of your two non-HA pools goes down).
-
Flexible Access Methods:
Aside from block storage (via RBD), Ceph also provides object and file interfaces should you decide to expand or integrate additional workloads later.
-
Non-Kubernetes Deployment:
Although many modern Ceph deployments use orchestration tools (often Kubernetes) for ease of management, Ceph can be deployed on plain Linux systems—in your case, directly in storage VMs running on XCP-ng.
Key Considerations for Your Environment
-
Deployment Across Two Non-HA Pools:
- Since your storage VMs are distributed among two separate XCP-ng pools that themselves aren’t HA, you’ll need to design your Ceph cluster across these pools while ensuring that the replication (or erasure coding) settings consider the possibility of one pool being temporarily unavailable.
- Tip: Spread Ceph monitors (MONs) and OSDs (object storage daemons) across both pools, so that the failure of one “pool” doesn’t render the whole storage system inoperable.
-
Resource Allocation in Virtualized Storage Nodes:
- Running Ceph inside VMs can work well on SSD-backed storage; however, plan for sufficient CPU, memory, and networking resources.
- Consider dedicating a physical network (or at least separate VLANs) for Ceph’s public and cluster networks to reduce latency and increase reliability.
-
Replica/Erasure Coding Configuration:
- If you choose a replication factor of 3, each block is stored on three different OSDs. With 10 VMs (each with 6TB of SSD), you’ll need to account for the extra capacity overhead to ensure performance and fault tolerance.
- Evaluate erasure coding if you need to be more space efficient while still protecting data, but remember it comes with a different performance profile.
-
Operational Complexity:
- While Ceph is highly reliable, it also introduces a degree of operational complexity. Ensure that you’re comfortable with its learning curve, and plan for monitoring, tuning, and regular maintenance.
- Consider starting with a small cluster deployment (perhaps a test lab) to fine‑tune your settings before rolling it into production for your VM store.
Alternative Approaches?
While Ceph is one of the most proven solutions for this type of workload, other options include:
-
GlusterFS:
It’s sometimes used for VM storage exports (via NFS or iSCSI gateways) but typically shows less optimal performance for random IO in high-demand VM environments.
-
DRBD-based Clusters:
Using DRBD for synchronous replication combined with a clustered file system can work but usually adds management overhead and is best suited for smaller clusters or paired nodes rather than a 10‑node environment.
-
StarWind Virtual SAN:
This is a commercial (though sometimes free for small deployments) option that can provide high availability and performance but is more common in Windows-centric environments. Given that XCP-ng is Linux‑based under the hood, Ceph or GlusterFS tends to be a more natural fit.
Conclusion
For a distributed, reliable SDS underpinning your XCP-ng infrastructure, a Ceph-based deployment (using RBD for VM storage) is generally considered the best candidate. It’s robust, well‑supported in virtualization environments, and flexible enough to span your two XCP‑ng pools—provided that you design the cluster with the distributed nature and potential pool failures in mind.
If you decide to move forward with Ceph, plan your deployment carefully:
- Build your monitor and OSD layout considering the two pools.
- Ensure sufficient network segmentation and capacity.
- Test thoroughly in a lab environment before rolling into production.
This approach should give you a highly reliable, scalable storage backend that meets the demands of hosting your virtual infrastructure.