Show Table of Contents
第 8 章 集群
Corosync 的动态令牌超时
在
Corosync Cluster Engine 中添加 token_coefficient 选项。只有指定 nodelist,且至少有三个节点时才会使用 token_coefficient。在这种情况下,按以下方法计算令牌超时:
[token + (amount of nodes - 2)] * token_coefficient
这样就可以在每次添加新节点时,无需手动更改令牌超时即可按比例调整集群。默认值为 650 毫秒,但可将其设定为 0,即完全不使用这个功能。
这个功能可让
Corosync 处理动态添加和删除的节点。
Corosync 连接断路器改进
改进了
Corosync 的 auto_tie_breaker 仲裁功能,提供更灵活的配置,并可以修改连接断路器节点。用户现在可以在对称集群分割时选择一组保留仲裁的节点,或者选择由最小节点 ID 或者最大节点 ID 保留的仲裁。
Red Hat 高可用性改进
在 Red Hat Enterprise Linux 7.1 发行本中,
Red Hat High Availability Add-On 支持以下功能。有关这些功能的详情请查看《高可用性附加组件参考》手册。
- 现在
pcs resource cleanup命令可以重置资源状态以及所有资源的failcount。 - 可以为
pcs resource move命令指定lifetime参数,表示这个命令所生成资源限制的有效时间。 - 可以使用
pcs acl命令设定本地用户权限,使其有使用访问控制列表(ACL)只读或者读写集群配置的权限。 - 除常规资源选项外,
pcs constraint命令现在支持具体限制选项。 pcs resource create命令支持disabled参数,表示不会自动启动要创建的资源。pcs cluster quorum unblock命令防止集群在建立仲裁时等待所有节点。- 可以使用
pcs resource create命令的before和after参数配置资源组顺序。 - 可以使用 tarball 备份集群配置,并在所有节点中,使用
pcs config命令的backup和restore选项在所有节点中恢复集群配置。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.