ceph倒计时删除osd
时间:2021-05-27 来源:未知 投稿:admin 点击:次
import os
import time
os.system('ceph osd out 223')
os.system('systemctl stop ceph-osd@223')
os.system('ceph osd down 223')
os.system('ceph osd purge 223 --yes-i-really-mean-it')
print('500')
time.sleep(100)
print('400')
time.sleep(100)
print('300')
time.sleep(100)
print('200')
time.sleep(100)
print('100')
time.sleep(100)
os.system('ceph osd out 224')
os.system('systemctl stop ceph-osd@224')
os.system('ceph osd down 224')
os.system('ceph osd purge 224 --yes-i-really-mean-it')
print('500')
time.sleep(100)
print('400')
time.sleep(100)
print('300')
time.sleep(100)
print('200')
time.sleep(100)
print('100')
time.sleep(100)
os.system('ceph osd out 225')
os.system('systemctl stop ceph-osd@225')
os.system('ceph osd down 225')
os.system('ceph osd purge 225 --yes-i-really-mean-it')
print('over')
import time
os.system('ceph osd out 223')
os.system('systemctl stop ceph-osd@223')
os.system('ceph osd down 223')
os.system('ceph osd purge 223 --yes-i-really-mean-it')
print('500')
time.sleep(100)
print('400')
time.sleep(100)
print('300')
time.sleep(100)
print('200')
time.sleep(100)
print('100')
time.sleep(100)
os.system('ceph osd out 224')
os.system('systemctl stop ceph-osd@224')
os.system('ceph osd down 224')
os.system('ceph osd purge 224 --yes-i-really-mean-it')
print('500')
time.sleep(100)
print('400')
time.sleep(100)
print('300')
time.sleep(100)
print('200')
time.sleep(100)
print('100')
time.sleep(100)
os.system('ceph osd out 225')
os.system('systemctl stop ceph-osd@225')
os.system('ceph osd down 225')
os.system('ceph osd purge 225 --yes-i-really-mean-it')
print('over')
如果您的问题仍未解决,还可以加入服务器在线技术交流QQ群:8017413寻求帮助。
相关内容
最新热点内容
推荐内容