Some questions Regarding Heartbeat
Kindly correct if I am wrong
1.) What happen when both Heartbeat link fails ?
Split Brain situation.
2.) What we do to getrid Split Brain situation ?
Add a Low Priority Heartbeat but the Service Group will be AutoDisable and Clustered Application keep running.
3.) When both Heartbeat crashes except Low Priority ?
The Service Group will remain UP and running on the same Node but cant failover
4.) When one Heartbeat fails and another Heartbeat is running also the Low Priority is running, Can we Failover ?
The Application able to Failover and Service Group is also not AutoDisable
5.) If you have two Heartbeat and one Low Priority Heartbeat means total three Heartbeats. if anyone fails and two Heartbeats are present, can Service Group Failover?
Yes
- If all 2 heartbeats fails at the same time you will get split-brain
- To help prevent split-brain you can :
a. Add more than 2 heartbeats (high-pri or low-pri) - these should be completely independent - different NIC cards going to different switches
b. Use I/O and/or Server (CPS) Fencing
c. Make diskgroup dependent on Application IP in service group, so IP comes up first. This means, even if you don't configure virtual App IP in VCS as a low-pri HB, if both heartbeats fails and App network is OK, then when SG tries to online it will fail when it tries to online IP and hence will prevent split-brain (prevents importing diskgroup and corrupting storage) This is also protects against human errror if you force stop cluster and then start VCS up on inactive node
- When there is only one heartbeat left, if Node fails, then service groups will not fail over, but if a resource faults and node stays up, then service group can still fail over
- (and 5) If you have ANY 2 heartbeats remaining (including low-pri), then node failure results in service group failure as usual. i.e failure of heartbeats when there are still 2 left has no effect on failover of service groups.
Mike
- If all 2 heartbeats fails at the same time you will get split-brain