Search Postgresql Archives

Question on removing primary replication node using repmgr?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

 

I used repmgr extension for Postgresql to setup replication.

 

I want to remove the replication because it appears WAL files are generated even after unregistering the standby instance and putting primary instance in no archivelog mode.

 

Can you help?

 

 

 

host:> repmgr -f /home/postgresdbad/dbalocal/admin/repmgr.conf primary unregister

ERROR: node "host" (ID: 1) is the current primary node, unable to unregister

 

host:> repmgr -f /home/postgresdbad/dbalocal/admin/repmgr.conf primary unregister --node-id 1

ERROR: node "host" (ID: 1) is the current primary node, unable to unregister

 

ID | Name           | Role    | Status    | Upstream | Location | Priority | Timeline | Connection string

----+----------------+---------+-----------+----------+----------+----------+----------+-----------------------------------------------------------------

1  | host | primary | * running |          | default  | 100      | 1        | host=host user=repmgr dbname=repmgr connect_timeout=2




IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux