NFS Like Standalone Storage Server
From GlusterDocumentation
This information is out of date
and does not contain information related to the current version of Gluster
Documentation Home
The following is a simple volume specification to quickly get a functional setup. Once through, performance translators such as io-cache, write-behind, read-ahead, io-threads and so on, can be explored. AFR (automatic file replication) can easily be added to setup a high-availability NFS.
[edit]
Server Volfile
# file: /etc/glusterfs/glusterfs-server.vol volume posix type storage/posix option directory /data/export end-volume volume locks type features/locks option mandatory-locks on subvolumes posix end-volume volume brick type performance/io-threads option thread-count 8 subvolumes locks end-volume volume server type protocol/server option transport-type tcp option auth.addr.brick.allow 192.168.* # Edit and add list of allowed clients comma separated IP addrs(names) here subvolumes brick end-volume
[edit]
Client Volfile
# file: /etc/glusterfs/glusterfs-client.vol volume remote type protocol/client option transport-type tcp option remote-host storage.example.com # can be IP or hostname option remote-subvolume brick end-volume volume writebehind type performance/write-behind option window-size 4MB subvolumes remote end-volume volume cache type performance/io-cache option cache-size 512MB subvolumes writebehind end-volume
This information is out of date
and does not contain information related to the current version of Gluster
Documentation Home


