Add a ceph start script
This commit is contained in:
parent
10eac966bc
commit
03afb6161b
1 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,12 @@
|
|||
#!/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
|
||||
|
|
Loading…
Reference in a new issue