2.4. 按类型启动、停止和重新启动 Ceph 守护进程
若要启动、停止或重新启动特定类型的所有 Ceph 守护进程,请在运行 Ceph 守护进程的节点上遵循以下步骤。
先决条件
-
对节点具有
root访问权限。
流程
在 Ceph 监控 节点上:
Starting
[root@mon ~]# systemctl start ceph-mon.target停止
[root@mon ~]# systemctl stop ceph-mon.target重启
[root@mon ~]# systemctl restart ceph-mon.target在 Ceph Manager 节点上:
Starting
[root@mgr ~]# systemctl start ceph-mgr.target停止
[root@mgr ~]# systemctl stop ceph-mgr.target重启
[root@mgr ~]# systemctl restart ceph-mgr.target在 Ceph OSD 节点上:
Starting
[root@osd ~]# systemctl start ceph-osd.target停止
[root@osd ~]# systemctl stop ceph-osd.target重启
[root@osd ~]# systemctl restart ceph-osd.target在 Ceph 对象网关 节点上:
Starting
[root@rgw ~]# systemctl start ceph-radosgw.target停止
[root@rgw ~]# systemctl stop ceph-radosgw.target重启
[root@rgw ~]# systemctl restart ceph-radosgw.target