Glusterfs介绍

来源:互联网 发布:华为手机数据恢复软件 编辑:程序博客网 时间:2024/06/05 01:00

GlusterFS文件系统的架构及其管理向导

GlusterFS概述

  • Glusterfs是一个开源的分布式文件系统,是Scale存储的核心,能够处理千数量级的客户端.在传统的解决 方案中Glusterfs能够灵活的结合物理的,虚拟的和云资源去体现高可用和企业级的性能存储.
  • Glusterfs通过TCP/IP或InfiniBand RDMA网络链接将客户端的存储资块源聚集在一起,使用单一的全局命名空间来管理数据,磁盘和内存资源.
  • Glusterfs基于堆叠的用户空间设计,可以为不同的工作负载提供高优的性能.
  • Glusterfs支持运行在任何标准IP网络上标准应用程序的标准客户端,如下图1所示,用户可以在全局统一的命名空间中使用NFS/CIFS等标准协议来访问应用数据.

Glusterfs主要特征

  • 扩展性和高性能
  • 高可用
  • 全局统一命名空间
  • 弹性hash算法
  • 弹性卷管理
  • 基于标准协议

GlusterFS设计特色

  • 弹性存储
  • 线性横向扩展
  • 高可靠性
  • 完全软件实现
  • 无元数据服务

总体架构与设计

Glusterfs文件集群系统管理向导

  • 1. 分布式卷(distributed volumes)
    • 当对卷的请求是大规模存储和冗余不是很重要可以使用

# gluster volume create test-volume transport rdma server1:/exp1Creation of test-volume has been successfulPlease start the volume to access data.
  • 2. 复制型卷(replicated volumes)
    • 当在急需高可用和高可靠性的环境时可以使用它

# gluster volume create test-volume replica 2 transport tcp server1:/exp1 server2:/exp2Creation of test-volume has been successfulPlease start the volume to access data.
  • 3. 条带式卷(striped volumes)
    • 当在高并发性接收大文件的环境时必须使用条带式分布卷

# gluster volume create test-volume stripe 2 transport tcp server1:/exp1 server2:/exp2Creation of test-volume has been successfulPlease start the volume to access data.
  • 4. 分布式条带卷(distributed striped volumes)
    • 创建时需求两个或多于两个的节点, 当需求大规模存储和高可靠性的访问非常大的文件环境时必须使用这种模式的卷

# gluster volume create test-volume stripe 4 transport tcp server1:/exp1 server2:/exp2 server3:/exp3 server4:/exp4 server5:/exp5 server6:/exp6 server7:/exp7 server8:/exp8Creation of test-volume has been successfulPlease start the volume to access data.
  • 5. 分布式复制卷(distributed replicated volumes)
    • 当需求是急需大规模存储和高可靠性的环境下可以使用它

# gluster volume create test-volume replica 2 transport tcp server1:/exp1 server2:/exp2 server3:/exp3 server4:/exp4Creation of test-volume has been successfulPlease start the volume to access data.
  • 6. 条带式复制卷(striped replicated volumes)
    • 在高并发的频繁访问大量文件和性能需求关键的环境下使用它

# gluster volume create test-volume stripe 3 replica 2 transport tcp server1:/exp1 server2:/exp2 server3:/exp3 server4:/exp4 server5:/exp5 server6:/exp6Creation of test-volume has been successfulPlease start the volume to access data.

NOTE

Make sure you start your volumes before you try to mount them
1 0