南同网站建设软件下载,做玄幻封面素材网站,国学底蕴的公司名字,网站有些什么内容How to Decommission a vmstorage Node from a VictoriaMetrics Cluster
我们需要从VictoriaMetrics 集群中优雅地移除一个 vmstorage 节点。每个 vmstorage 节点都包含自己的数据部分#xff0c;从集群中移除 vmstorage 节点会导致图表出现空白#xff08;因为复制超出了范…How to Decommission a vmstorage Node from a VictoriaMetrics Cluster
我们需要从VictoriaMetrics 集群中优雅地移除一个 vmstorage 节点。每个 vmstorage 节点都包含自己的数据部分从集群中移除 vmstorage 节点会导致图表出现空白因为复制超出了范围。
场景 下线方案 步骤
1、vmstorage A从 vminsert 列表中删除2、等待保留期3、vmstorage A从集群中删除
注意现有 vmstorage 节点vmstorage B和vmstorage C的资源使用率可能会更高因为它们现在需要处理所有传入数据。
优点实施简单 缺点你可能需要等待很长时间 步骤
1、vmstorage A从 vminsert 列表中删除与解决方案一相同。2、设置一个专用的 vmselect 节点该节点仅知道我们要删除的 vmstorage 节点vmstorage A。我们需要此 vmselect 节点将数据从 vmstorage A 迁移到集群中的其他 vmstorage 节点。3、使用vmctl native import/export从 vmselect 读取数据vmstorage A并将数据写回 vminsert 节点。4、在此过程会创建重复项。4、在 vmselect 节点上启用重复数据删除。5、vmstorage A从集群中删除。
注意现有节点vmstorage B和vmstorage C的资源使用率可能会更高因为它们现在需要处理所有传入数据。
优点更快地退役 vmstorage 节点。 缺点与解决方案一相比该过程更复杂。如果您迁移数百 GB或更多的数据vmctl 导入/导出过程可能需要调整。