Closed Dante-Eleuterio closed 6 months ago
any progress here? run into the same issue
@rnalrd I gave up not much after this
I've just found out, the problem is wrong "conninfo" in nodes table (repmgr db). The host value must be the primary server.
All conninfo settings need to have a host associated to it. That's what is missing. When running repmgr
locally it works fine because it connects via the local socket, but remote nodes can't use the conninfo to connect to the primary.
Hello, I've been trying to set up a replication and everything was fine,including the replication itself as the cloning worked and is active, until I tried to register my standby server: It gives me the following message when I run "usr/bin/repmgr -f /etc/postgresql/16/main/repmgr.conf standby register" :
Also when I run " /usr/bin/repmgr -f /etc/postgresql/16/main/repmgr.conf cluster show" at the standby server to check the nodes I receive the following message:
But when I run it at the master server there is no issue:
So I don't know what the problem is. This is the repmgr.conf file of the standby server:
And here is the repmgr.conf file of the master server: