Postgres - repmgr

Hello friends, i have a problem with repmgr on postgresql.

i have 2 nodes: node1, node2, we had a problem and node1 has down, is only node2 has working.

when execute cluster show:

$ repmgr cluster show
WARNING: the following problems were found in the configuration file:
parameter "cluster" is deprecated and will be ignored
ERROR: no node records were found
HINT: ensure at least one node is registered

But db postgres still working of side to the clients.
anyone has an idea about it?

Hi @castlhe,

please post your repmgr.conf, with possible personal infos hided.

It appears that there may be a problem with the configuration of repmgr on your PostgreSQL cluster. The warning about the deprecated "cluster" parameter and the error message indicating that no node records were found suggest that repmgr is not properly configured or is not able to access the necessary information about your cluster.

It's possible that the configuration file for repmgr has become corrupted or otherwise modified, preventing it from properly identifying the nodes in your cluster. Additionally, if the configuration file for repmgr is not in the correct location, it will not be able to access the information it needs.

You can try to fix the issue by checking the repmgr configuration file for any errors, and making sure that it is located in the correct location and is readable by the user running repmgr.

Also, you may want to check if all the necessary dependencies are installed and configured properly, and if the repmgr_node table exists and has the correct data.

It's also possible that the problem is with the postgres itself, so, you should check the postgres logs and see if there's any error message that can help you to troubleshoot this issue.