[Gluster-users] Fwd: NUFA sample volume file to the following configuration

Basavanagowda Kanur gowda at zresearch.com
Mon Dec 29 11:02:11 UTC 2008


simple server configuration for AFR over two storage directories would look
like this:
volume storage-1
        type storage/posix
        option directory /disk1
end-volume

volume locks-1
        type features/locks
        subvolumes storage-1
end-volume

volume storage-2
        type storage/posix
        option directory /disk2
end-volume

volume locks-2
        type features/posix-locks
        subvolumes storage-2
end-volume

volume afr-1
       type cluster/afr
       subvolumes locks-1 locks-2
end-volume

volume server
       type protocol/server
       option transport-type tcp
       option auth.addr.afr-1.allow *
       subvolumes afr-1
end-volume

volume afr-2
      type protocol/client
      option remote-subvolume afr-2
      option remote-host <host-ip-address>
end-volume

volume nufa
      type cluster/nufa
      option local-volume-name afr-1
      subvolumes afr-1 afr-2
end-volume

PS: this is a template, you need to specify ip-address & port numbers
according to your settings.

--
gowda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081229/1ec97073/attachment.html>


More information about the Gluster-users mailing list