Production HA setup

How do the nodes talk, which protocol, what ports? Is there any document I can refer to?