4b740b4b3b
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
21 lines
394 B
Bash
Executable file
21 lines
394 B
Bash
Executable file
#!/bin/sh
|
|
# 2022-02-01
|
|
# Update 2024-08-05: include mgr and osds
|
|
|
|
/etc/init.d/lvm2 start
|
|
|
|
|
|
/opt/ungleich-tools/ceph/ceph-osd-activate-all
|
|
|
|
ceph-volume lvm activate --all
|
|
|
|
|
|
for osd in
|
|
/etc/monit/conf.d/osd.* \
|
|
/etc/monit/conf.d/mgr.* \
|
|
/etc/monit/conf.d/mon.* ; do
|
|
|
|
cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//')
|
|
echo $cmd
|
|
( $cmd & )
|
|
done
|