summaryrefslogtreecommitdiffstats
path: root/doc/examples/replicate.vol
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2011-06-15 06:54:22 +0000
committerAnand Avati <avati@gluster.com>2011-06-16 09:14:44 -0700
commit4566fb78c16948f91e7d5b1934d8722b51508053 (patch)
treeb5ca5b04a025819565998333ebdbc5590723bc1d /doc/examples/replicate.vol
parent4ba661f5989db0148c7c1f4631645f932a99fe56 (diff)
Bring `examples' directory upto date.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3031 (Fix share/{doc,man} directory) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3031
Diffstat (limited to 'doc/examples/replicate.vol')
-rw-r--r--doc/examples/replicate.vol17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/examples/replicate.vol b/doc/examples/replicate.vol
index 333ba7de1aa..10626d46f05 100644
--- a/doc/examples/replicate.vol
+++ b/doc/examples/replicate.vol
@@ -1,5 +1,6 @@
### '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.
+# 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.
#=========================================================================
@@ -23,8 +24,7 @@ end-volume
volume server
type protocol/server
option transport-type tcp # For TCP/IP transport
- option transport.socket.listen-port 24016
-# option client-volume-filename /etc/glusterfs/glusterfs-client.vol
+ option transport.socket.listen-port 24016
subvolumes brick1
option auth.addr.brick1.allow * # access to "brick" volume
end-volume
@@ -49,7 +49,7 @@ end-volume
volume server
type protocol/server
option transport-type tcp # For TCP/IP transport
- option transport.socket.listen-port 24017
+ option transport.socket.listen-port 24017
subvolumes brick2
option auth.addr.brick2.allow * # Allow access to "brick" volume
end-volume
@@ -75,7 +75,7 @@ end-volume
volume server
type protocol/server
option transport-type tcp # For TCP/IP transport
- option transport.socket.listen-port 24018
+ option transport.socket.listen-port 24018
subvolumes brick3
option auth.addr.brick3.allow * # access to "brick" volume
end-volume
@@ -90,7 +90,7 @@ 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 transport.socket.remote-port 24016
option remote-subvolume brick1 # name of the remote volume
end-volume
@@ -99,7 +99,7 @@ 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 transport.socket.remote-port 24017
option remote-subvolume brick2 # name of the remote volume
end-volume
@@ -107,7 +107,7 @@ 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 transport.socket.remote-port 24018
option remote-subvolume brick3 # name of the remote volume
end-volume
@@ -116,4 +116,3 @@ volume replicate
type cluster/replicate
subvolumes client1 client2 client3
end-volume
-