Dev/GlusterFS

[GlusterFS] CentOS 7 setup ( for rpm )

ainory 2018. 3. 23. 13:03


  • files
    • glusterfs-3.12.3-1.el7.x86_64.rpm
    • glusterfs-libs-3.12.3-1.el7.x86_64.rpm
    • glusterfs-api-3.12.3-1.el7.x86_64.rpm
    • glusterfs-fuse-3.12.3-1.el7.x86_64.rpm
    • glusterfs-client-xlators-3.12.3-1.el7.x86_64.rpm
    • glusterfs-rdma-3.12.3-1.el7.x86_64.rpm
    • userspace-rcu-0.10.0-3.el7.x86_64.rpm
    • glusterfs-geo-replication-3.12.3-1.el7.x86_64.rpm
    • glusterfs-server-3.12.3-1.el7.x86_64.rpm
    • python2-gluster-3.12.3-1.el7.x86_64.rpm
    • python-prettytable-0.7.2-2.el7.centos.noarch.rpm
    • glusterfs-cli-3.12.3-1.el7.x86_64.rpm


  • 설치 순서
    1. rpm 실행
      • rpm -Uvh glusterfs-3.12.3-1.el7.x86_64.rpm glusterfs-libs-3.12.3-1.el7.x86_64.rpm glusterfs-api-3.12.3-1.el7.x86_64.rpm glusterfs-fuse-3.12.3-1.el7.x86_64.rpm glusterfs-client-xlators-3.12.3-1.el7.x86_64.rpm glusterfs-rdma-3.12.3-1.el7.x86_64.rpm
      • rpm -Uvh userspace-rcu-0.10.0-3.el7.x86_64.rpm
      • rpm -Uvh glusterfs-geo-replication-3.12.3-1.el7.x86_64.rpm glusterfs-server-3.12.3-1.el7.x86_64.rpm python2-gluster-3.12.3-1.el7.x86_64.rpm python-prettytable-0.7.2-2.el7.centos.noarch.rpm glusterfs-cli-3.12.3-1.el7.x86_64.rpm
    2. firewalld 중지 및 사용안함
      1. systemctl stop firewalld
      2. systemctl disable firewalld
    3. /etc/hosts 파일에 host등록
      1. gluster가 설치된 모든 호스트를 hosts 파일에 등록한다.
    4. Service Start
      1. systemctl start glusterd
    5. gluster peer 등록
      • 하나의 서버를 지정하여 gluster peer를 등록한다
      1. gluster peer probe host2
      2. gluster peer probe host3
      3. gluster peer probe host4
      4. gluster peer status - peer 상태 확인
    6. volume 생성 및 등록
    7. fuse-client 설정