summaryrefslogtreecommitdiffstats
path: root/250/regr/spec_files/client1.vol
blob: dce323ab200c4e8c9410476fa20d1aa230ef6716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# **** 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 7001              # default server port is 6996
  option transport.socket.nodelay on
  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 7002              # default server port is 6996
  option transport.socket.nodelay on
  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 6998              # default server port is 6996
#  option transport.socket.nodelay on
#  option remote-subvolume brick3        # name of the remote volume
#end-volume

## Add replicate feature.
volume replicate
  type cluster/replicate
  subvolumes client1 client2 
end-volume