Gluster
Jump to navigation
Jump to search
AWS Amazon Linux
- Decided to not move forward with this on Amazon Linux
I had moved the NFS backend for several services from EFS to an instance running NFS. This was much faster than EFS, but now my data was on a single instance. A new critical app was being deployed and I needed redundancy. Previously played with gluster many years ago and decided to give it a shot. I wanted to keep the costs low so This will be a two three node data and one node arbiter setup. The instances used are t3a.large for the data and t3a.small for the arbiter, all running Amazon Linux since CentOS is no longer viable. Data nodes will have 200GB SSD storage.
sudo yum upgrade -y sudo pvcreate /dev/nvme1n1 sudo vgcreate data /dev/nvme1n1 sudo lvcreate --size 195G --name gluster data sudo mkfs.ext4 /dev/mapper/data-gluster sudo mkdir /mnt/data sudo mount /dev/mapper/data-gluster /mnt/data sudo mkdir /mnt/data/brick <s>sudo yum install glusterfs-cli glusterfs -y</s> sudo ln -s /usr/lib64/libncurses.so.5 /usr/lib64/libncurses.so.6 sudo ln -s /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.5