diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/legacy/Makefile.am | 8 | ||||
-rw-r--r-- | doc/examples/legacy/README | 13 | ||||
-rw-r--r-- | doc/examples/legacy/filter.vol | 23 | ||||
-rw-r--r-- | doc/examples/legacy/io-cache.vol | 31 | ||||
-rw-r--r-- | doc/examples/legacy/io-threads.vol | 22 | ||||
-rw-r--r-- | doc/examples/legacy/posix-locks.vol | 19 | ||||
-rw-r--r-- | doc/examples/legacy/protocol-client.vol | 12 | ||||
-rw-r--r-- | doc/examples/legacy/protocol-server.vol | 21 | ||||
-rw-r--r-- | doc/examples/legacy/read-ahead.vol | 24 | ||||
-rw-r--r-- | doc/examples/legacy/replicate.vol | 118 | ||||
-rw-r--r-- | doc/examples/legacy/stripe.vol | 120 | ||||
-rw-r--r-- | doc/examples/legacy/trace.vol | 21 | ||||
-rw-r--r-- | doc/examples/legacy/trash.vol | 20 | ||||
-rw-r--r-- | doc/examples/legacy/write-behind.vol | 27 | ||||
-rw-r--r-- | doc/qa/legacy/qa-client.vol | 170 | ||||
-rw-r--r-- | doc/qa/legacy/qa-high-avail-client.vol | 17 | ||||
-rw-r--r-- | doc/qa/legacy/qa-high-avail-server.vol | 344 | ||||
-rw-r--r-- | doc/qa/legacy/qa-server.vol | 284 |
18 files changed, 0 insertions, 1294 deletions
diff --git a/doc/examples/legacy/Makefile.am b/doc/examples/legacy/Makefile.am deleted file mode 100644 index 49c9701efb3..00000000000 --- a/doc/examples/legacy/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -EXTRA = README replicate.vol stripe.vol protocol-client.vol protocol-server.vol posix-locks.vol trash.vol write-behind.vol io-threads.vol io-cache.vol read-ahead.vol filter.vol trace.vol -EXTRA_DIST = $(EXTRA) - -docdir = $(datadir)/doc/$(PACKAGE_NAME) -Examplesdir = $(docdir)/examples -Examples_DATA = $(EXTRA) - -CLEANFILES = diff --git a/doc/examples/legacy/README b/doc/examples/legacy/README deleted file mode 100644 index 73275157160..00000000000 --- a/doc/examples/legacy/README +++ /dev/null @@ -1,13 +0,0 @@ -GlusterFS's translator feature is very flexible and there are quite a lot of -ways one can configure their filesystem to behave like. - -Volume Specification is a way in which GlusterFS understands how it has to work, -based on what is written there. - -Going through the following URLs may give you more idea about all these. - -* http://www.gluster.org/docs/index.php/GlusterFS -* http://www.gluster.org/docs/index.php/GlusterFS_Volume_Specification -* http://www.gluster.org/docs/index.php/GlusterFS_Translators - -Mail us any doubts, suggestions on 'gluster-devel(at)nongnu.org' diff --git a/doc/examples/legacy/filter.vol b/doc/examples/legacy/filter.vol deleted file mode 100644 index 59bb23ecf2c..00000000000 --- a/doc/examples/legacy/filter.vol +++ /dev/null @@ -1,23 +0,0 @@ -volume client - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 192.168.1.10 # IP address of the remote brick - option remote-subvolume brick # name of the remote volume -end-volume - -## In normal clustered storage type, any of the cluster translators can come here. -# -# Definition of other clients -# -# Definition of cluster translator (may be unify, afr, or unify over afr) -# - -### 'Filter' translator is used on client side (or server side according to needs). This traslator makes all the below translators, (or say volumes) as read-only. Hence if one wants a 'read-only' filesystem, using filter as the top most volume will make it really fast as the fops are returned from this level itself. - -volume filter-ro - type features/filter - option root-squashing enable -# option completely-read-only yes -# translate-uid 1-99=0 - subvolumes client -end-volume diff --git a/doc/examples/legacy/io-cache.vol b/doc/examples/legacy/io-cache.vol deleted file mode 100644 index a71745017a2..00000000000 --- a/doc/examples/legacy/io-cache.vol +++ /dev/null @@ -1,31 +0,0 @@ -volume client - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 192.168.1.10 # IP address of the remote brick - option remote-subvolume brick # name of the remote volume -end-volume - -## In normal clustered storage type, any of the cluster translators can come -# here. -# -# Definition of other clients -# -# Definition of cluster translator (may be distribute, replicate, or distribute -# over replicate) -# - -### 'IO-Cache' translator is best used on client side when a filesystem has file -# which are not modified frequently but read several times. For example, while -# compiling a kernel, *.h files are read while compiling every *.c file, in -# these case, io-cache translator comes very handy, as it keeps the whole file -# content in the cache, and serves from the cache. -# One can provide the priority of the cache too. - -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 cache-size 64MB # 32MB is default - option force-revalidate-timeout 5 # 1second is default - option priority *.html:2,*:1 # default is *:0 -end-volume diff --git a/doc/examples/legacy/io-threads.vol b/doc/examples/legacy/io-threads.vol deleted file mode 100644 index 236f5b8b188..00000000000 --- a/doc/examples/legacy/io-threads.vol +++ /dev/null @@ -1,22 +0,0 @@ -volume brick - type storage/posix # POSIX FS translator - option directory /home/export # Export this directory -end-volume - -### 'IO-threads' translator gives a threading behaviour to File I/O calls. All -# other normal fops are having default behaviour. Loading this on server side -# helps to reduce the contension of network. (Which is assumed as a GlusterFS -# hang). - -volume iot - type performance/io-threads - subvolumes brick - option thread-count 4 # default value is 1 -end-volume - -volume server - type protocol/server - subvolumes iot - option transport-type tcp # For TCP/IP transport - option auth.addr.iot.allow 192.168.* -end-volume diff --git a/doc/examples/legacy/posix-locks.vol b/doc/examples/legacy/posix-locks.vol deleted file mode 100644 index 673afa3f8ae..00000000000 --- a/doc/examples/legacy/posix-locks.vol +++ /dev/null @@ -1,19 +0,0 @@ -volume brick - type storage/posix # POSIX FS translator - option directory /home/export # Export this directory -end-volume - -# 'Posix-locks' feature should be added on the server side. - -volume p-locks - type features/posix-locks - subvolumes brick - option mandatory on -end-volume - -volume server - type protocol/server - subvolumes p-locks - option transport-type tcp - option auth.addr.p-locks.allow 192.168.* # Allow access to "p-locks" volume -end-volume diff --git a/doc/examples/legacy/protocol-client.vol b/doc/examples/legacy/protocol-client.vol deleted file mode 100644 index c34ef790d0e..00000000000 --- a/doc/examples/legacy/protocol-client.vol +++ /dev/null @@ -1,12 +0,0 @@ -volume client - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 192.168.1.10 # IP address of the remote brick -# option transport.socket.remote-port 24016 - -# option transport-type rdma # for Infiniband verbs transport -# option transport.rdma.work-request-send-count 16 -# option transport.rdma.work-request-recv-count 16 -# option transport.rdma.remote-port 24016 - option remote-subvolume brick # name of the remote volume -end-volume diff --git a/doc/examples/legacy/protocol-server.vol b/doc/examples/legacy/protocol-server.vol deleted file mode 100644 index 195e4965782..00000000000 --- a/doc/examples/legacy/protocol-server.vol +++ /dev/null @@ -1,21 +0,0 @@ -### Export volume "brick" with the contents of "/home/export" directory. -volume brick - type storage/posix # POSIX FS translator - option directory /home/export # Export this directory -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport -# option transport.socket.listen-port 24016 - -# option transport-type rdma -# option transport.rdma.work-request-send-count 64 -# option transport.rdma.work-request-recv-count 64 -# option transport.rdma.listen-port 24016 - -# option bind-address 192.168.1.10 # Default is to listen on all interfaces - subvolumes brick - option auth.addr.brick.allow 192.168.* # Allow access to "brick" volume -end-volume diff --git a/doc/examples/legacy/read-ahead.vol b/doc/examples/legacy/read-ahead.vol deleted file mode 100644 index 9e4dba55627..00000000000 --- a/doc/examples/legacy/read-ahead.vol +++ /dev/null @@ -1,24 +0,0 @@ -volume client - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 192.168.1.10 # IP address of the remote brick - option remote-subvolume brick # name of the remote volume -end-volume - -## In normal clustered storage type, any of the cluster translators can come here. -# -# Definition of other clients -# -# Definition of cluster translator (may be distribute, replicate, or distribute -# over replicate) -# - -# 'Read-Ahead' translator is best utilized on client side, as it prefetches -# the file contents when the first read() call is issued. - -volume ra - type performance/read-ahead - subvolumes client - option page-count 4 # default is 2 - option force-atime-update no # defalut is 'no' -end-volume diff --git a/doc/examples/legacy/replicate.vol b/doc/examples/legacy/replicate.vol deleted file mode 100644 index 10626d46f05..00000000000 --- a/doc/examples/legacy/replicate.vol +++ /dev/null @@ -1,118 +0,0 @@ -### 'NOTE' -# This file has both server spec and client spec to get an understanding of -# replicate spec file. Hence can't be used as it is, as a GlusterFS spec file. -# One need to seperate out server spec and client spec to get it working. - -#========================================================================= - -# **** server1 spec file **** - -### Export volume "brick" with the contents of "/home/export" directory. -volume posix1 - type storage/posix # POSIX FS translator - option directory /home/export1 # Export this directory -end-volume - -### Add POSIX record locking support to the storage brick -volume brick1 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes posix1 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 24016 - subvolumes brick1 - option auth.addr.brick1.allow * # access to "brick" volume -end-volume - - -#========================================================================= - -# **** server2 spec file **** -volume posix2 - type storage/posix # POSIX FS translator - option directory /home/export2 # Export this directory -end-volume - -### Add POSIX record locking support to the storage brick -volume brick2 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes posix2 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 24017 - subvolumes brick2 - option auth.addr.brick2.allow * # Allow access to "brick" volume -end-volume - - -#========================================================================= - -# **** server3 spec file **** - -volume posix3 - type storage/posix # POSIX FS translator - option directory /home/export3 # Export this directory -end-volume - -### Add POSIX record locking support to the storage brick -volume brick3 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes posix3 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 24018 - subvolumes brick3 - option auth.addr.brick3.allow * # access to "brick" volume -end-volume - - -#========================================================================= - -# **** Clustered Client config file **** - -### Add client feature and attach to remote subvolume of server1 -volume client1 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 24016 - option remote-subvolume brick1 # name of the remote volume -end-volume - -### Add client feature and attach to remote subvolume of server2 -volume client2 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 24017 - option remote-subvolume brick2 # name of the remote volume -end-volume - -volume client3 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 24018 - option remote-subvolume brick3 # name of the remote volume -end-volume - -## Add replicate feature. -volume replicate - type cluster/replicate - subvolumes client1 client2 client3 -end-volume diff --git a/doc/examples/legacy/stripe.vol b/doc/examples/legacy/stripe.vol deleted file mode 100644 index 9524e8198bf..00000000000 --- a/doc/examples/legacy/stripe.vol +++ /dev/null @@ -1,120 +0,0 @@ - -### 'NOTE' -# This file has both server spec and client spec to get an understanding of -# stripe's spec file. Hence can't be used as it is, as a GlusterFS spec file. -# One need to seperate out server spec and client spec to get it working. - -#========================================================================= - -# **** server1 spec file **** - -### Export volume "brick" with the contents of "/home/export" directory. -volume posix1 - type storage/posix # POSIX FS translator - option directory /home/export1 # Export this directory -end-volume - -### Add POSIX record locking support to the storage brick -volume brick1 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes posix1 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 24016 - subvolumes brick1 - option auth.addr.brick1.allow * # access to "brick" volume -end-volume - - -#========================================================================= - -# **** server2 spec file **** -volume posix2 - type storage/posix # POSIX FS translator - option directory /home/export2 # Export this directory -end-volume - -### Add POSIX record locking support to the storage brick -volume brick2 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes posix2 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 24017 - subvolumes brick2 - option auth.addr.brick2.allow * # Allow access to "brick" volume -end-volume - - -#========================================================================= - -# **** server3 spec file **** - -volume posix3 - type storage/posix # POSIX FS translator - option directory /home/export3 # Export this directory -end-volume - -### Add POSIX record locking support to the storage brick -volume brick3 - type features/posix-locks - option mandatory on # enables mandatory locking on all files - subvolumes posix3 -end-volume - -### Add network serving capability to above brick. -volume server - type protocol/server - option transport-type tcp # For TCP/IP transport - option transport.socket.listen-port 24018 - subvolumes brick3 - option auth.addr.brick3.allow * # access to "brick" volume -end-volume - - -#========================================================================= - -# **** Clustered Client config file **** - -### Add client feature and attach to remote subvolume of server1 -volume client1 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 24016 - option remote-subvolume brick1 # name of the remote volume -end-volume - -### Add client feature and attach to remote subvolume of server2 -volume client2 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 24017 - option remote-subvolume brick2 # name of the remote volume -end-volume - -volume client3 - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 127.0.0.1 # IP address of the remote brick - option transport.socket.remote-port 24018 - option remote-subvolume brick3 # name of the remote volume -end-volume - -## Add Stripe Feature. -volume stripe - type cluster/stripe - subvolumes client1 client2 client3 - option block-size 1MB -end-volume diff --git a/doc/examples/legacy/trace.vol b/doc/examples/legacy/trace.vol deleted file mode 100644 index 59830f26a9d..00000000000 --- a/doc/examples/legacy/trace.vol +++ /dev/null @@ -1,21 +0,0 @@ -volume client - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 192.168.1.10 # IP address of the remote brick - option remote-subvolume brick # name of the remote volume -end-volume - -### 'Trace' translator is a very handy debug tool for GlusterFS, as it can be -# loaded between any of the two volumes without changing the behaviour of the -# filesystem. -# On client side it can be the top most volume in spec (like now) to understand -# what calls are made on FUSE filesystem, when a mounted filesystem is -# accessed. - -volume trace - type debug/trace - subvolumes client -end-volume - -# 'NOTE:' By loading 'debug/trace' translator, filesystem will be very slow as -# it logs each and every calls to the log file. diff --git a/doc/examples/legacy/trash.vol b/doc/examples/legacy/trash.vol deleted file mode 100644 index 3fcf315af08..00000000000 --- a/doc/examples/legacy/trash.vol +++ /dev/null @@ -1,20 +0,0 @@ -volume brick - type storage/posix # POSIX FS translator - option directory /home/export # Export this directory -end-volume - -### 'Trash' translator is best used on server side as it just renames the -# deleted file inside 'trash-dir', and it makes 4 seperate fops for one unlink -# call. -volume trashcan - type features/trash - subvolumes brick - option trash-dir /.trashcan -end-volume - -volume server - type protocol/server - subvolumes trashcan - option transport-type tcp # For TCP/IP transport - option auth.addr.brick.allow 192.168.* # Allow access to "brick" volume -end-volume diff --git a/doc/examples/legacy/write-behind.vol b/doc/examples/legacy/write-behind.vol deleted file mode 100644 index 2b5ed413921..00000000000 --- a/doc/examples/legacy/write-behind.vol +++ /dev/null @@ -1,27 +0,0 @@ -volume client - type protocol/client - option transport-type tcp # for TCP/IP transport - option remote-host 192.168.1.10 # IP address of the remote brick - option remote-subvolume brick # name of the remote volume -end-volume - -## In normal clustered storage type, any of the cluster translators can come here. -# -# Definition of other clients -# -# Definition of cluster translator (may be unify, replicate, or unify over replicate) -# - - -# 'Write-behind' translator is a performance booster for write operation. Best -# used on client side, as its main intension is to reduce the network latency -# caused for each write operation. - -volume wb - type performance/write-behind - subvolumes client - option flush-behind on # default value is 'off' - option window-size 2MB - option enable-O_SYNC no # default is no - option disable-for-first-nbytes 128KB #default is 1 -end-volume diff --git a/doc/qa/legacy/qa-client.vol b/doc/qa/legacy/qa-client.vol deleted file mode 100644 index bcf242347d3..00000000000 --- a/doc/qa/legacy/qa-client.vol +++ /dev/null @@ -1,170 +0,0 @@ -# This spec file should be used for testing before any release -# - -# 1st client -volume client1 - type protocol/client - option transport-type tcp # for TCP/IP transport -# option transport-type ib-sdp # for Infiniband transport -# option transport-type ib-verbs # for ib-verbs transport -# option transport.ib-verbs.work-request-send-size 131072 -# option transport.ib-verbs.work-request-send-count 64 -# option transport.ib-verbs.work-request-recv-size 131072 -# option transport.ib-verbs.work-request-recv-count 64 - option remote-host 127.0.0.1 - option remote-subvolume ra1 -end-volume - -# 2nd client -volume client2 - type protocol/client - option transport-type tcp # for TCP/IP transport -# option transport-type ib-sdp # for Infiniband transport -# option transport-type ib-verbs # for ib-verbs transport - option remote-host 127.0.0.1 - option remote-subvolume ra2 -end-volume - -# 3rd client -volume client3 - type protocol/client - option transport-type tcp # for TCP/IP transport -# option transport-type ib-sdp # for Infiniband transport -# option transport-type ib-verbs # for ib-verbs transport - option remote-host 127.0.0.1 - option remote-subvolume ra3 -end-volume - -# 4th client -volume client4 - type protocol/client - option transport-type tcp # for TCP/IP transport -# option transport-type ib-sdp # for Infiniband transport -# option transport-type ib-verbs # for ib-verbs transport - option remote-host 127.0.0.1 - option remote-subvolume ra4 -end-volume - -# 5th client -volume client5 - type protocol/client - option transport-type tcp # for TCP/IP transport -# option transport-type ib-sdp # for Infiniband transport -# option transport-type ib-verbs # for ib-verbs transport - option remote-host 127.0.0.1 - option remote-subvolume ra5 -end-volume - -# 6th client -volume client6 - type protocol/client - option transport-type tcp # for TCP/IP transport -# option transport-type ib-sdp # for Infiniband transport -# option transport-type ib-verbs # for ib-verbs transport - option remote-host 127.0.0.1 - option remote-subvolume ra6 -end-volume - -# 7th client -volume client7 - type protocol/client - option transport-type tcp # for TCP/IP transport -# option transport-type ib-sdp # for Infiniband transport -# option transport-type ib-verbs # for ib-verbs transport - option remote-host 127.0.0.1 - option remote-subvolume ra7 -end-volume - -# 8th client -volume client8 - type protocol/client - option transport-type tcp # for TCP/IP transport -# option transport-type ib-sdp # for Infiniband transport -# option transport-type ib-verbs # for ib-verbs transport - option remote-host 127.0.0.1 - option remote-subvolume ra8 -end-volume - -# 1st Stripe (client1 client2) -volume stripe1 - type cluster/stripe - subvolumes client1 client2 - option block-size 128KB # all striped in 128kB block -end-volume - -# 2st Stripe (client3 client4) -volume stripe2 - type cluster/stripe - subvolumes client3 client4 - option block-size 128KB # all striped in 128kB block -end-volume - -# 3st Stripe (client5 client6) -volume stripe3 - type cluster/stripe - subvolumes client5 client6 - option block-size 128KB # all striped in 128kB block -end-volume - -# 4st Stripe (client7 client8) -volume stripe4 - type cluster/stripe - subvolumes client7 client8 - option block-size 128KB # all striped in 128kB block -end-volume - - -# 1st replicate -volume replicate1 - type cluster/replicate - subvolumes stripe1 stripe2 -end-volume - -# 2nd replicate -volume replicate2 - type cluster/replicate - subvolumes stripe3 stripe4 -end-volume - -volume ns - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option remote-subvolume brick-ns -end-volume - -# Unify -volume unify0 - type cluster/unify - subvolumes replicate1 replicate2 -# subvolumes stripe1 stripe3 - option namespace ns - option scheduler rr # random # alu # nufa - option rr.limits.min-free-disk 1GB -# option alu.order x -# option alu.x.entry-threshold -# option alu.x.exit-threshold -end-volume - - -# ==== Performance Translators ==== -# The default options for performance translators should be the best for 90+% of the cases -volume iot - type performance/io-threads - subvolumes unify0 -end-volume - -volume wb - type performance/write-behind - subvolumes iot -end-volume - -volume ioc - type performance/io-cache - subvolumes wb -end-volume - -volume ra - type performance/read-ahead - subvolumes ioc -end-volume diff --git a/doc/qa/legacy/qa-high-avail-client.vol b/doc/qa/legacy/qa-high-avail-client.vol deleted file mode 100644 index 69cb8dd30f1..00000000000 --- a/doc/qa/legacy/qa-high-avail-client.vol +++ /dev/null @@ -1,17 +0,0 @@ -volume client - type protocol/client - option transport-type tcp - option remote-host localhost - option transport.socket.remote-port 7001 - option remote-subvolume server1-iot -end-volume - -volume ra - type performance/read-ahead - subvolumes client -end-volume - -volume wb - type performance/write-behind - subvolumes ra -end-volume diff --git a/doc/qa/legacy/qa-high-avail-server.vol b/doc/qa/legacy/qa-high-avail-server.vol deleted file mode 100644 index 784e8d208e4..00000000000 --- a/doc/qa/legacy/qa-high-avail-server.vol +++ /dev/null @@ -1,344 +0,0 @@ - -# -- server 1 -- -volume server1-posix1 - type storage/posix - option directory /tmp/ha-export1/ -end-volume - -volume server1-ns1 - type storage/posix - option directory /tmp/ha-export-ns1/ -end-volume - -volume server1-client2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7002 - option remote-subvolume server2-posix2 -end-volume - -volume server1-ns2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7002 - option remote-subvolume server2-ns2 -end-volume - -volume server1-client3 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7003 - option remote-subvolume server3-posix3 -end-volume - -volume server1-ns3 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7003 - option remote-subvolume server3-ns3 -end-volume - -volume server1-io1 - type performance/io-threads - option thread-count 8 - subvolumes server1-posix1 -end-volume - - -volume server1-io2 - type performance/io-threads - option thread-count 8 - subvolumes server1-client2 -end-volume - -volume server1-io3 - type performance/io-threads - option thread-count 8 - subvolumes server1-client3 -end-volume - -volume server1-ns-io1 - type performance/io-threads - option thread-count 8 - subvolumes server1-ns1 -end-volume - -volume server1-ns-io2 - type performance/io-threads - option thread-count 8 - subvolumes server1-ns2 -end-volume - -volume server1-ns-io3 - type performance/io-threads - option thread-count 8 - subvolumes server1-ns3 -end-volume - -volume server1-ns-replicate - type cluster/replicate - subvolumes server1-ns-io1 server1-ns-io2 server1-ns-io3 -end-volume - -volume server1-storage-replicate - type cluster/replicate - subvolumes server1-io1 server1-io2 server1-io3 -end-volume - -volume server1-unify - type cluster/unify - #option self-heal off - subvolumes server1-storage-replicate - option namespace server1-ns-replicate - option scheduler rr -end-volume - -volume server1-iot - type performance/io-threads - option thread-count 8 - subvolumes server1-unify -end-volume - -volume server1 - type protocol/server - option transport-type tcp - subvolumes server1-iot - option transport.socket.listen-port 7001 - option auth.addr.server1-posix1.allow * - option auth.addr.server1-ns1.allow * - option auth.addr.server1-iot.allow * -end-volume - - -# == Server2 == -volume server2-client1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7001 - option remote-subvolume server1-posix1 -end-volume - -volume server2-ns1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7001 - option remote-subvolume server1-ns1 -end-volume - -volume server2-posix2 - type storage/posix - option directory /tmp/ha-export2/ -end-volume - -volume server2-ns2 - type storage/posix - option directory /tmp/ha-export-ns2/ -end-volume - -volume server2-client3 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7003 - option remote-subvolume server3-posix3 -end-volume - -volume server2-ns3 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7003 - option remote-subvolume server3-ns3 -end-volume - -volume server2-io1 - type performance/io-threads - option thread-count 8 - subvolumes server2-client1 -end-volume - - -volume server2-io2 - type performance/io-threads - option thread-count 8 - subvolumes server2-posix2 -end-volume - -volume server2-io3 - type performance/io-threads - option thread-count 8 - subvolumes server2-client3 -end-volume - -volume server2-ns-io1 - type performance/io-threads - option thread-count 8 - subvolumes server2-ns1 -end-volume - -volume server2-ns-io2 - type performance/io-threads - option thread-count 8 - subvolumes server2-ns2 -end-volume - -volume server2-ns-io3 - type performance/io-threads - option thread-count 8 - subvolumes server2-ns3 -end-volume - -volume server2-ns-replicate - type cluster/replicate - subvolumes server2-ns-io1 server2-ns-io2 server2-ns-io3 -end-volume - -volume server2-storage-replicate - type cluster/replicate - subvolumes server2-io2 server2-io3 server2-io1 -end-volume - -volume server2-unify - type cluster/unify - option self-heal off - subvolumes server2-storage-replicate - option namespace server2-ns-replicate - option scheduler rr -end-volume - -volume server2-iot - type performance/io-threads - option thread-count 8 - subvolumes server2-unify -end-volume - -volume server2 - type protocol/server - option transport-type tcp - subvolumes server2-iot - option transport.socket.listen-port 7002 - option auth.addr.server2-posix2.allow * - option auth.addr.server2-ns2.allow * - option auth.addr.server2-iot.allow * -end-volume - -# == server 3 == -volume server3-client1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7001 - option remote-subvolume server1-posix1 -end-volume - -volume server3-ns1 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7001 - option remote-subvolume server1-ns1 -end-volume - -volume server3-client2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7002 - option remote-subvolume server2-posix2 -end-volume - -volume server3-ns2 - type protocol/client - option transport-type tcp - option remote-host 127.0.0.1 - option transport.socket.remote-port 7002 - option remote-subvolume server2-ns2 -end-volume - -volume server3-posix3 - type storage/posix - option directory /tmp/ha-export3/ -end-volume - -volume server3-ns3 - type storage/posix - option directory /tmp/ha-export-ns3/ -end-volume - -volume server3-io1 - type performance/io-threads - option thread-count 8 - subvolumes server3-client1 -end-volume - - -volume server3-io2 - type performance/io-threads - option thread-count 8 - subvolumes server3-client2 -end-volume - -volume server3-io3 - type performance/io-threads - option thread-count 8 - subvolumes server3-posix3 -end-volume - -volume server3-ns-io1 - type performance/io-threads - option thread-count 8 - subvolumes server3-ns1 -end-volume - -volume server3-ns-io2 - type performance/io-threads - option thread-count 8 - subvolumes server3-ns2 -end-volume - -volume server3-ns-io3 - type performance/io-threads - option thread-count 8 - subvolumes server3-ns3 -end-volume - -volume server3-ns-replicate - type cluster/replicate - subvolumes server3-ns-io1 server3-ns-io2 server3-ns-io3 -end-volume - -volume server3-storage-replicate - type cluster/replicate - subvolumes server3-io3 server3-io2 server3-io1 -end-volume - -volume server3-unify - type cluster/unify - option self-heal off - subvolumes server3-storage-replicate - option namespace server3-ns-replicate - option scheduler rr -end-volume - -volume server3-iot - type performance/io-threads - option thread-count 8 - subvolumes server3-unify -end-volume - -volume server3 - type protocol/server - option transport-type tcp - subvolumes server3-iot - option transport.socket.listen-port 7003 - option auth.addr.server3-posix3.allow * - option auth.addr.server3-ns3.allow * - option auth.addr.server3-iot.allow * -end-volume - diff --git a/doc/qa/legacy/qa-server.vol b/doc/qa/legacy/qa-server.vol deleted file mode 100644 index d948f701f1b..00000000000 --- a/doc/qa/legacy/qa-server.vol +++ /dev/null @@ -1,284 +0,0 @@ -# This spec file should be used for testing before any release -# - -# Namespace posix -volume brick-ns - type storage/posix # POSIX FS translator - option directory /tmp/export-ns # Export this directory -end-volume - -# 1st server - -volume brick1 - type storage/posix # POSIX FS translator - option directory /tmp/export1 # Export this directory -end-volume - -# == Posix-Locks == - volume plocks1 - type features/posix-locks -# option mandatory on - subvolumes brick1 - end-volume - -volume iot1 - type performance/io-threads - subvolumes plocks1 # change properly if above commented volumes needs to be included -# option <key> <value> -end-volume - -volume wb1 - type performance/write-behind - subvolumes iot1 -# option <key> <value> -end-volume - -volume ra1 - type performance/read-ahead - subvolumes wb1 -# option <key> <value> -end-volume - -volume brick2 - type storage/posix # POSIX FS translator - option directory /tmp/export2 # Export this directory -end-volume - -# == TrashCan Translator == -# volume trash2 -# type features/trash -# option trash-dir /.trashcan -# subvolumes brick2 -# end-volume - -# == Posix-Locks == -volume plocks2 - type features/posix-locks -# option <something> <something> - subvolumes brick2 -end-volume - -volume iot2 - type performance/io-threads - subvolumes plocks2 # change properly if above commented volumes needs to be included -# option <key> <value> -end-volume - -volume wb2 - type performance/write-behind - subvolumes iot2 -# option <key> <value> -end-volume - -volume ra2 - type performance/read-ahead - subvolumes wb2 -# option <key> <value> -end-volume - -volume brick3 - type storage/posix # POSIX FS translator - option directory /tmp/export3 # Export this directory -end-volume - -# == TrashCan Translator == -# volume trash3 -# type features/trash -# option trash-dir /.trashcan -# subvolumes brick3 -# end-volume - -# == Posix-Locks == -volume plocks3 - type features/posix-locks -# option <something> <something> - subvolumes brick3 -end-volume - -volume iot3 - type performance/io-threads - subvolumes plocks3 # change properly if above commented volumes needs to be included -# option <key> <value> -end-volume - -volume wb3 - type performance/write-behind - subvolumes iot3 -# option <key> <value> -end-volume - -volume ra3 - type performance/read-ahead - subvolumes wb3 -# option <key> <value> -end-volume - -volume brick4 - type storage/posix # POSIX FS translator - option directory /tmp/export4 # Export this directory -end-volume - -# == Posix-Locks == -volume plocks4 - type features/posix-locks -# option <something> <something> - subvolumes brick4 -end-volume - -volume iot4 - type performance/io-threads - subvolumes plocks4 # change properly if above commented volumes needs to be included -# option <key> <value> -end-volume - -volume wb4 - type performance/write-behind - subvolumes iot4 -# option <key> <value> -end-volume - -volume ra4 - type performance/read-ahead - subvolumes wb4 -# option <key> <value> -end-volume - -volume brick5 - type storage/posix # POSIX FS translator - option directory /tmp/export5 # Export this directory -end-volume - - -# == Posix-Locks == -volume plocks5 - type features/posix-locks -# option <something> <something> - subvolumes brick5 -end-volume - -volume iot5 - type performance/io-threads - subvolumes plocks5 # change properly if above commented volumes needs to be included -# option <key> <value> -end-volume - -volume wb5 - type performance/write-behind - subvolumes iot5 -# option <key> <value> -end-volume - -volume ra5 - type performance/read-ahead - subvolumes wb5 -# option <key> <value> -end-volume - -volume brick6 - type storage/posix # POSIX FS translator - option directory /tmp/export6 # Export this directory -end-volume - -# == Posix-Locks == -volume plocks6 - type features/posix-locks -# option <something> <something> - subvolumes brick6 -end-volume - -volume iot6 - type performance/io-threads - subvolumes plocks6 # change properly if above commented volumes needs to be included -# option <key> <value> -end-volume - -volume wb6 - type performance/write-behind - subvolumes iot6 -# option <key> <value> -end-volume - -volume ra6 - type performance/read-ahead - subvolumes wb6 -# option <key> <value> -end-volume - -volume brick7 - type storage/posix # POSIX FS translator - option directory /tmp/export7 # Export this directory -end-volume - -# == Posix-Locks == -volume plocks7 - type features/posix-locks -# option <something> <something> - subvolumes brick7 -end-volume - -volume iot7 - type performance/io-threads - subvolumes plocks7 # change properly if above commented volumes needs to be included -# option <key> <value> -end-volume - -volume wb7 - type performance/write-behind - subvolumes iot7 -# option <key> <value> -end-volume - -volume ra7 - type performance/read-ahead - subvolumes wb7 -# option <key> <value> -end-volume - -volume brick8 - type storage/posix # POSIX FS translator - option directory /tmp/export8 # Export this directory -end-volume - -# == Posix-Locks == -volume plocks8 - type features/posix-locks -# option <something> <something> - subvolumes brick8 -end-volume - -volume iot8 - type performance/io-threads - subvolumes plocks8 # change properly if above commented volumes needs to be included -# option <key> <value> -end-volume - -volume wb8 - type performance/write-behind - subvolumes iot8 -# option <key> <value> -end-volume - -volume ra8 - type performance/read-ahead - subvolumes wb8 -# option <key> <value> -end-volume - -volume server8 - type protocol/server - subvolumes ra8 ra1 ra2 ra3 ra4 ra5 ra6 ra7 brick-ns - option transport-type tcp # For TCP/IP transport -# option transport-type ib-sdp # For Infiniband transport -# option transport-type ib-verbs # For ib-verbs transport - option client-volume-filename /examples/qa-client.vol - option auth.addr.ra1.allow * # Allow access to "stat8" volume - option auth.addr.ra2.allow * # Allow access to "stat8" volume - option auth.addr.ra3.allow * # Allow access to "stat8" volume - option auth.addr.ra4.allow * # Allow access to "stat8" volume - option auth.addr.ra5.allow * # Allow access to "stat8" volume - option auth.addr.ra6.allow * # Allow access to "stat8" volume - option auth.addr.ra7.allow * # Allow access to "stat8" volume - option auth.addr.ra8.allow * # Allow access to "stat8" volume - option auth.addr.brick-ns.allow * # Allow access to "stat8" volume -end-volume - |