我在高可用性集群中使用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.
更多推荐
发布评论