此内容没有您所选择的语言版本。

Chapter 2. Process Management


Each time you want to start, restart, and stop the Ceph daemons, you must specify the daemon type or the daemon instance.

2.1. Running Ceph as a systemd Service

In Red Hat Ceph Storage 2, all process management is done through the Systemd service.

2.1.1. Starting, Stopping, Restarting All Daemons

To start, stop, or restart all the Ceph daemons, execute the following commands from the local node running the Ceph daemons, and as root:

  • Start All Ceph Daemons

    # systemctl start ceph.target
    Copy to Clipboard Toggle word wrap
  • Stop All Ceph Daemons

    # systemctl stop ceph.target
    Copy to Clipboard Toggle word wrap
  • Restart All Ceph Daemons

    # systemctl restart ceph.target
    Copy to Clipboard Toggle word wrap

2.1.2. Starting, Stopping, Restarting All Daemons by Type

To start, stop, or restart all Ceph daemons of a particular type, execute the following commands from the local node running the Ceph daemons, and as root:

  • All Monitor Daemons

    • Starting:

      # systemctl start ceph-mon.target
      Copy to Clipboard Toggle word wrap
    • Stopping:

      # systemctl stop ceph-mon.target
      Copy to Clipboard Toggle word wrap
    • Restarting:

      # systemctl restart ceph-mon.target
      Copy to Clipboard Toggle word wrap
  • All OSD Daemons

    • Starting:

      # systemctl start ceph-osd.target
      Copy to Clipboard Toggle word wrap
    • Stopping:

      # systemctl stop ceph-osd.target
      Copy to Clipboard Toggle word wrap
    • Restarting:

      # systemctl restart ceph-osd.target
      Copy to Clipboard Toggle word wrap
  • All RADOS Gateway Daemons

    • Starting:

      # systemctl start ceph-radosgw.target
      Copy to Clipboard Toggle word wrap
    • Stopping:

      # systemctl stop ceph-radosgw.target
      Copy to Clipboard Toggle word wrap
    • Restarting:

      # systemctl restart ceph-radosgw.target
      Copy to Clipboard Toggle word wrap

2.1.3. Starting, Stopping, Restarting a Daemon by Instances

To start, stop, or restart a Ceph daemon of a particular type by instance, execute the following commands from the local node running the Ceph daemons, and as root:

  • Monitor Instance

    • Starting:

      # systemctl start ceph-mon@<monitor_hostname>
      Copy to Clipboard Toggle word wrap
    • Stopping:

      # systemctl stop ceph-mon@<monitor_hostname>
      Copy to Clipboard Toggle word wrap
    • Restarting:

      # systemctl restart ceph-mon@<monitor_hostname>
      Copy to Clipboard Toggle word wrap
  • OSD Instance

    • Starting:

      # systemctl start ceph-osd@<OSD_number>
      Copy to Clipboard Toggle word wrap
    • Stopping:

      # systemctl stop ceph-osd@<OSD_number>
      Copy to Clipboard Toggle word wrap
    • Restarting:

      # systemctl restart ceph-osd@<OSD_number>
      Copy to Clipboard Toggle word wrap
  • RADOS Gateway Instance

    • Starting:

      # systemctl start ceph-radosgw@rgw.<gateway_hostname>
      Copy to Clipboard Toggle word wrap
    • Stopping:

      # systemctl stop ceph-radosgw@rgw.<gateway_hostname>
      Copy to Clipboard Toggle word wrap
    • Restarting:

      # systemctl restart ceph-radosgw@rgw.<gateway_hostname>
      Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat