Would be nice if this librgw multi tenant, could be back ported into
From: Daniel Gryniewicz [mailto:email@example.com]
Sent: 01 March 2019 14:33
Subject: [NFS-Ganesha-Support] Re: Many ceph clusters from one ganesha
On 2/28/19 1:10 PM, asmolik(a)cloudferro.com wrote:
Is it possible to connect ganesha and serve to clients more than one
with fsal_rgw? I can see that there is a global rgw config
part with one ceph.conf in ganesha.conf, so I guess it's not as simple
as adding another fsal to the config, but I'm wondering if it's at all
possible - maybe with some changes to the code.
Is there maybe any other way to serve many rgw's so that they are
visible as mountpoint to the clients?
Currently, no, it's not possible. As you noticed, Ganesha has a single
global config option for a ceph.conf, which means it can only connect to
a single cluster. In addition, FSAL_RGW currently has a singleton
instance of it's librgw connection. This is shared by all exports.
Finally, it looks like librgw (provided by Ceph) has the same issue: it
uses a singleton global context instance to connect to the cluster. So,
it looks like it would require quite a few code changes to both Ceph and
to Ganesha to be able to do this.
That said, it's fairly common to run a Ganesha instance on the same
machine as an RGW instance, so you can just run multiple Ganeshas. It
won't provide a single global namespace access to all the clusters, but
it will provide access.
Support mailing list -- support(a)lists.nfs-ganesha.org To unsubscribe
send an email to support-leave(a)lists.nfs-ganesha.org