Show Table of Contents
4.2. Fencing 设备的常规属性
注意
可按照设定常规资源的方式设定
target-role,以便禁用 fencing 设备/资源。
注意
为防止在具体节点中使用 fencing 设备,可如预期采用位置限制。
表 4.1 “Fencing 设备的常规属性” 论述了可为 fencing 设备设定的常规属性。有关为具体 fencing 设备设定 fencing 属性的详情,请参考 第 4.3 节 “显示具体设备 Fencing 选项”。
注意
有关更多高级 fencing 配置属性的详情,请参考 第 4.9 节 “附加 Fencing 配置选项”。
表 4.1. Fencing 设备的常规属性
| 项 | 类型 | 默认值 | 描述 |
|---|---|---|---|
stonith-timeout | time | 60s | 在每个 stonith 设备中等待 STONITH 动作完成的时间,可覆盖 stonith-timeout 集群属性。 |
priority | 整数 | 0 | stonith 资源的优先权。这些设备将按照优先权从高到低的顺序排列。 |
pcmk_host_map | 字符串 | 为不支持主机名的设备提供的主机名和端口号映射。例如:node1:1;node2:2,3 让集群的节点 1 使用端口 1,节点 2 使用端口 2 和 3。 | |
pcmk_host_list | 字符串 | 这台设备控制的机器列表(自选,pcmk_host_check=static-list 除外)。 | |
pcmk_host_check | 字符串 | dynamic-list | 如何确定该设备控制的机器。允许值为:dynamic-list(查询该设备),static-list(检查 pcmk_host_list 属性),none(假设每台设备都可以隔离所有机器)。 |

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.