blob: 9a319d0243bb5c68dd9ebcf0061adc86eeb15e62 (
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
|
Dependencies:
- Executed on all nodes.
* The GlusteFS servers are configured on all storage servers.
* The GlusterFS clients on all the servers
* The volumes are created in the configured domains
- Expects that partition for bricks is already prepared
Parameters:
glusterfs_version: should be defined (without dot, like 39)
glusterfs_transport: Transport to use, defaults to rdma
glusterfs_network: CIDR for gluster internal Infiniband network
- if 192.168.12.0/24 is specified, the 'ipekatrin1' storage node will be mapped '192.168.12.1' IP, etc.
glusterfs_servers: List of storage servers in glusterfs_network
glusterfs_bricks_path: The location to store volume bricks, defaults to 'ands_data_path'/glusterfs
glusterfs_domains: Volume configuration
Facts:
Actions:
- Installs appropriate GlusterFS repositories (to match specified version)
- Installs required packages, only native clients on the servers without storage
- Enables firewalld if necessary and allows GlusterFS service
- Configures SELinux, etc.
- Probes all storage nodes using internal Infiniband IPs
- Creates requested volumes and mounts them
|