All pastes #979385 Raw Edit

glusterfs-server.vol (w/o Unify)

public text v1 · immutable
#979385 ·published 2008-04-10 10:15 UTC
rendered paste body
##############################################
###  GlusterFS Server Volume Specification  ##
##############################################

# dataspace on dfsD
volume gfs-ds
  type storage/posix
  option directory /opt/gfs-ds
end-volume

# namespace on dfsD
volume gfs-ns
  type storage/posix
  option directory /opt/gfs-ns
end-volume

# dataspace on dfsC
volume gfs-dfsC-ds
  type protocol/client
  option transport-type tcp/client
  option remote-host 10.0.0.40          # storage network
  option remote-subvolume gfs-ds
  option transport-timeout 10           # as per avati@zresearch.com
end-volume

# namespace on dfsC
volume gfs-dfsC-ns
  type protocol/client
  option transport-type tcp/client
  option remote-host 10.0.0.40          # 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-dfsC-ds         # local and remote dataspaces
end-volume

# automatic file replication translator for namespace
volume gfs-ns-afr
  type cluster/afr
  subvolumes gfs-ns gfs-dfsC-ns         # local and remote namespaces
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-ds-afr
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