I wanna to install master/tserver on 6 nodes. if master falls down, how back services switches to the new master?
Thanks in advance!
Hi! What is the planned fault domains from the six nodes? Is using RF=3, you will need 3 Fault Domains, and you will have 3 Master servers, one in each Fault Domain.
See: Fault Domains
The following docs should help with Master recovery and replacement!
Thank you @Jim_Knicely !
For example I have 3nodes: 1 LEADER-M1 and 2 FOLLOWER M2, M3. My external service or an app is connected with M1. Say M1 died and LEADER switched to M2 or M3. How can my external app know this? Is YugabyteDB supports keepalived function in such case?
Thanks!
Hi, leader/follower is not a per-node attribute. It is per tablet. All nodes have some leaders and some followers. About where the application connects to, all nodes are active. If the node you are connected to dies, you can re-connect to any other node. This is automated with a host list and random load balancing, or a HA proxy, or if you use a YugabyteDB smart driver.