CentOS 7 GlusterFS Notes

By Dag J, on December 3rd, 2017

My first time using CentOS. I've been wanting to try it for a while as it's a well-respected enterprise OS,
I thought it was a good fit to use it for my first Gluster experience to see if I can get it up and running
for scalable storage as well as hopefully get a taste for a new GNU/Linux system.
My very first GNU/Linux experience was Red Hat 6.1 so it should be fun, package management has
come a LONG way since then. I want to let RAID take take of the fault tolerance and aim for distribution and space.

First some initial personal choice CentOS stuff:

# echo 'set bell-style none' >> ~/.inputrc
# yum check-update (or just '-y update')
# yum install nano NetworkManager-tui NetworkManager-wifi pciutils usbutils -y
# yum remove firewalld -y
# nano /etc/systemd/logind.conf
^ HandleLidSwitch=ignore
# systemctl restart systemd-logind
NOTE: Ensure that TCP and UDP ports 24007 and 24008 are open on all Gluster servers.
Apart from these ports, you need to open one port for each brick starting from port
49152 (instead of 24009 onwards as with previous releases). The brick ports
assignment scheme is now compliant with IANA guidelines. For example: if you have
five bricks, you need to have ports 49152 to 49156 open.