daily pastebin goal
69%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### glusterfsd.vol
  2. volume posix0
  3.   type storage/posix                   # POSIX FS translator
  4.   option directory /cluster/0         # Export this directory
  5. end-volume
  6.  
  7. volume locks0
  8.   type features/locks
  9.   subvolumes posix0
  10. end-volume
  11.  
  12. volume brick0
  13.   type performance/io-threads
  14.   option thread-count 8
  15.   subvolumes locks0
  16. end-volume
  17.  
  18. volume posix1
  19.   type storage/posix                   # POSIX FS translator
  20.   option directory /cluster/1         # Export this directory
  21. end-volume
  22.  
  23. volume locks1
  24.   type features/locks
  25.   subvolumes posix1
  26. end-volume
  27.  
  28. volume brick1
  29.   type performance/io-threads
  30.   option thread-count 8
  31.   subvolumes locks1
  32. end-volume
  33.  
  34. volume posix2
  35.   type storage/posix                   # POSIX FS translator
  36.   option directory /cluster/2         # Export this directory
  37. end-volume
  38.  
  39. volume locks2
  40.   type features/locks
  41.   subvolumes posix2
  42. end-volume
  43.  
  44. volume brick2
  45.   type performance/io-threads
  46.   option thread-count 8
  47.   subvolumes locks2
  48. end-volume
  49.  
  50. volume posix3
  51.   type storage/posix                   # POSIX FS translator
  52.   option directory /cluster/3         # Export this directory
  53. end-volume
  54.  
  55. volume locks3
  56.   type features/locks
  57.   subvolumes posix3
  58. end-volume
  59.  
  60. volume brick3
  61.   type performance/io-threads
  62.   option thread-count 8
  63.   subvolumes locks3
  64. end-volume
  65.  
  66. volume server
  67.   type protocol/server
  68.   option transport-type tcp
  69. # option client-volume-filename /etc/glusterfs/glusterfs-client.vol
  70.   subvolumes brick0 brick1 brick2 brick3
  71.   option auth.addr.brick0.allow *
  72.   option auth.addr.brick1.allow *
  73.   option auth.addr.brick2.allow *
  74.   option auth.addr.brick3.allow *
  75. end-volume
  76.  
  77.  
  78. ###glusterfs-client.vol
  79. volume ewcs2_cluster0
  80.   type protocol/client
  81.   option transport-type tcp
  82.   option remote-host ewcs2.ewcs.com
  83.   option remote-subvolume brick0
  84. end-volume
  85. volume ewcs2_cluster1
  86.   type protocol/client
  87.   option transport-type tcp
  88.   option remote-host ewcs2.ewcs.com
  89.   option remote-subvolume brick1
  90. end-volume
  91. volume ewcs2_cluster2
  92.   type protocol/client
  93.   option transport-type tcp
  94.   option remote-host ewcs2.ewcs.com
  95.   option remote-subvolume brick2
  96. end-volume
  97. volume ewcs2_cluster3
  98.   type protocol/client
  99.   option transport-type tcp
  100.   option remote-host ewcs2.ewcs.com
  101.   option remote-subvolume brick3
  102. end-volume
  103.  
  104. volume ewcs4_cluster0
  105.   type protocol/client
  106.   option transport-type tcp
  107.   option remote-host ewcs4.ewcs.com
  108.   option remote-subvolume brick0
  109. end-volume
  110. volume ewcs4_cluster1
  111.   type protocol/client
  112.   option transport-type tcp
  113.   option remote-host ewcs4.ewcs.com
  114.   option remote-subvolume brick1
  115. end-volume
  116. volume ewcs4_cluster2
  117.   type protocol/client
  118.   option transport-type tcp
  119.   option remote-host ewcs4.ewcs.com
  120.   option remote-subvolume brick2
  121. end-volume
  122. volume ewcs4_cluster3
  123.   type protocol/client
  124.   option transport-type tcp
  125.   option remote-host ewcs4.ewcs.com
  126.   option remote-subvolume brick3
  127. end-volume
  128.  
  129. volume ewcs7_cluster0
  130.   type protocol/client
  131.   option transport-type tcp
  132.   option remote-host 10.0.0.149
  133.   option remote-subvolume brick0
  134. end-volume
  135. volume ewcs7_cluster1
  136.   type protocol/client
  137.   option transport-type tcp
  138.   option remote-host 10.0.0.149
  139.   option remote-subvolume brick1
  140. end-volume
  141. volume ewcs7_cluster2
  142.   type protocol/client
  143.   option transport-type tcp
  144.   option remote-host 10.0.0.149
  145.   option remote-subvolume brick2
  146. end-volume
  147. volume ewcs7_cluster3
  148.   type protocol/client
  149.   option transport-type tcp
  150.   option remote-host 10.0.0.149
  151.   option remote-subvolume brick3
  152. end-volume
  153.  
  154. volume repl1
  155.   type cluster/replicate
  156.   subvolumes ewcs2_cluster0 ewcs4_cluster0 ewcs7_cluster0
  157. end-volume
  158.  
  159. volume repl2
  160.   type cluster/replicate
  161.   subvolumes ewcs2_cluster1 ewcs4_cluster1 ewcs7_cluster1
  162. end-volume
  163.  
  164. volume repl3
  165.   type cluster/replicate
  166.   subvolumes ewcs2_cluster2 ewcs4_cluster2 ewcs7_cluster2
  167. end-volume
  168.  
  169. volume repl4
  170.   type cluster/replicate
  171.   subvolumes ewcs2_cluster3 ewcs4_cluster3 ewcs7_cluster3
  172. end-volume
  173.  
  174. volume distribute
  175.   type cluster/distribute
  176.   subvolumes repl1 repl2 repl3 repl4
  177. end-volume
  178.  
  179. volume writebehind
  180.   type performance/write-behind
  181.   option aggregate-size 32MB
  182.   option cache-size 64MB
  183.   subvolumes distribute
  184. end-volume
  185.  
  186. volume ioc
  187.   type performance/io-cache
  188.   option cache-size 64MB
  189.   subvolumes writebehind
  190. end-volume
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top