Nodes communication ping

can any one share the total flow of high availability of ES nodes .
Resposibility of a masternode
or Masternode behaviour while node is leaving