r/openstack • u/datallboy • Mar 30 '21
Storage Backend for Small Openstack Cluster
Trying to get a general consensus of what storage backend people are using for small clusters. I only have a single node I'm testing with, but a friend of mine has 3 storage nodes and 2 compute that I'm helping.
Currently using ceph RDB for volume storage, and the performance sucks. Currently using 3 HDDs + 1 SSD for bluestore WAL + DB. Doesn't seem to do anything. Reading around, looks like people recommend all flash, which is somewhat expensive, but don't want to dump money into a bunch of 1TB SSDs that won't improve ceph performance. Looked into gluster, but saw they deprecated the gluster driver. So gluster + iscsi is an option, but extra steps.
What are some other people using for a fault tolerant storage backend primarily for cinder storage?
1
u/sekh60 Mar 30 '21
5 storage nodes running just Ceph, serving out cinder volumes via rbd. What SSDs are you running? You need enterprise SSDs, consumer just can't keep up.
1
u/jimmt42 Mar 31 '21
Also if you don’t want to use SSD then you need to increase your spindle count and go with a raid configuration that is more striped like 10 (for redundancy). Secondly, your raid controller should have a lot of cache memory. You have to balance speed with capacity. It really depends on your workloads.
This is a good opportunity to analyze your workloads and see how static they are. Goal is to be more ephemeral with your designs. Back to another poster and local storage vs external. If you need speed and design your compute to be ephemeral (think scaling containers) then run that local while having long term data on shared. Shared could be CEPH or swift. Another approach to add is leverage some of the internal services that Openstack enables like other cloud providers such as Trove so you can build ephemeral compute with server less / DBaaS like database backend.
1
Mar 31 '21
Yeah Ceph with HDD and small amount is really suck. You really need 20-30 HDD to have a barely usable cluster RBD. Go for SSD, 1 SSD each node is sufficient. You can try it with small partition in the same SSD for WAL/DB to use as OSD and try it
1
u/plaaplaaplaaplaa Mar 31 '21
For anything I would use CEPH just for learning, because it is everywhere and it is good to know and get familiar with it. But if you have just one node home cluster, use local storage. You don't need backend. Also it is entirely possible to use local storage for everything even in bigger environments, it really depends on your needs. Imagine instances which have no need for storage and only exists in memory, then you only need to store the images somewhere.
Funny enough, I have seen storage OS disk and storage of the node dying and instances continuing to serve because why not, they exist in memory. ;)
1
u/Public_Lychee_1923 Apr 14 '21
It really depends on the actual speed issues.
3 HDDs can get around 200-300 IOPS each so it won't be that fast compared to any SSD.
It's not even about Ceph.
What's your network speed? I assume it's not a 10Gbps links? is it?
1
u/Zealousideal-Cycle38 Jul 19 '22
you can use a deployment without cinder for best performance on LABS, but if you want to use a storage solution install cinder with LVM (it cos a 30% aprox of performance cost)
1
u/jadon_n Mar 30 '21
We actually use Ceph for volume storage for our 3 node hyperconverged (control plane + compute + storage) deployment, but we do use SSDs and NVMe SSDs. No spinners in this deployment.
The performance for general use is fine with SSDs with Ceph and VMs. Ceph can't do much to get the biggest performance out of NVMe SSDs yet. The new Ceph crimson filestore is supposed to help, but I'm still waiting to see real-world performance data on it.
Having said that, though, we are working on enabling the option for our users to deploy private clouds or compute nodes with volumes using local disks for higher performance. The idea there though is to let users use local disks for high performance workloads but keep a Ceph-backed volume mounted in the VM for storing data that cannot be lost.
If you want to test our configuration with real hardware to see how Ceph with SSDs performs as the volume storage backend I can DM you information.