该参数设置了在一个可信的存储池中最多可失效的主机节点数量,超出该值则认为该可信存储池已不可用了。
1.14 Quota
Quota allows you to set limits on usage of disk space by directories or by volumes.配额允许您通过目录或卷设置对磁盘空间使用的限制。
1.15 POSIX
Portable Operating System Interface [for Unix] is the name of a family of related standards specified by the IEEE to define the application programming interface (API), along with shell and utilities interfaces for software compatible with variants of the Unix operating system. Gluster exports a fully POSIX compliant file system.
可移植操作系统接口[for Unix]是IEEE定义一系列相关API标准,
1.16 RAID
Redundant Array of Inexpensive Disks (RAID) is a technology that provides increased storage reliability through redundancy, combining multiple low-cost, less-reliable disk drives components into a logical unit where all drives in the array are interdependent.
廉价磁盘冗余阵列 (RAID) 是一种技术,提供更高的存储可靠性冗余,通过将多个低成本、可靠性较低的磁盘驱动器组件组合在阵列上为一个逻辑单元。
1.17 Rebalance
当一个brick被加入或移除后,会有一个修复进程对数据分布进行重新计算与优化。
1.18 RRDNS
Round Robin Domain Name Service (RRDNS) is a method to distribute load across application servers. It is implemented by creating multiple A records with the same name and different IP addresses in the zone file of a DNS server.
轮询DNS (RRDNS)服务器是一种负载均衡方法,通过在DNS服务器的zone
石家庄众毅信息技术有限公司共47页第5页
文件中创建多个不同IP但是具有相同名字A记录。
1.19 Trusted Storage Pool
A storage pool is a trusted network of storage servers. When you start the first server, the storage pool consists of that server alone.
存储池是受信网络的存储服务器,当你启动第一台服务器时,存储池仅包含服务器自己。
1.20 Userspace
Applications running in user space don’t directly interact with hardware, instead using the kernel to moderate access. Userspace applications are generally more portable than applications in kernel space. Gluster is a user space application.
用户空间,应用程序运行在用户空间不能直接访问硬件而内核可以受限访问。用户空间应用程序相对于内核空间程序移植性更好。Gluster属于用户空间程序。
1.21 Volume
A volume is a logical collection of bricks. Most of the gluster management operations happen on the volume.
卷是bricks的逻辑集合。大多数gluster管理操作发生在卷上。
1.22 Subvolume
A brick after being processed by at least one translator or in other words set of one or more xlator stacked together is called a sub-volume.
1.23 Vol file
.vol files are configuration files used by glusterfs process. Volfiles will be usually locatedat
/var/lib/glusterd/vols/volume-name/.
Eg:vol-name-fuse.vol,export-brick-name.vol,etc.. Sub-volumes in the .vol files are present in the bottom-up approach and then after tracing forms a tree structure, where in the hierarchy last comes the client volumes.
石家庄众毅信息技术有限公司共47页第6页
Vol文件是glusterfs进程使用的配置文件,Vol文件一般放置在/var/lib/glusterd/vols/volume-name/.目录,例如ol-name-fuse.vol文件,export-brick-name.vol文件,…子卷(Sub-volumes)在 .vol文件中以自低向上的树形结构存在,层次化结构的最后就是客户卷。等等
每个GlusterFS逻辑卷的配置文件中都会有相似的两种文件,名称分别是trusted--fuse.vol和-fuse.vol。这实际上与GlusterFS的两种访问控制策略有关。GlusterFS的可信存储池设计,可以满足已经被加入到可信主机池中的主机节点挂接GlusterFS存储的访问需求,此时使用的是带有trusted-volfile前缀的配置文件。而对于不在可信主机池中的主机节点,在使用GlusterFS逻辑存储卷时,需要使用non-trusted-volfile的相关配置文件,使用username/password通过访问控制。
1.24 Client
The machine which mounts the volume (this may also be a server). 挂载卷的客户端(可能同时也是一个服务器)
1.25 Server
The machine which hosts the actual file system in which the data will be stored.
存储数据的机器,是真实文件系统所在。
1.26 Replicate
Replicate is generally done to make a redundancy of the storage for data availability.
复制是为存储可用性制作冗余的方式。
石家庄众毅信息技术有限公司共47页第7页
第2章 Architecture
2.1 卷类型
2.1.1 Distributed
分布卷可以将某个文件随机的存储在卷内的一个brick内,通常用于扩展存储能力,不支持数据的冗余。除非底层的brick使用RAID等外部的冗余措施。
$gluster volume create volume-01 node1:/media node2:/media node3:/media ..
2.1.2 Replicated
复本卷在创建时可指定复本的数量,复本在存储时会在卷的不同brick上,因此有几个复本就必须提供至少多个brick。
$gluster volume create volume-02 repl 2 node1:/media node2:/media
注意:在创建复本卷时,brick数量与复本个数必须相等;否则将会报错。 另外如果同一个节点提供了多个brick,也可以在同一个结点上创建复本卷,但这并不安全,因为一台设备挂掉,其上面的所有brick就无法访问了。 石家庄众毅信息技术有限公司共47页第8页
2.1.3 Distributed Replicated
分布复制卷在分布文件的同时对文件进行跨Brick的复制。可以用于可扩展性和高可靠性并重的场景.可以同时提高读性能。.
$gluster volume create volume-03 repl 2 node1:/exp1 node2:/exp2 node3:/exp3 node4:/exp4
注意:
复本卷的组成依赖于指定brick的顺序
brick必须为复本数K的N倍,brick列表将以K个为一组,形成N个复本卷
2.1.4 Striped
条带卷将单个文件分成小块(块大小支持配置,默认为128K),然后将小块存储在不同的brick上,以提升文件的访问性能。(对于小文件数量较多的场景不会提高性能反而会浪费空间)
$gluster volume create volume-04 stripe 2 node1:/media node2:/media
stripe后的参数指明切片的分布位置个数 注意:brick的个数必须等于分布位置的个数 石家庄众毅信息技术有限公司共47页第9页
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库GlusterFS学习笔记(翻译by 张文超)(2)在线全文阅读。
相关推荐: