It's an Ansible repository.
- Proxmox role: Exchange ssh public keys between hosts and create Proxmox cluster.
- Filesystem role: Has tasks for filesystem creation
- LVM role: Prepare volume groups and logical volumes which will be used for GlusterFS storage
- Glusterfs role: Create Glusterfs cluster and create gluster volume
- DRBD9 role: Create DRBD9 cluster
- Freeradius
You should clone the repository
https://github.com/MrCirca/ansible-glusterfs-proxmox.git
In directory group_vars you can configure volume_group names, physical_volumes, size, logical volumes, mountpoint etc.
In /etc/ansible/hosts inventory is defined group with hosts like this
[glusterfs_nodes]
test
test2
or
[drbd_nodes]
test1
testt2
$ ansible-playbook --private-key=path_of_your_private_key -u root drbd/glusterfs.yml -e storage_type="drbd/glusterfs"
Each role has README.md about variables that will be used.