Show Table of Contents
第 10 章 Pacemaker 集群属性
使用集群属性控制在集群操作过程中遇到问题时的集群行为。
- 表 10.1 “集群属性” 论述集群属性选项。
- 第 10.2 节 “设定和删除集群属性” 论述如何设定集群属性。
- 第 10.3 节 “查询集群属性设置” 论述如何列出当前配置的集群属性。
10.1. 集群属性及选项概述
表 10.1 “集群属性” 总结了 Pacemaker 集群属性,显示这些属性的默认值,以及可以为那些属性设定的值。
注意
除本表格中论述的属性外,还有可用于集群软件的其他属性。建议不要更改这些属性的默认值。
表 10.1. 集群属性
| 选项 | 默认值 | 描述 |
|---|---|---|
batch-limit | 30 | |
migration-limit | -1(无限) | |
no-quorum-policy | stop |
* ignore - 继续进行所有资源的管理
* freeze - 继续资源管理,但不要恢复不在受影响分区中的资源
* stop - 停止受影响集群分区中的所有资源
* suicide - 隔离受影响集群分区中的所有资源
|
symmetric-cluster | true | |
stonith-enabled | true |
如果设定为
true,或未设定,则在配置更多 STONITH 前,该集群会拒绝启动资源。
|
stonith-action | reboot | |
cluster-delay | 60s | |
stop-orphan-resources | true | |
stop-orphan-actions | true | |
start-failure-is-fatal | true | |
pe-error-series-max | -1 (all) | |
pe-warn-series-max | -1 (all) | |
pe-input-series-max | -1 (all) | |
cluster-infrastructure | ||
dc-version | ||
last-lrm-refresh | ||
cluster-recheck-interval | 15min | |
default-action-timeout | 20s | |
maintenance-mode | false | |
shutdown-escalation | 20min | |
stonith-timeout | 60s | |
stop-all-resources | false | |
default-resource-stickiness | 5000 | |
is-managed-default | true | |
enable-acl | false |

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.