############################################## ### GlusterFS Server Volume Specification ## ############################################## # dataspace on dfsC volume gfs-ds type storage/posix option directory /opt/gfs-ds end-volume # namespace on dfsC volume gfs-ns type storage/posix option directory /opt/gfs-ns end-volume # dataspace on dfsD volume gfs-dfsD-ds type protocol/client option transport-type tcp/client option remote-host 10.0.0.41 # storage network option remote-subvolume gfs-ds option transport-timeout 10 # as per avati@zresearch.com end-volume # namespace on dfsD volume gfs-dfsD-ns type protocol/client option transport-type tcp/client option remote-host 10.0.0.41 # storage network option remote-subvolume gfs-ns option transport-timeout 10 # as per avati@zresearch.com end-volume # automatic file replication translator for dataspace volume gfs-ds-afr type cluster/afr subvolumes gfs-ds gfs-dfsD-ds # local and remote dataspaces end-volume # automatic file replication translator for namespace volume gfs-ns-afr type cluster/afr subvolumes gfs-ns gfs-dfsD-ns # local and remote namespaces end-volume # unify the dataspace and namespace volume gfs-unify type cluster/unify subvolumes gfs-ds-afr option namespace gfs-ns-afr # TODO: study other schedulers option scheduler rr # internal round robin-style scheduler end-volume # the actual exported volume volume gfs # TODO: study further performance options type performance/io-threads option thread-count 8 option cache-size 64MB subvolumes gfs-unify end-volume # finally, the server declaration volume server type protocol/server option transport-type tcp/server subvolumes gfs # storage network access only option auth.ip.gfs-ds.allow 10.0.0.*,127.0.0.1 option auth.ip.gfs-ns.allow 10.0.0.*,127.0.0.1 option auth.ip.gfs.allow 10.0.0.* end-volume