11.8. 使用 Ceph Orchestrator 更新 NFS-Ganesha 集群

您可以通过在后端中使用 Ceph Orchestrator 与 Cephadm 进行 Cephadm 更改主机上的守护进程放置来更新 NFS-Ganesha 集群。

先决条件

  • 一个正在运行的 Red Hat Ceph Storage 集群。
  • 主机添加到集群中。
  • 部署所有管理器、监控器和 OSD 守护进程。
  • 使用 mgr/nfs 模块创建的 NFS-Ganesha 集群。

流程

  1. 登录到 Cephadm shell:

    示例

    [root@host01 ~]# cephadm shell

  2. 更新集群:

    语法

    ceph orch apply nfs CLUSTER_NAME ["HOST_NAME_1,HOST_NAME_2,HOST_NAME_3"]

    CLUSTER_NAME 是一个任意字符串 HOST_NAME_1,它是一个可选的字符串,代表主机更新部署的 NFS-Ganesha 守护进程。

    示例

    [ceph: root@host01 /]# ceph orch apply nfs nfsganesha "host02"

    这将更新 host02 上的 nfsganesha 集群。

验证

  • 列出集群详情:

    示例

    [ceph: root@host01 /]# ceph nfs cluster ls

  • 显示 NFS-Ganesha 集群信息:

    语法

    ceph nfs cluster info CLUSTER_NAME

    示例

    [ceph: root@host01 /]# ceph nfs cluster info nfsganesha

  • 列出主机、守护进程和进程:

    语法

    ceph orch ps --daemon_type=DAEMON_NAME

    示例

    [ceph: root@host01 /]# ceph orch ps --daemon_type=nfs

其它资源