All pastes #996380 Raw Edit

Someone

public text v1 · immutable
#996380 ·published 2008-04-24 22:03 UTC
rendered paste body
### Add client feature and attach to remote subvolume of server1
volume distfs01
 type protocol/client
 option transport-type tcp/client     # for TCP/IP transport
 option remote-host 10.8.101.51      # IP address of the remote brick
 option remote-subvolume brick        # name of the remote volume
end-volume

### Add client feature and attach to remote subvolume of server2
volume distfs02
 type protocol/client
 option transport-type tcp/client     # for TCP/IP transport
 option remote-host 10.8.101.52      # IP address of the remote brick
 option remote-subvolume brick        # name of the remote volume
end-volume

volume distfs03
 type protocol/client
 option transport-type tcp/client
 option remote-host 10.8.101.53
 option remote-subvolume brick
end-volume

volume distfs04
 type protocol/client
 option transport-type tcp/client
 option remote-host 10.8.101.54
 option remote-subvolume brick
end-volume

volume stripe0
  type cluster/stripe
  option block-size *:1MB
  option scheduler alu
  option alu.order read-usage:write-usage
  option alu.read-usage.entry-threshold 20%
  option alu.read-usage.exit-threshold 4%
  option alu.write-usage.entry-threshold 20%
  option alu.write-usage.exit-threshold 4%
  subvolumes distfs01 distfs02 distfs03 distfs04
end-volume

--------- END OF MY CONFIG FILE, BELOW IS WHAT I WANT TO PUT IN, JUST DON'T KNOW WHERE --------------------

volume ioc
  type performance/io-cache
  subvolumes client         # In this example it is 'client' you may have to change it according to your spec file.
  option page-size 1MB      # 128KB is default
  option cache-size 64MB    # 32MB is default
  option force-revalidate-timeout 5 # 1second is default 
  option priority *.html:2,*:1 # default is *:0
end-volume