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
  • Stop All Ceph Daemons

    # systemctl stop ceph.target
  • Restart All Ceph Daemons

    # systemctl restart ceph.target

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
    • Stopping:

      # systemctl stop ceph-mon.target
    • Restarting:

      # systemctl restart ceph-mon.target
  • All OSD Daemons

    • Starting:

      # systemctl start ceph-osd.target
    • Stopping:

      # systemctl stop ceph-osd.target
    • Restarting:

      # systemctl restart ceph-osd.target
  • All RADOS Gateway Daemons

    • Starting:

      # systemctl start ceph-radosgw.target
    • Stopping:

      # systemctl stop ceph-radosgw.target
    • Restarting:

      # systemctl restart ceph-radosgw.target

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>
    • Stopping:

      # systemctl stop ceph-mon@<monitor_hostname>
    • Restarting:

      # systemctl restart ceph-mon@<monitor_hostname>
  • OSD Instance

    • Starting:

      # systemctl start ceph-osd@<OSD_number>
    • Stopping:

      # systemctl stop ceph-osd@<OSD_number>
    • Restarting:

      # systemctl restart ceph-osd@<OSD_number>
  • RADOS Gateway Instance

    • Starting:

      # systemctl start ceph-radosgw@rgw.<gateway_hostname>
    • Stopping:

      # systemctl stop ceph-radosgw@rgw.<gateway_hostname>
    • Restarting:

      # systemctl restart ceph-radosgw@rgw.<gateway_hostname>
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.