GlusterFS Setup https://www.axivo.com/resources/glusterfs-setup.20/
Just had a play with this, and added 3 nodes in to have 1 x nginx / 2 x php-fpm / 1 x mariadb Code: [root@nginx library]# gluster pool list UUID Hostname State c5e5ec1c-9cf6-4c6e-8bf3-c611c08ac492 10.131.236.167 Connected e95920da-a0f8-4e88-a8f2-3881819056dc 10.131.236.168 Connected 8e11499d-516b-45d7-b904-3f947cc024a4 localhost Connected [root@nginx library]#
Pretty easy @Matt ehh? Is an amazing product, I present it today to my team and they were impressed. You can do a lot more with Gluster, my tutorial is just a drop in the ocean. I will update the tutorial in time with more advanced features.
It really is! It's brilliant seeing it working. I uploaded the XenForo install files, and seeing them mirroring instantly on the other nodes is pretty impressive. Very fast as well.
@Floren CentOS 7 packages for glusterfs coming soon ? CentOS 6.5 Code: yum --enablerepo=axivo list available | grep glusterfs glusterfs.x86_64 3.4.0.57rhs-1.el6_5 updates glusterfs-api.x86_64 3.4.0.57rhs-1.el6_5 updates glusterfs-api-devel.x86_64 3.4.0.57rhs-1.el6_5 updates glusterfs-cli.x86_64 3.5.2-1.el6 axivo glusterfs-devel.x86_64 3.4.0.57rhs-1.el6_5 updates glusterfs-extra-xlators.x86_64 3.5.2-1.el6 axivo glusterfs-fuse.x86_64 3.4.0.57rhs-1.el6_5 updates glusterfs-geo-replication.x86_64 3.5.2-1.el6 axivo glusterfs-libs.x86_64 3.4.0.57rhs-1.el6_5 updates glusterfs-rdma.x86_64 3.4.0.57rhs-1.el6_5 updates glusterfs-regression-tests.x86_64 3.5.2-1.el6 axivo glusterfs-resource-agents.noarch 3.5.2-1.el6 axivo glusterfs-server.x86_64 3.5.2-1.el6 axivo Code: yum --disablerepo=* --enablerepo=axivo list available | grep glusterfs glusterfs.x86_64 3.5.2-1.el6 axivo glusterfs-api.x86_64 3.5.2-1.el6 axivo glusterfs-api-devel.x86_64 3.5.2-1.el6 axivo glusterfs-cli.x86_64 3.5.2-1.el6 axivo glusterfs-devel.x86_64 3.5.2-1.el6 axivo glusterfs-extra-xlators.x86_64 3.5.2-1.el6 axivo glusterfs-fuse.x86_64 3.5.2-1.el6 axivo glusterfs-geo-replication.x86_64 3.5.2-1.el6 axivo glusterfs-libs.x86_64 3.5.2-1.el6 axivo glusterfs-rdma.x86_64 3.5.2-1.el6 axivo glusterfs-regression-tests.x86_64 3.5.2-1.el6 axivo glusterfs-resource-agents.noarch 3.5.2-1.el6 axivo glusterfs-server.x86_64 3.5.2-1.el6 axivo CentOS 7.0 not yet Code: yum --enablerepo=axivo list available | grep glusterfs glusterfs.x86_64 3.4.0.59rhs-1.el7.centos base glusterfs-api.x86_64 3.4.0.59rhs-1.el7.centos base glusterfs-api-devel.x86_64 3.4.0.59rhs-1.el7.centos base glusterfs-devel.x86_64 3.4.0.59rhs-1.el7.centos base glusterfs-fuse.x86_64 3.4.0.59rhs-1.el7.centos base glusterfs-libs.x86_64 3.4.0.59rhs-1.el7.centos base glusterfs-rdma.x86_64 3.4.0.59rhs-1.el7.centos base
@eva2000, I should have them ready this weekend, working on the XenForo 1.4 upgrade which is a pain on my heavy hacked site setup
The best part is low latency and resources usage. No stress on nodes at all... but you already noticed that.
Thanks good to have more than one source for YUM packages. Seems GlusterFS has an official EPEL repo of it's own - if you need 32bit support too Official GlusterFS YUM Repository packages for CentOS 6.5 & 7.0 | Centmin Mod Community
@eva2000, don't say I'm not a good guy. Code: # yum --enablerepo=axivo -q list gluster* Installed Packages glusterfs.x86_64 3.4.0.59rhs-1.el7.centos @anaconda glusterfs-api.x86_64 3.4.0.59rhs-1.el7.centos @anaconda glusterfs-fuse.x86_64 3.4.0.59rhs-1.el7.centos @anaconda glusterfs-libs.x86_64 3.4.0.59rhs-1.el7.centos @anaconda Available Packages glusterfs.x86_64 3.5.2-1.el7 axivo glusterfs-api.x86_64 3.5.2-1.el7 axivo glusterfs-api-devel.x86_64 3.5.2-1.el7 axivo glusterfs-cli.x86_64 3.5.2-1.el7 axivo glusterfs-devel.x86_64 3.5.2-1.el7 axivo glusterfs-extra-xlators.x86_64 3.5.2-1.el7 axivo glusterfs-fuse.x86_64 3.5.2-1.el7 axivo glusterfs-geo-replication.x86_64 3.5.2-1.el7 axivo glusterfs-libs.x86_64 3.5.2-1.el7 axivo glusterfs-rdma.x86_64 3.5.2-1.el7 axivo glusterfs-regression-tests.x86_64 3.5.2-1.el7 axivo glusterfs-resource-agents.noarch 3.5.2-1.el7 axivo glusterfs-server.x86_64 3.5.2-1.el7 axivo You want to test it and see if everything is OK? I created a new service file, improved. Let me know if you have any issues.