ungleich-tools/ceph/start-all-monit-osds.sh
2024-07-03 11:57:26 +02:00

12 lines
269 B
Bash
Executable file

#!/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