]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
stop.sh: kill cephfs-mirror, rbd-mirror 53181/head
authorJos Collin <jcollin@redhat.com>
Mon, 28 Aug 2023 12:52:31 +0000 (18:22 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 29 Aug 2023 04:41:33 +0000 (10:11 +0530)
kill cephfs-mirror/rbd-mirror daemon in vstart cluster stop,
instead of having multiple mirror daemons on restart.

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/stop.sh

index 6cab228ef7b3b9ff9201876ab1f20908c127d0b7..bec67cf5a24fd0905193023e1fc7105751df1bd9 100755 (executable)
@@ -200,7 +200,7 @@ if [ $stop_all -eq 1 ]; then
     fi
 
     # killing processes
-    to_kill="$ceph_osd ceph-mon ceph-mds ceph-mgr radosgw lt-radosgw apache2 ganesha.nfsd cephfs-top"
+    to_kill="$ceph_osd ceph-mon ceph-mds ceph-mgr radosgw lt-radosgw apache2 ganesha.nfsd cephfs-top cephfs-mirror rbd-mirror"
     since_kill=0
     for step in 0 1 1 2 3 5 8; do
         sleep $step