Document URL: https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.2/html-single/configuring_high_availability/ Section Number and Name: 3.3.4 - Reintroducing the failed node Describe the issue: For postgres to be able to use the .pgpass file it must be owned by the user and group "postgres" and must have 0600 permissions. This should be specified in the documentation as the following command in 3.3.5 will fail if the permissions are incorrect. More specifically the following commands should be run after copying the file: chown postgres:postgres /var/lib/pgsql/.pgpass chmod 0600 /var/lib/pgsql/.pgpass
Hi Nick, I've been making updates to this part of the HA doc with Taeho Choi's help in https://bugzilla.redhat.com/show_bug.cgi?id=1420206. As part of that work, I've added a step with the commands you mention above before the step "Run repmgr standby follow as the postgres user on the failed primary server to add it as a standby server:" Feel free to add your review in that bug if you have time as well -- the latest doc version is in https://bugzilla.redhat.com/show_bug.cgi?id=1420206#c5. I'm going to close this as a duplicate as I'm pretty sure it's covered there. (Feel free to reopen this if not.) Thanks for raising this to us! Cheers, Dayle *** This bug has been marked as a duplicate of bug 1420206 ***
That's great, thanks Dayle