I'm testing ceph feature,and now have a probem make me confused.
Network construction is as shown in the figure below: serverB is primary monitor , it has 5 osds serverC is secondary monitor, it has 5 osds serverD is tertiary monitor,it has 5 osds client A use a rbd block via 'rbd map' command.
When shutdown serverB(primary monitor), input ‘ceph osd tree’ on serverC or serverD will show all the osd is up and in, At this time ,if input ‘rbd create aaa –size 100’, it will block, after neally 18 minutes, osds on serverB change status to down, and command ‘rbd create xxx’ return;
My question: 1. Why rbd create will block about 18minutes? Is this because the status of osds on serverB(the shutdown one) is not modified to down? What is the time mechanism about this? 2. When write objects, if primary osd think other osd is up, it will always wait until other osd reply, it doesn’t have timeout mechanism, isn’t it? 3. The same environment , if I shutdown serverC(secondary monitor) , ‘ceph osd tree’ show four osds down and another one osd is up; if I shutdown serverD,the result is five osds are all down or all up, when all osd is up,the result is the same as shutdown server B; shutdown primary monitor / secondary monitor / tertiary monitor, ceph status is not the same,I’m very confused about this.Can someone help me? 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本 邮件! This e-mail and its attachments contain confidential information from H3C, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! |
Attachment:
image002.emz
Description: image002.emz
Attachment:
image005.emz
Description: image005.emz
Attachment:
image007.emz
Description: image007.emz
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com