Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA: Add support for configuring a new appliance with the existing primary node number used in the prior pg_basebackup/pg_dumpall #222

Open
jrafanie opened this issue Oct 25, 2023 · 0 comments
Assignees

Comments

@jrafanie
Copy link
Member

pg_basebackup and pg_dumpall will bring over the HA node information on a restore. With this the case, the new replacement appliance that has this database restored will have the HA node configuration set in the database but the repmgr service will not be configured, started, etc. Our existing code assumes you're configuring repmgr and the new node name together. You can't do just one of them.

Primaries will blow up with this node is already registered.

On the other hand, if you've configured a standby with an existing node number, you're prompted if you really want to reuse the same number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant