Skip to content

Instantly share code, notes, and snippets.

@ernetas
Created April 7, 2015 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ernetas/95f30a7632489e0342d8 to your computer and use it in GitHub Desktop.
Save ernetas/95f30a7632489e0342d8 to your computer and use it in GitHub Desktop.
volume files1
type protocol/client
option transport.socket.ssl-enabled on
option transport-type tcp
option remote-host files1.example.com
option remote-subvolume /data/puppet
end-volume
volume files2
type protocol/client
option transport-type tcp
option transport.socket.ssl-enabled on
option remote-host files2.example.com
option remote-subvolume /data/puppet
end-volume
volume files3
type protocol/client
option transport.socket.ssl-enabled on
option transport-type tcp
option remote-host files3.example.com
option remote-subvolume /data/puppet
end-volume
volume replicate
type cluster/replicate
subvolumes files1 files2 files3
end-volume
volume writebehind
type performance/write-behind
option cache-size 32MB
subvolumes replicate
end-volume
volume cache
type performance/io-cache
option cache-size 512MB
option window-size 8MB
subvolumes writebehind
end-volume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment