4.6. 隔离硬件


当控制器节点无法进行健康检查时,作为 Pacemaker 指定的协调器(DC)的控制器使用 Pacemaker stonith 服务来隔离 offending 节点。stonith 是一个缩写,术语 "Shoot the the other node in the head"。因此,DC 基本上将节点从集群启动。

要了解您的隔离设备如何由 stonith 为您的 OpenStack Platform HA 集群配置,请运行以下命令:

$ sudo pcs stonith show --full
 Resource: my-ipmilan-for-controller-0 (class=stonith type=fence_ipmilan)
  Attributes: pcmk_host_list=overcloud-controller-0 ipaddr=10.100.0.51 login=admin passwd=abc lanplus=1 cipher=3
  Operations: monitor interval=60s (my-ipmilan-for-controller-0-monitor-interval-60s)
 Resource: my-ipmilan-for-controller-1 (class=stonith type=fence_ipmilan)
  Attributes: pcmk_host_list=overcloud-controller-1 ipaddr=10.100.0.52 login=admin passwd=abc lanplus=1 cipher=3
  Operations: monitor interval=60s (my-ipmilan-for-controller-1-monitor-interval-60s)
 Resource: my-ipmilan-for-controller-2 (class=stonith type=fence_ipmilan)
  Attributes: pcmk_host_list=overcloud-controller-2 ipaddr=10.100.0.53 login=admin passwd=abc lanplus=1 cipher=3
  Operations: monitor interval=60s (my-ipmilan-for-controller-2-monitor-interval-60s)
Copy to Clipboard Toggle word wrap

show --full 列表显示与隔离相关的三个控制器节点的详细信息。隔离设备使用 IPMI 电源管理(fence_ipmilan)根据需要打开和关闭计算机。有关每个节点的 IPMI 接口的信息包括 IPMI 接口的 IP 地址(10.100.0.51)、要以 (admin)身份登录的用户名,以及要使用的密码(abc)。您还可以查看每个主机监控的时间间隔(60 秒)。

有关使用 Pacemaker 进行隔离的更多信息,请参阅 Red Hat Enterprise Linux 7 High Availability Add-On 管理 中的 " 隔离配置"。

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat