power HA 切换问题。困扰!

A小机p6的  B小机p5的  2个小机都是6.1系统 HA6.1打过补丁  现在的问题是A机器拔掉网线 vg和浮动IP 都可以正常切换到B上  当把A的网线都插回来vg和浮动IP 也可以回到A上  但是B小机就自动关机了 !! 什么原因啊????我感觉应...显示全部
A小机p6的  B小机p5的  2个小机都是6.1系统 HA6.1打过补丁  现在的问题是A机器拔掉网线 vg和浮动IP 都可以正常切换到B上  当把A的网线都插回来vg和浮动IP 也可以回到A上  但是B小机就自动关机了 !! 什么原因啊????
我感觉应该是主备模式  资源从备机上自动又切换回到主机了!!不知道对不对? 怎么样修改 HA 主备模式 自动切换资源啊?收起
参与17

查看其它 12 个回答北京荣歆咨询的回答

北京荣歆咨询北京荣歆咨询系统架构师北京荣歆咨询有限公司
" 当把A的网线都插回来vg和浮动IP 也可以回到A上  但是B小机就自动关机了 !! 什么原因啊????"
这应该是触发了deadman switch。Deadman Switch是HA为防范脑裂发生时vg等共享资源被争夺而导致数据损坏的风险而设置的。是非常好的机制,但不应该轻易触发。请确认您是否配置了多种心跳网络(每节点多网卡的网络心跳,Ha6.1还有磁盘心跳和串口心跳)。HA的方案是不建议仅配置IP心跳的!如果没有条件配置多种类型的心跳则需要修改Failure Detection and Heartbeat Parameters for IP Networks。

“我感觉应该是主备模式  资源从备机上自动又切换回到主机了!!不知道对不对?”
切换可以,宕机就不应该了。

怎么样修改 HA 主备模式 自动切换资源啊?
HA通过定义三种策略来选择资源组的切换和接管模式:
Startup policy defines on which node the resource group will be activated when a node joins the cluster and the resource group is not active on any node.
Fallover policy defines to which node the resource group will fall over when the resource group must leave the node where it is currently online due to a failure condition (or if you stop the cluster services on a node using the fallover option).
Fallback policy defines to which node the resource group will fall back when a node joins and the resource group is already active on another node.
IT咨询服务 · 2015-01-08
浏览2526

回答者

北京荣歆咨询
系统架构师北京荣歆咨询有限公司
擅长领域: 服务器存储数据库

北京荣歆咨询 最近回答过的问题

回答状态

  • 发布时间:2015-01-08
  • 关注会员:1 人
  • 回答浏览:2526
  • X社区推广