[关闭]
@tony-yin 2017-10-11T17:13:29.000000Z 字数 668 阅读 711

Enable OSD

未分类


  1. create bucket

for循环(osds)
2. format filesystem
3. create osd
4. mount
5. ceph-osd:初始化osd的工作目录
6. -- mcs3-ha service_ceph start osd{}

下面这张表展现了所有进度条的值和完成操作的对应关系

Progress Value do_things
10 start
15 get some info,such as s_ip, c_ip, role, partition_map
20 stop_ezs3_service
30 add bucket and link
/ 下面进入for循环
30-60 sv.enable_osd, sv.start_osd, add osd to bucket, save osd uuid, enable_main_work (这段进度条不确定,因为该步骤操作勾选的所有osd,可能为多个,完成一个osd的操作后value = 30 + 30/osd_num, such as one osd, this progress value is 60, two is 45)
/ Out of loop
60 some_osd_online = True(查看是否存在已经启用的osd)
65 create pools
67 dd radosgw(ha.add_radosgw)
70 tart_ezqos_service
75 start_web_services
80 start_radosgw
85 start_webdav
90 start_dnsmasq
100 create_admin_account, osd_role_enabled
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注