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
|
ctdb_brick_location: '/bricks/ctdb-brick'
gluster_infra_volume_groups:
- { vgname: 'vg_vdb', pvname: '/dev/vdb' }
- { vgname: 'vg_vdc', pvname: '/dev/vdc' }
gluster_infra_thinpools:
- {vgname: 'vg_vdb', thinpoolname: 'vg_vdb_thinpool', thinpoolsize: '9G', poolmetadatasize: '100M' }
- {vgname: 'vg_vdc', thinpoolname: 'vg_vdc_thinpool', thinpoolsize: '9G', poolmetadatasize: '100M' }
gluster_infra_lv_logicalvols:
- { vgname: 'vg_vdb', thinpool: 'vg_vdb_thinpool', lvname: 'vg_vdb_thinlv', lvsize: '9G' }
- { vgname: 'vg_vdc', thinpool: 'vg_vdc_thinpool', lvname: 'vg_vdc_thinlv', lvsize: '9G' }
- { vgname: 'vg_vdc', thinpool: 'vg_vdc_thinpool', lvname: 'ctdblv', lvsize: '20M' }
gluster_infra_mount_devices:
- { path: '/bricks/brick0', vgname: 'vg_vdb', lvname: 'vg_vdb_thinlv' }
- { path: '/bricks/brick1', vgname: 'vg_vdc', lvname: 'vg_vdc_thinlv' }
- { path: "{{ ctdb_brick_location }}", vgname: 'vg_vdc', lvname: 'ctdblv' }
gluster_infra_fw_ports:
- 2049/tcp
- 54321/tcp
- 5900/tcp
- 5900-6923/tcp
- 5666/tcp
- 16514/tcp
- 4379/tcp
gluster_infra_fw_permanent: true
gluster_infra_fw_state: enabled
gluster_infra_fw_zone: public
gluster_infra_fw_services:
- glusterfs
gluster_cluster_hosts:
#
# TODO: generate the list of nodes from vagrant/ansible
#
- storage0
- storage1
gluster_cluster_volume: vol
gluster_cluster_replica_count: 2
gluster_cluster_transport: 'tcp'
gluster_cluster_bricks: '/bricks/brick0/vol,/bricks/brick1/vol'
#Autogenerate these values containing ip addresses
ctdb_network_private_interfaces:
- "192.168.122.100"
- "192.168.122.101"
ctdb_network_public_interfaces:
- "192.168.123.10"
- "192.168.123.11"
ctdb_network_public_interface_subnet_mask: "24"
ctdb_network_public_interface_name: "eth2"
ctdb_glusterfs_volume: "ctdb"
samba_netbios_name: "GLUSTERTEST"
samba_users:
- { username: 'test1', password: 'x', uid: '2001' }
- { username: 'test2', password: 'x', uid: '2002' }
|