Best practices for using Ceph with CloudStack (RBD vs NFS integration) #11756
Replies: 3 comments 1 reply
-
@wido would be the best to answer |
Beta Was this translation helpful? Give feedback.
-
I was able to make it work using Ceph RBD as primary and NFSv3 as secondary. With NFSv3 enabled, the template creation worked as expected. |
Beta Was this translation helpful? Give feedback.
-
The advise is still to keep the Secondary as NFS and Primary for RBD. RBD is awesome, but the SSVM wants to perform a lot of posix filesystem operations on the SS, things Ceph can't do. Theoretically CephFS could be used, but this would require the SSVM to have all the tools available. My advice: Keep a NFS server around for your SS. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I have a Ceph cluster running as backend storage, and I’m currently using RBD for Primary Storage in CloudStack with KVM. The challenge I’m facing is that when I try to create templates or snapshots, the process fails because the SSVM does not have direct access to Ceph. As a result, it cannot copy the snapshot or template properly.
From my experience, NFS seems to be a more complete integration with CloudStack and KVM, since everything (templates, ISOs, snapshots) works out of the box with the SSVM.
What I would like to achieve is a design where I can:
Take advantage of Ceph’s resiliency and availability, and
Still benefit from NFS integration for templates, snapshots, and SSVM operations.
One idea I had was to mount CephFS on all KVM hosts as a SharedMountPoint. This way, CloudStack would handle it like a shared NFS datastore, but the backend would still be Ceph.
My questions:
Is this a good alternative or are there known pitfalls with this approach?
What are the best practices for combining Ceph (RBD) and NFS in CloudStack to get the best of both worlds?
Should I stick with RBD for Primary and only use NFS for Secondary, or is there a better hybrid model?
Thanks in advance for your insights!
Beta Was this translation helpful? Give feedback.
All reactions