Same CephFS mounted in 2 clusters at the same time #5230
-
|
A little background and how we're hoping to solve the problem.
2 ideas that we're thinking of
My questions
Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
If you are looking for features like snapshot,clone etc, it need to be dynamically provisioned PVC. If both csi are configured to work against a single ceph cluster and (namespace for omap) You can create PVC on one cluster (dynamic) and take a copy of PVC and PV from the cluster and recreate it on other cluster, With this you should be able to have active/active application where the same storage is used for both.
Not sure which UUID you are referring to
https://rook.io/docs/rook/v1.16/Storage-Configuration/Shared-Filesystem-CephFS/filesystem-storage/?h=share+cephfs+namespace#consume-the-shared-filesystem-across-namespaces, its written for sharing across namespace same can be used across cluster as well, you need to adjust the names of secrets. csi driver etc. |
Beta Was this translation helpful? Give feedback.
-
|
The UUID was the UUID on the volume object. I was wondering about the static PV option. We can for sure make the one cluster the "main" cluster that would do all of the snapshotting and stuff like that so this way of going sounds like a great solution for our needs. This information just made my day brighter. Thank you very much. |
Beta Was this translation helpful? Give feedback.
If you are looking for features like snapshot,clone etc, it need to be dynamically provisioned PVC.
If both csi are configured to work against a single ceph cluster and (namespace for omap)
You can create PVC on one cluster (dynamic) and take a copy of PVC and PV from the cluster and recreate it on other cluster, With this you should be able to have active/active application where the same storage is used for both.
Not sure which UUID you are referring to