" 当把A的网线都插回来vg和浮动IP 也可以回到A上 但是B小机就自动关机了 !! 什么原因啊????"这应该是触发了deadman switch。Deadman Switch是HA为防范脑裂发生时vg等共享资源被争夺而导致数据损坏的风险而设置的。是非常好的机制,但不应该轻易触发。请确认您是否配...
显示全部" 当把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.收起