用于获取复制完整性状态的GlusterFS命令(GlusterFS command for getting replication completeness status)

系统教程 行业动态 更新时间:2024-06-14 16:53:13
用于获取复制完整性状态的GlusterFS命令(GlusterFS command for getting replication completeness status)

我在高可用性集群中使用GlusterFS。 我需要一些功能来获取复制状态(复制完整性状态)。 换句话说,我需要知道群集现在处于受保护状态(就磁盘复制而言),并且在主节点故障转移的情况下,所有数据都不会丢失。 我已经尝试过gluster卷状态gluster peer status ,但它们只提供有关连接的信息。

PS例如在drbd中有一个命令drbdadm status ,它提供信息peer-disk:UpToDate (表示复制过程已完成)。 是否有可以为我提供所需信息的内置GlusterFS功能?

I use GlusterFS in high availability cluster. I need some functionality for getting replication status (replication completeness status). In other words I need to know that cluster now is in protected state (in terms of disk replication) and in the case of the master node failover all the data will not be lost. I already tried gluster volume status, gluster peer status, but they only provide information about connection.

P.S. For instance in drbd there was a command drbdadm status which provides information peer-disk:UpToDate (which means that replication process completed). Is there any builtin GlusterFS function that can provide me with required information?

最满意答案

g luster volume heal <VOLNAME> info是用于检查复制卷中待处理luster volume heal <VOLNAME> info的命令。 有关详细信息,请参阅https://gluster.readthedocs.io/en/latest/Troubleshooting/heal-info-and-split-brain-resolution/ 。

gluster volume heal <VOLNAME> info is the command for checking pending heals in replicate volumes. See https://gluster.readthedocs.io/en/latest/Troubleshooting/heal-info-and-split-brain-resolution/ for more info.

更多推荐

本文发布于:2023-04-06 01:37:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/b3bb9ba8b68ca99de3665e4272562db7.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:完整性   命令   状态   GlusterFS   status

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!