ceph: fast starter: start mon, mgr first, fix syntax error

This commit is contained in:
Nico Schottelius 2024-08-05 13:18:49 +02:00
parent 4b740b4b3b
commit 8582e73afc

View file

@ -10,10 +10,10 @@
ceph-volume lvm activate --all
for osd in
/etc/monit/conf.d/osd.* \
for osd in \
/etc/monit/conf.d/mon.* \
/etc/monit/conf.d/mgr.* \
/etc/monit/conf.d/mon.* ; do
/etc/monit/conf.d/osd.* ; do
cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//')
echo $cmd