官术网_书友最值得收藏!

CephFS MetaData server (MDS)

In order to manage and provide the hierarchy of data as presented in the context of a familiar tree-organized filesystem, Ceph needs to store additional metadata given the semantics expected:

  • Permissions
  • Hierarchy
  • Names
  • Timestamps
  • Owners
  • Mostly POSIX compliant. mostly.

Unlike legacy systems, the CephFS MDS is designed to facilitate scaling. It is important to note that actual file data does not flow through the Ceph MDS: as with RBD volumes, CephFS clients use the RADOS system to perform bulk data operations directly against a scalable number of distributed OSD storage daemons. In a loose sense, the MDS implements a control plane while RADOS implements the data plane; in fact, the metadata managed by Ceph's MDS also resides on the OSDs via RADOS alongside payload data / file contents:

It is important to note that MDS servers are only required if you're going to use the CephFS file-based interface; the majority of clusters that provide only block and / or object user-facing services do not need to provision them at all. It is also important to note that CephFS is best limited to use among servers—a B2B service if you will—as opposed to B2C. Some Ceph operators have experimented with running NFS or Samba (SMB/CIFS) to provide services directly to workstation clients, but this should be considered as advanced.

Although CephFS is the oldest of Ceph's user-facing interfaces, it has not received as much user and developer attention as have the RBD block service and the common RADOS core. CephFS in fact was not considered ready for production until the Jewel release in early 2016, and as I write still has certain limitations, notably, running multiple MDSes in parallel for scaling and high availability is still problematic. While one can and should run multiple MDSes, with the Kraken release only one can safely be active at any time. Additional MDSes instances are advised to operate in a standby role for failover in case the primary fails. With the Luminous release, multiple active MDS instances are supported. It is expected that future releases will continue to improve the availability and scaling of the MDS services.

More and updated information on CephFS best practices and limitations can be found at
http://docs.ceph.com/docs/master/cephfs/best-practices
and
http://docs.ceph.com/docs/master/cephfs/posix
主站蜘蛛池模板: 通化市| 郴州市| 姚安县| 佛学| 河曲县| 南充市| 柘荣县| 城步| 永和县| 乌兰县| 揭东县| 襄汾县| 留坝县| 咸丰县| 巍山| 栾川县| 元阳县| 星子县| 墨竹工卡县| 大埔区| 新巴尔虎左旗| 刚察县| 凌源市| 通渭县| 抚顺市| 九江市| 大石桥市| 伊金霍洛旗| 花垣县| 巫溪县| 宜宾县| 锡林郭勒盟| 阿拉善左旗| 正蓝旗| 丰县| 安新县| 长白| 资阳市| 丰原市| 宁强县| 余干县|