ceph systemctl 管理

导读:本篇文章讲解 ceph systemctl 管理,希望对大家有帮助,欢迎收藏,转发!站点地址:www.bmabk.com

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

(0)
小半的头像小半

相关推荐

极客之音——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!