-
Notifications
You must be signed in to change notification settings - Fork 91
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
Pgpool Version 4.4.4 #64
Comments
What do you mean by "witness"? I am asking because there's no such an idea "witness" in pgpool. |
Hi tatsuo-ishii, Thank you for your reply. Ok, there is no such witness node. I am briefing the server information and sharing the pgpool configuration file for your reference. So, we have 3 servers we can refer it as node 1, node 2 & node 3. Node 1 have following services installed like postgresql-15.4 and pgpool-II 4.4.4 We are using 3 pgpool-II 4.4.4 and 2 postgresql-15.4 Database so that pgpool will use consensus to elect the leader if two pgpool agrees. We have assigned the pgpool_node_id as follow for Node 1 = 0, Node 2 = 1 and Node 3 = 2 Kindly find the all 3 nodes pgpool.conf file. Please let me know as per my configuration in how much time failover will complete or share me the formula to calculate the failover time. FYI, We are using pgpool for auto-failover and manual recovery instead of auto-recovery that why we have disable the auto-failback and we are not using load balancing for the time being. Please let me know if you have any query related to setup and configuration. FYI, All nodes pgpool.conf file is same except wd_priority. node3-pgpool-conf.txt |
There's nothing unexpected in the pgpool.conf files and I need more info.
Also I would like to confirm that you did not restart any of node1, node2, node3 and PostgreSQL during 1-5.
I guess you are asking how long it will take before failover is triggered when some errors occurred. Note that this could be shorter if health_check_timeout or connect_timeout checking immediately reports back the failure. |
I Need help or suggestions on the issue below pgpool-II.
Example:-
Node1 -- Primary (Postgres & pgpool installed)
Node2 -- Standby (Postgres & pgpool installed)
Node3 -- Witness (Pgpool installed)
Incident:-
Please provide a suggestion in this case.
NOTE:- We are using only for auto-failover not for auto-failback so auto-failback is disabled.
Thanks & Regards,
Pradeep Prajapati
The text was updated successfully, but these errors were encountered: