Discover Centmin Mod today
Register Now

Axivo Axivo Yum Repo: GlusterFS Setup and Install Guide

Discussion in 'CentOS, Redhat & Oracle Linux News' started by Floren, Sep 10, 2014.

Tags:
  1. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    1:06 PM
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    6:06 PM
    1.5.15
    MariaDB 10.2
    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]# 
     
  4. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    1:06 PM
    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.
     
  5. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    6:06 PM
    1.5.15
    MariaDB 10.2
    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.
     
    Last edited: Sep 11, 2014
  6. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @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    
     
  7. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    1:06 PM
    @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 :)
     
  8. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    1:06 PM
    The best part is low latency and resources usage. No stress on nodes at all... but you already noticed that. :)
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  10. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    1:06 PM
    @eva2000, don't say I'm not a good guy. :D
    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.
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    4:06 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    thanks @Floren, going to test on CentOS 6.5 first then later 7.0 heh