1、简介
1.1 介绍
作为 集群 管理 人员,可以 通过 很多种 方式 操纵 集群;可以 根据 实际 需要 开启、关闭 和 重启 ceph 进程 服务;本文 简单 描述 了 关于 systemctl 服务 管理 ceph 存储 集群(关于 systemctl 原理 后期 有机会 再 详细描述)
1.2 操作系统
本文操作系统 Centos7.3
2、开启、关闭 和 重启 所有 ceph 服务
systemctl { start | stop | restart} ceph.target
3、根据 进程 类型 开启、关闭 和 重启 ceph 服务
3.1 mon 进程
systemctl { start | stop | restart} ceph-mon.target
3.2 mgr 进程
systemctl { start | stop | restart} ceph-mgr.target
3.3 osd 进程
systemctl { start | stop | restart} ceph-osd.target
3.4 rgw 进程
systemctl { start | stop | restart} ceph-radosgw.target
3.5 mds 进程
systemctl { start | stop | restart} ceph-mds.target
4、根据 进程 实例 开启、关闭 和 重启 所有 ceph 服务
4.1 mon 实例
systemctl { start | stop | restart} ceph-mon@{mon_instance}.service
4.2 mgr 实例
systemctl { start | stop | restart} ceph-mgr@{hostname}.service
4.3 osd 实例
systemctl start ceph-osd@${osd_id}.service
4.4 rgw 实例
systemctl { start | stop | restart} ceph-radosgw@rgw.{hostname}.service
4.5 mds 实例
systemctl { start | stop | restart} ceph-mds@{hostname}.service
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/75745.html