ungleich-tools/ceph/start-all-monit-osds.sh
2022-04-17 19:21:02 +02:00

12 lines
269 B
Bash

#!/bin/sh
# 2022-02-01
/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.*; do cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//'); echo $cmd; ( $cmd & ); done