One service, two nodes, HA

Hi all. I have two nodes taken different places. They are connected together on a network. So, i have a service, it works on one of nodes and when the node is unavailable the service should will be launched on other node.

Solution: rhel cluster, keepalive, hearbeat...may be Carp

but what if the channel in between nodes will break and servers remain to work...split brain?

And looking ahead may be will need to transfer service but with different addresses(same config but diff network ip)

If somebody worked with similar tasks prompt where to look please!!:wall:

To minimize the danger of split brain usually more than one channel for heartbeat is used. The HA-clusters I worked with used 3: user-lan, a seperate cluster-lan and disks. With this configuration I never encountered a split brain situation.
Why would you want to change the ip-addresses during a failover? A simple solution for this would be not to make the ip-addresses cluster resources but configure them locally.

Thanks for the answer, there different vlan, location...etc.. With rhel cluster too problems weren't when is quorum disk, but here without Storage NAS
As I have understood, the best way it to use keepalive or hearbeat, with two channels.