summaryrefslogtreecommitdiffstats
path: root/TestUnits/replicate/self_heal/testenv.cfg
blob: a8b15c869cf5af7c0a39d80a82039c1aa17b7a10 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[DEFAULT]
user = root
password = syst3m
glusterversion = 3.2.5
installpath =
downloadpath = 

# ExportDir Section.
# Necessary Options: dir
# Optional: fstype, device
[export1]
dir = /export
fstype = xfs
device = /dev/sdb1

[export2]
dir = /export
fstype = xfs
device = /dev/sda1

# Server Section
# Necessary Options: hostname, username, password, glusterversion.
# The username, password, glusterversion defaults from DEFAULTS Section and
# can be overridden
# Optional: installpath
[server1]
hostname = 10.1.11.110

[server2]
hostname = 10.1.11.111

# Brick Section
# Necessary Options: hostname, path
[brick1]
hostname = server1.hostname
path = export1

[brick2]
hostname = server2.hostname
path = export2


# Volume Section
# Necessary Options: volumename, volumetype, count, transporttype, bricks
[volume1]
volumename = replicate
volumetype = replica
count = 2
transporttype = tcp
bricks = brick1, brick2

# Client Section
# Necessary Options: hostname, username, password, glusterversion.
# The username, password, glusterversion defaults from DEFAULTS Section and
# can be overridden
# Optional: installpath
[client1]
hostname = 10.1.11.109

# MountDevice Section
# Necessary Options: hostname, volume 
# The Server1.hostname could be a VIP also. Need not be a server hostname
# IN a general case,(without NFS) we keep the 1st server from serverpool
# The volume specified in this section is the "active_volume" onto which all
# clients will be mounting to. This active volume and hostname can be changed
# during testrun.  
[mountdevice1]
hostname = server1.hostname
volumename = volume1.volumename

# Mount Section
# addMount(dir, type, client, device=master.volume, logfile=None)
[mount1]
dir = /mnt/replicate1
client = client1
device = mountdevice1
type = glusterfs
logfile =
options =

[mount2]
dir = /mnt/replicate2
client = client1
device = mountdevice1
type = glusterfs

[mount3]
dir = /mnt/replicate3
client = client1
device = mountdevice1
type = glusterfs