]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/install/upgrading-ceph: using systemd commands in Ubuntu instructions
authorRodrigo Severo <rodrigo@fabricadeideias.com>
Fri, 10 Jan 2020 14:38:19 +0000 (11:38 -0300)
committerRodrigo Severo <rodrigo@fabricadeideias.com>
Mon, 13 Jan 2020 19:55:21 +0000 (16:55 -0300)
Before this change, we were using the "restart" command which is a symlink to
initctl(8). and it's offered by upstart. since ubuntu/vivid, ubuntu moved from
upstart to systemd.

Please see https://lists.ubuntu.com/archives/ubuntu-devel/2016-July/039465.html

Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
doc/install/upgrading-ceph.rst

index b55f5c4d734cfdd0934f994707cbb10bbfdd2d06..6fbf43a236dc833fc41726229ed1e232c1b9ee21 100644 (file)
@@ -106,7 +106,7 @@ To upgrade monitors, perform the following steps:
 
 #. Restart each monitor. For Ubuntu distributions, use::
 
-       sudo restart ceph-mon id={hostname}
+       sudo systemctl restart ceph-mon@{hostname}.service
 
    For CentOS/Red Hat/Debian distributions, use::
 
@@ -150,11 +150,11 @@ To upgrade a Ceph OSD Daemon, perform the following steps:
 
 #. Restart the OSD, where ``N`` is the OSD number. For Ubuntu, use::
 
-       sudo restart ceph-osd id=N
+       sudo systemctl restart ceph-osd@{N}.service
 
-   For multiple OSDs on a host, you may restart all of them with Upstart. ::
+   For multiple OSDs on a host, you may restart all of them with systemd. ::
 
-       sudo restart ceph-osd-all
+       sudo systemctl restart ceph-osd
 
    For CentOS/Red Hat/Debian distributions, use::
 
@@ -195,7 +195,7 @@ To upgrade a Ceph Metadata Server, perform the following steps:
 
 #. Restart the metadata server. For Ubuntu, use::
 
-       sudo restart ceph-mds id={hostname}
+       sudo systemctl restart ceph-mds@{hostname}.service
 
    For CentOS/Red Hat/Debian distributions, use::