搜索

12.5. 配置 Crimson

download PDF

通过安装新存储集群来配置 crimson-osd。使用 bootstrap 选项安装新集群。您无法升级此集群,因为它处于实验性阶段。警告:请勿使用生产数据,因为它可能会导致数据丢失。

先决条件

  • 第一个 Ceph 监控容器的 IP 地址,也是存储集群中第一个节点的 IP 地址。
  • 登录到 registry.redhat.io
  • 至少 10 GB 的可用空间用于 /var/lib/containers/
  • 所有节点的根级别访问权限。

流程

  1. 在 bootstrap 时,使用 --image 标志来使用 Crimson 构建。

    示例

    [root@host 01 ~]# cephadm --image quay.ceph.io/ceph-ci/ceph:b682861f8690608d831f58603303388dd7915aa7-crimson bootstrap --mon-ip 10.1.240.54 --allow-fqdn-hostname --initial-dashboard-password Ceph_Crims

  2. 登录到 cephadm shell:

    示例

    [root@host 01 ~]# cephadm shell

  3. 全局启用 Crimson 作为实验性功能。

    示例

    [ceph: root@host01 /]# ceph config set global 'enable_experimental_unrecoverable_data_corrupting_features' crimson

    此步骤启用 crimson。Crimson 是高度实验性的,需要出现故障,包括崩溃和数据丢失。

  4. 启用 OSD map 标志。

    示例

    [ceph: root@host01 /]# ceph osd set-allow-crimson --yes-i-really-mean-it

    monitor 允许 crimson-osd 仅使用 --yes-i-really-mean-it 标志引导。

  5. 为 monitor 启用 Crimson 参数,以指示将默认池创建为 Crimson 池。

    示例

    [ceph: root@host01 /]#  ceph config set mon osd_pool_default_crimson true

    crimson-osd 没有为非crimson 池启动放置组(PG)。

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.