Skip to content

Attempt to create a secondary node instead renames the first node (follow-up to #647) #649

Answered by sacrophyte
sacrophyte asked this question in Q&A
Discussion options

You must be logged in to vote

First, thanks to @DimCitus pointing out that the configuration seemed the same, I was actually running the command on the first (primary) node. So I switched to the secondary node.

On the secondary node, I encountered another problem where pg_autoctl could not connect to the primary. I solved this second problem by changing a default rule in pg_hba.conf that was requiring all incoming connections to use a password, despite various other rules that set the replicator to trust mode.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@sacrophyte
Comment options

@sacrophyte
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by sacrophyte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants