简体   繁体   English

强制 CEPH 同步和建议 CEPH 更新

[英]Forcing CEPH synchronization and advice for CEPH update

We use a CEPH cluster to store images of our virtual machines.我们使用 CEPH 集群来存储虚拟机的映像。 This cluster contains 3 monitors, 4 storage nodes and 1 admin.该集群包含 3 个监视器、4 个存储节点和 1 个管理员。

CEPH OSD TREE CEPH OSD 树

ID WEIGHT   TYPE NAME       UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 21.82190 root default
-2  5.45547     host ceph01
 0  1.09109         osd.0        up  1.00000          1.00000
 1  1.09109         osd.1        up  1.00000          1.00000
 2  1.09109         osd.2        up  1.00000          1.00000
 3  1.09109         osd.3        up  1.00000          1.00000
 4  1.09109         osd.4        up  1.00000          1.00000
-3  5.45547     host ceph02
 5  1.09109         osd.5        up  1.00000          1.00000
 6  1.09109         osd.6        up  1.00000          1.00000
 7  1.09109         osd.7        up  1.00000          1.00000
 8  1.09109         osd.8        up  1.00000          1.00000
 9  1.09109         osd.9        up  1.00000          1.00000
-4  5.45547     host ceph03
10  1.09109         osd.10       up  1.00000          1.00000
11  1.09109         osd.11       up  1.00000          1.00000
12  1.09109         osd.12       up  1.00000          1.00000
13  1.09109         osd.13       up  1.00000          1.00000
14  1.09109         osd.14       up  1.00000          1.00000
-5  5.45547     host ceph04
16  1.09109         osd.16     down        0          1.00000
17  1.09109         osd.17     down        0          1.00000
18  1.09109         osd.18     down        0          1.00000
19  1.09109         osd.19     down        0          1.00000
15  1.09109         osd.15     down        0          1.00000

First, since the last CentOs update, we can't synchronize our 4th server.首先,自上次 CentOs 更新以来,我们无法同步我们的第 4 个服务器。 On the other servers, there were no problems after the update.在其他服务器上,更新后没有问题。 We tried to sync with:我们尝试同步:

  • nodown option nodown选项
  • Running VMs运行虚拟机
  • Stopped VMs停止的虚拟机
  • Change HDD更换硬盘
  • Change HDD slot更换硬盘插槽

Does anyone have an idea or a lead for resynchronizing it?有没有人有重新同步它的想法或线索?

Actually, we're considering a fresh installation of CentOS for server ceph04.实际上,我们正在考虑为服务器 ceph04 全新安装 CentOS。

Secondly, we want to update the cluster.其次,我们要更新集群。 Is it possible to do this without disrupting the use of the cluster (with the VMs on)?是否可以在不中断集群使用的情况下执行此操作(打开 VM)?

More infos更多信息

  • OS: CentOS Linux release 7.7.1908 (Core)操作系统: CentOS Linux release 7.7.1908 (Core)
  • CEPH version: 10.2.11 CEPH 版本: 10.2.11
  • Some machines have a large disk access.有些机器有一个大的磁盘访问。

Secondly, we want to update the cluster.其次,我们要更新集群。 Is it possible to do this without disrupting the use of the cluster (with the VMs on)?是否可以在不中断集群使用的情况下执行此操作(打开 VM)?

Yes, it's possible.是的,这是可能的。 But we finally decided to turn off all VMs to speed up the synchronization.但我们最终决定关闭所有虚拟机以加快同步速度。 The update does this relatively quickly更新相对较快

Does anyone have an idea or a lead for resynchronizing it?有没有人有重新同步它的想法或线索?

It was a problem with iptable.这是iptable的问题。 After the iptable rules were changed, the synchronization started again.更改iptable规则后,同步又开始了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM