On Tue, Mar 08, 2016 at 11:44:40AM -0800, Gmail wrote:
> Hello All,
>
> Can all the nodes on a Gluster cluster be defined in one export?
>
> In other words, if I have a config file like the following:
>
> EXPORT {
> Export_Id = 1;
> Path = /test;
> Access = "*";
> Access_Type = RW;
> Squash = No_root_squash;
> Disable_ACL = TRUE;
> Pseudo = /test;
> Protocols = "3","4";
> Transports = "TCP";
> SecType = "sys";
>
> FSAL {
> name = GLUSTER;
> hostname = "127.0.0.1";
> volume = "test";
> }
> }
>
> can more than one host be defined in the FSAL section in a comma separated
> list?This is not possible now. It is advised to use round-robin DNS if you need a high-available hostname. Gluster should try to connect to the next IP-address from the DNS reply in case the 1st failed. It is possible to contribute a patch that accepts additional servers. Either through a new parameter, or have the hostname string split on commas. If you want to provide a patch for this, you only need to call glfs_set_volfile_server() multiple times with different hostnames. This can be done around https://github.com/nfs-ganesha/nfs-ganesha/blob/master/src/FSAL/FSAL_GLUSTER/export.c#L639 HTH, Niels > > > — Bishoy > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Nfs-ganesha-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________ Nfs-ganesha-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
