Automated procedure to setup a new database replica
When we setup new replica in gprd or gstg, there are a few documented ways to accomplish this. For example, one might use `pg_basebackup` directly while others use `repmgr` to achieve the same. There are even ways to snapshot the data disk of another replica and create a new one from it. All those steps require manual interaction and some follow-up actions like fixing `repmgr.conf` and/or `recovery.conf`, telling repmgr about the replica, registering with the LB and so on. Let's build an automated push-button procedure that allows us to get a new database replica quickly.
issue