Deploying across multiple hosts (maybe expand the tutorial?) #642
-
The tutorial does a great job covering a super simple, very basic demo on one host. What about two hosts? I currently have a primary running on host1 along with the monitor. When I try to add a secondary postgres node (which lives on host2), I get an error saying that "pg_autoctl is already running" with a PID on my localhost (host1). I know pg_autoctl is already running on the localhost, that is the whole point. I do not understand the error. I then setup pg_autoctl on host2, but when trying to add the primary, I get "pg_autoctl does not know how to reach state "unknown" from "init"". I am very confused why pg_autoctl is trying to get to state unknown, that seems very bizarre to me. Help? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @sacrophyte ; are you referring to the README page (intended at contributors and first discovery of the concepts), or the full Azure tutorial on many nodes, as in https://pg-auto-failover.readthedocs.io/en/master/tutorial.html ? I believe the latter provides some of the answers you're looking for? |
Beta Was this translation helpful? Give feedback.
Hi @sacrophyte ; are you referring to the README page (intended at contributors and first discovery of the concepts), or the full Azure tutorial on many nodes, as in https://pg-auto-failover.readthedocs.io/en/master/tutorial.html ? I believe the latter provides some of the answers you're looking for?