Subdomain Posts
None | 25 days ago
None | 25 days ago
None | 424 days ago
None | 424 days ago
None | 424 days ago
None | 562 days ago
None | 762 days ago
None | 764 days ago
None | 865 days ago
None | 871 days ago
Recent Posts
None | 16 sec ago
Python | 25 sec ago
None | 34 sec ago
None | 37 sec ago
None | 37 sec ago
SQL | 47 sec ago
None | 59 sec ago
Delphi | 1 min ago
C++ | 1 min ago
Java | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Cory Meyer on the 21st of Jan 2009 09:14:48 PM Download | Raw | Embed | Report
  1. Proposed GlusterFS 1.3.12 configuration with 3 node replication via AFR.
  2.  
  3. Server:  Brick --> TCP
  4. Client:  Bricks -->  AFR --> io-thread --> write-behind --> io-cache --> read-ahead
  5.  
  6. ## /etc/glusterfs-server.vol  ##BEGIN##
  7. volume brick01
  8.   type storage/posix
  9.   option directory /media/sda5/brick
  10. end-volume
  11.  
  12. volume server
  13.   type protocol/server
  14.   option transport-type tcp/server
  15.   option auth.ip.brick01.allow 127.0.0.1,192.168.*
  16.   subvolumes brick01 brick02 brick03
  17. end-volume
  18. ## /etc/glusterfs-server.vol  ##END##
  19.  
  20. posix/brick --> tcp
  21. ## /etc/glusterfs-clientr.vol  ##BEGIN##
  22. volume farm01.brick01
  23.  type protocol/client
  24.  option transport-type tcp/client
  25.  option remote-host 192.168.201.101
  26.  option remote-subvolume brick01
  27. end-volume
  28.  
  29. volume farm02.brick01
  30.  type protocol/client
  31.  option transport-type tcp/client
  32.  option remote-host 192.168.201.102
  33.  option remote-subvolume brick01
  34. end-volume
  35.  
  36. volume farm03.brick01
  37.  type protocol/client
  38.  option transport-type tcp/client
  39.  option remote-host 192.168.201.103
  40.  option remote-subvolume brick01
  41. end-volume
  42.  
  43. volume afr0
  44.  type cluster/afr
  45.  option read-subvolume farm01.brick01
  46.  subvolumes farm01.brick01 farm02.brick01 farm03.brick01
  47. end-volume
  48.  
  49.  
  50. volume iot_afr0
  51.     type performance/io-threads
  52.     subvolumes afr0
  53.     option thread-count 4
  54.     option cache-size 96MB
  55. end-volume
  56.  
  57. ## Add writeback feature
  58. volume write-behind_afr0
  59.   type performance/write-behind
  60.   option aggregate-size 1MB
  61.   # option flush-behind off
  62.   # subvolumes iot_afr0
  63.   subvolumes afr0
  64. end-volume
  65.  
  66. ### Add IO-Cache feature
  67. volume iocache_afr0
  68.   type performance/io-cache
  69.   #option page-size 256KB
  70.   #option page-count 2
  71.   option cache-size 64MB             # default is 32MB
  72.   option page-size 1MB               #128KB is default option
  73.   # option priority *.h:3,*.html:2,*:1 # default is '*:0'
  74.   option force-revalidate-timeout 2  # default is 1
  75.   subvolumes write-behind_afr0
  76. end-volume
  77.  
  78. ### Add readahead feature
  79. volume readahead_afr0
  80.   type performance/read-ahead
  81.   option page-size 256kb     # unit in bytes
  82.   option page-count 4      # cache per file  = (page-count x page-size)
  83.   subvolumes iocache_afr0
  84. end-volume
  85.  
  86. ## /etc/glusterfs-clientr.vol  ##END##
Submit a correction or amendment below. [ previous version ] | [ difference ] | Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: