Hi everyone,
I have clustered with 3 nodes, can you explain how it works?
when nodeA stops which node becomes leader?
if nodeC stops which node becomes leader?
Are the database of container are stored in a separate node or each node has database?
All 3 of your servers are marked as database servers so they all have a copy of the database, who the leader is at any one time is an internal detail which isn’t exposed and can change at any time.
All 3 of them constantly communicate when in normal operation, if one goes down the remaining two continue to work and the one that went away will sync back the database transactions when it comes back online.
No, instances that are on a server which has gone offline will remain unavailable until that server comes back up.
If storage is backed by Ceph, you can if needed move instances from an offline server to an online server and start them back up, but that’s only possible with Ceph storage as all other storage backends are local to the server and so unreachable when the server is offline.