I want to setup 2 node cluster for postgres. How to configure primary and backup for a 2 node cluster I need to know the best way to do it also its necessary configurations.