r/openstack • u/Sorry_Asparagus_3194 • Oct 28 '24
Openstack design
Hi folks
I was wondering about the best openstack design
For controllers 3 is the best option as mentioned on the docs
But for compute and storage is it better to separate or combine
Also what about the minimum specs i need for every node type
4
Upvotes
3
u/Storage-Solid Oct 28 '24
I would say everything boils down to your requirements, setups, intentions, investment in terms cost, maintenance, managements and so on. Rather than what is being mentioned somewhere, look at what you can and want. The documentation provides you with guidelines about what a tool can do. Anything above or below is left to the user to figure out and play around. Usually people suggest 3 as best, because 3 is the least odd number that can provide high-availability and failure tolerance. So, choose your odd number and go with it. Openstack is a versatile and flexible tool, meaning you can downscale or upscale by adjusting the setup. There are case where you can do all in one setup and there are cases where each tool has its own HA setup.
Anyway, if you want to combine storage and compute, keep in mind that, operationally, at the end, you should make sure both are able to perform without affecting each other's tasks. If compute overpowers storage, then you have problems not only on that particular node, but also on nodes that depend on the storage.
Just remember that Colocation is fine as long as Cooperation is guaranteed.
2
u/firestorm_v1 Oct 28 '24
If you have the extra hardware for dedicated infra nodes (run all OS services but nova-compute) that will be the safer route. If a hypervisor crashes or OOMs out, then it won't take any core services with it.
1
u/TN_NETERO Oct 29 '24
I made this small guide for learning you can check it out : https://drive.google.com/file/d/1wATYZdbmrD-Ay53EG5bDGqcIuDO38w3T/view?usp=sharing
0
u/tyldis Oct 28 '24
Our design for small scale, where compute and storage tend to grow at equal pace, we run hyperconverged to ease capacity planning. That means every worker node has both functions (nova and ceph). They are all also network nodes (ovn-chassis). In OpenStack you can break out of the hyperconverged design at any time if you need to.
Where possible we have three racks as availability zones. Three cheap and small servers runs what we call infra (MAAS, monitoring/observation with COS and juju controllers in our case, with microk8s and microceph). No OpenStack services.
Then a minimum of three nodes for OpenStack, where we scale by adding three and three nodes for balanced ceph and AZs. The first three also runs the OpenStack control plane, tying up one CPU socket for that (and crph OSD) which leaves the other socket for compute. The next three nodes will have just reseved cores for ceph OSDs, but otherwise free for use.