Tech:GlusterFS

GlusterFS is an open-source network filesystem solution. It is no longer used on Miraheze and has been replaced by Swift.

To setup a volume
You need to run the following to set up a volume (only required if this is a new cluster)



Note: Please do the ssl step if you create a new volume.

To setup ssl (and set the path)
(This is only needed for new clusters)

(You have to make sure the volume is stopped beforehand which you can do )







You also need to do  on gluster nodes & the client to enable TLS on the Management Path.

Adding new bricks to existing cluster
Make sure that the gluster node is added to firewall.yaml in the puppet module.

Also, make sure you do the "Probe server" step before doing the below step.


 * Run

Adding clients
You need to add the client to the firewall, which you can do by adding it to.


 * You can then use gluster::mount.

Getting volume info

 * Run

Stopping and starting the volume

 * To stop the volume run.


 * To start the volume run.

Getting help for gluster commands

 * Run the following.


 * You can also run the following