summaryrefslogtreecommitdiffstats
path: root/roles/ands_storage/README
blob: d17a6cd962a51b0face25dfde72583f6c355dc31 (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
Dependencies:
 - Executed on the fat storage nodes
 - Ands data VG and mount-point should be configured or they will default to 'ands' and /mnt/ands

Parameters:
 - ands_data_path: Mount point of Ands Data Volume, defaults to '/mnt/ands'
 - ands_data_vg / ands_data_lv / ands_data_device / ands_data_volume_size: Configures the LV for Ands Data Volume, VG defaults to 'ands'
    - The Katrin VG will be created if not existing. The first non-partitioned device with at least 'ands_data_device_threshold' GB of space 
    will be used unless device is directlys specified with 'ands_data_device'. If ands_data_vg already exists, the 'ands_data_deivce'
    will be ignored.
    - Unless 'ands_data_volume_size' is specified, all available space on VG will be used (after creating heketi volume if it
    resides on the same VG)
 - ands_heketi_vg / ands_heketi_lv / ands_heketi_device / ands_heketi_volume_size: Configures the LV for Heketi volume manager
    - The heketi LV is only created if 'ands_heketi_volume_size' is specified in the inventory
    - By default, the 'ands_data_vg' will be used to create heketi volumes.
    - If ands_heketi_device is specified, the VG will be created if not existing.

Facts:
 - ands_data_path:
 - ands_data_vg:

Actions:
 - Configures Ands VG & LV on the storage nodes (and detects appropriate devices unless set in inventory)
 - Mounts Ands data volume