Chapter 2. Understanding Process Management for Ceph
As a storage administrator, you can manipulate the Ceph daemons in various ways. Manipulating these daemons allows you to start, stop and restart all of the Ceph services as needed.
2.1. Prerequisites
- A running Red Hat Ceph Storage cluster.
2.2. An Overview of Process Management for Ceph
In Red Hat Ceph Storage 3, all process management is done through the Systemd service. Each time you want to start, restart, and stop the Ceph daemons, you must specify the daemon type or the daemon instance.
Additional Resources
- For more information about using Systemd, see Chapter 9 in the Red Hat Enterprise Linux System Administrator’s Guide.
2.3. Starting, Stopping, and Restarting All the Ceph Daemons
To start, stop, or restart all the running Ceph daemons on a node, follow these procedures.
Prerequisites
-
Having
rootaccess to the node.
Procedure
Starting all Ceph daemons:
[root@admin ~]# systemctl start ceph.target
Stopping all Ceph daemons:
[root@admin ~]# systemctl stop ceph.target
Restarting all Ceph daemons:
[root@admin ~]# systemctl restart ceph.target
2.4. Starting, Stopping, and Restarting the Ceph Daemons by Type
To start, stop, or restart all Ceph daemons of a particular type, follow these procedures on the node running the Ceph daemons.
Prerequisites
-
Having
rootaccess to the node.
Procedure
On Ceph Monitor nodes:
Starting
[root@mon ~]# systemctl start ceph-mon.target
Stopping
[root@mon ~]# systemctl stop ceph-mon.target
Restarting
[root@mon ~]# systemctl restart ceph-mon.target
On Ceph OSD nodes:
Starting
[root@osd ~]# systemctl start ceph-osd.target
Stopping
[root@osd ~]# systemctl stop ceph-osd.target
Restarting
[root@osd ~]# systemctl restart ceph-osd.target
On Ceph Object Gateway nodes:
Starting
[root@rgw ~]# systemctl start ceph-radosgw.target
Stopping
[root@rgw ~]# systemctl stop ceph-radosgw.target
Restarting
[root@rgw ~]# systemctl restart ceph-radosgw.target
2.5. Starting, Stopping, and Restarting a Ceph Daemons by Instance
To start, stop, or restart a Ceph daemon by instance, follow these procedures on the node running the Ceph daemons.
Prerequisites
-
Having
rootaccess to the node.
Procedure
On a Ceph Monitor node:
Starting
[root@mon ~]# systemctl start ceph-mon@$MONITOR_HOST_NAME
Stopping
[root@mon ~]# systemctl stop ceph-mon@$MONITOR_HOST_NAME
Restarting
[root@mon ~]# systemctl restart ceph-mon@$MONITOR_HOST_NAME
Replace
-
$MONITOR_HOST_NAMEwith the name of the Ceph Monitor node.
-
On a Ceph OSD node:
Starting
[root@osd ~]# systemctl start ceph-osd@$OSD_NUMBER
Stopping
[root@osd ~]# systemctl stop ceph-osd@$OSD_NUMBER
Restarting
[root@osd ~]# systemctl restart ceph-osd@$OSD_NUMBER
Replace
$OSD_NUMBERwith theIDnumber of the Ceph OSD.For example, when looking at the
ceph osd treecommand output,osd.0has anIDof0.
On a Ceph Object Gateway node:
Starting
[root@rgw ~]# systemctl start ceph-radosgw@rgw.$OBJ_GATEWAY_HOST_NAME
Stopping
[root@rgw ~]# systemctl stop ceph-radosgw@rgw.$OBJ_GATEWAY_HOST_NAME
Restarting
[root@rgw ~]# systemctl restart ceph-radosgw@rgw.$OBJ_GATEWAY_HOST_NAME
Replace
-
$OBJ_GATEWAY_HOST_NAMEwith the name of the Ceph Object Gateway node.
-
2.6. Additional Resources
For more information about installing Red Hat Ceph Storage, see:
- Installation Guide for Red Hat Enterprise Linux
- Installation Guide for Ubuntu

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.