swiftgist / lrbd

Maps Ceph RBD images for iSCSI access
GNU Lesser General Public License v2.1
26 stars 10 forks source link

[Feature] Multi ceph cluster support #3

Open letonphat1988 opened 8 years ago

letonphat1988 commented 8 years ago

Hi swiftgist, I carefuly read you documents but I'm being confused about how to define the ceph cluster name that named with another name not like "ceph" ? example:

"pool": "rbd", "cluster":'CEPH_01"

I think this is a healpful feature that can help we have multi CEPH Cluster backend.

swiftgist commented 8 years ago

Hello letonphat1988, If you need to target a different cluster, would the --ceph option work? That is, specify the ceph configuration file of the other cluster.
If you do need to use different keys, the -n name option has been recently merged and may prove useful. If you are trying to use one iSCSI gateway to manage images from two different Ceph clusters, that is out of the capability of lrbd currently.

letonphat1988 commented 8 years ago

Hi swiftgist, Actually I'm trying to use one iSCSi gw to mange multi ceph backend. it's so complicated with the capability of lrbd currently. i will gws for each cluster Thank you for your sharing