All pastes #763679 Raw Edit

kevev

public text v1 · immutable
·published 2007-11-06 17:39 UTC
rendered paste body
  volume local-httpd-conf-ds
          type storage/posix
          option directory /raid5/etc/httpd
  end-volume

  volume httpd-conf-centos-2.localdomain-ds
          type protocol/client
          option transport-type tcp/client
          option remote-host 192.168.43.129
          option remote-subvolume local-httpd-conf-ds
          option transport-timeout 10
  end-volume

  volume httpd-conf-centos-3.localdomain-ds
          type protocol/client
          option transport-type tcp/client
          option remote-host 192.168.43.130
          option remote-subvolume local-httpd-conf-ds
          option transport-timeout 10
  end-volume
 
  volume httpd-conf-ds-afr
          type cluster/afr
          subvolumes local-httpd-conf-ds httpd-conf-centos-2.localdomain-ds httpd-conf-centos-3.localdomain-ds
#          option replicate *:3
#          option scheduler random
  end-volume

  volume httpd-conf
          type performance/io-threads
          option thread-count 8
          option cache-size 64MB
          subvolumes httpd-conf-ds-afr
  end-volume

  volume local-var-www-ds
          type storage/posix
          option directory /raid5/var/www
  end-volume

  volume var-www-centos-2.localdomain-ds
          type protocol/client
          option transport-type tcp/client
          option remote-host 192.168.43.129
          option remote-subvolume local-var-www-ds
          option transport-timeout 10
  end-volume

  volume var-www-centos-3.localdomain-ds
          type protocol/client
          option transport-type tcp/client
          option remote-host 192.168.43.130
          option remote-subvolume local-var-www-ds
          option transport-timeout 10
  end-volume

  volume var-www-ds-afr
          type cluster/afr
          subvolumes local-var-www-ds var-www-centos-2.localdomain-ds var-www-centos-3.localdomain-ds
#          option replicate *:3
#          option scheduler random
  end-volume

  volume var-www
          type performance/io-threads
          option thread-count 8
          option cache-size 64MB
          subvolumes var-www-ds-afr
  end-volume

  volume server
    type protocol/server
    option transport-type tcp/server
    subvolumes httpd-conf var-www
    option auth.ip.local-httpd-conf-ds.allow *
    option auth.ip.httpd-conf.allow 127.0.0.1
    option auth.ip.local-var-www-ds.allow *
    option auth.ip.var-www.allow 127.0.0.1
  end-volume