-
Notifications
You must be signed in to change notification settings - Fork 55
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
In case when initiate cluster one by one node. Master can move to slave. #90
Comments
Hello, You probably want to set a In the quick start guide of PAF, we set the default see http://dalibo.github.io/PAF/Quick_Start-CentOS-7.html#cluster-resource-creation-and-management |
Hello ioguix, I have used this guide line when configuring HA cluster with PAF script, however when testing work of our service couple of times master has migrated to newly added node. In configuration resource-stickiness is set to 10. Increasing this value can harm pgsqlms script work? |
This is strange. How do you add a node? Do you follow the guide on PAF website as well? Could you provide your setup and cluster scores before/after you add a node? |
First of all first node I'll init one node with such parameters.
As pacemaker documentation said number of nodes pacemaker is setting automatically for number of nodes in cluster. After adding second node Scores after initiating cluster with one node: I have repeat setup of cluster a lot of times and only couple of times master has migrate to new node. |
update. any advice? |
Hey, Sorry the delay, I'm quite busy this week...I might not be able to answer before 1 or 2 weeks, especialy if I need to build the cluster myself and poke around :/ In the meantime, please, provide as many information as you can: log files, timestamps to look at, scenario + commands, etc. |
Hey Jehan, Unfortunately, logs for a period when a master has migrated to a newly added node has gone. If I reproduce this behaviour, I'll make log dumps and add an update in reply. Many thanks for your awesome work. |
Hello,
We are trying to use HA cluster using PAF script for postgres. However we are reached some times such behaviour after adding new node to cluster as slave, this slave after initiating making as master server.
Is it possible to avoid such master move?
Thanks for advise
The text was updated successfully, but these errors were encountered: