ungleich-tools/ceph/start-all-monit-osds.sh

13 lines
269 B
Bash
Raw Normal View History

2022-02-01 14:37:23 +00:00
#!/bin/sh
# 2022-02-01
2022-04-17 17:20:53 +00:00
/etc/init.d/lvm2 start
/opt/ungleich-tools/ceph/ceph-osd-activate-all
ceph-volume lvm activate --all
2022-02-01 14:37:23 +00:00
for osd in /etc/monit/conf.d/osd.*; do cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//'); echo $cmd; ( $cmd & ); done