[ClusterLabs] Active/Passive Cluster restarting resources on healthy node and DRBD issues
Andrei Borzenkov
arvidjaar at gmail.com
Sat Jul 23 04:57:53 UTC 2016
23.07.2016 00:07, TEG AMJG пишет:
...
> Master: kamailioetcclone
> Meta Attrs: master-max=1 master-node-max=1 clone-max=2 clone-node-max=1
> notify=true
> Resource: kamailioetc (class=ocf provider=linbit type=drbd)
> Attributes: drbd_resource=kamailioetc
> Operations: start interval=0s timeout=240 (kamailioetc-start-interval-0s)
> promote interval=0s timeout=90
> (kamailioetc-promote-interval-0s)
> demote interval=0s timeout=90
> (kamailioetc-demote-interval-0s)
> stop interval=0s timeout=100 (kamailioetc-stop-interval-0s)
> monitor interval=10s (kamailioetc-monitor-interval-10s)
...
>
> The problem is that when i have only one node online in corosync and start
> the other node to rejoin the cluster, all my resources restart and
> sometimes even migrates to the other node
Try adding interleave=true to your clone resource.
> (starting by changing in
> promotion who is master and who is slave) even though the first node is
> healthy and i use resource-stickiness=200 as a default in all resources
> inside the cluster.
>
> I do believe it has something to do with the constraint of promotion that
> happens with DRBD.
>
> Thank you very much in advance.
>
> Regards.
>
> Alejandro
>
>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
More information about the Users
mailing list