[ClusterLabs] Antw: Resource getting hard-flipped when node recovers
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Fri May 15 07:22:04 UTC 2015
>>> Matthew Vernon <mcv21 at cam.ac.uk> schrieb am 14.05.2015 um 19:24 in Nachricht
<5554DA48.3050709 at cam.ac.uk>:
> Hi,
>
> I have a 3-node pacemaker/corosync cluster (output of crm configure save
> below); my resource is a xen guest, and if I make its live node standby,
> then it is live-migrated, as you'd expect.
>
> If I hard-power-off the live node, then the other xenhost node starts up
> the guest, as you'd expect.
>
> When, however, I turn the formerly-live node back on, the guest is
> stopped on the newer-live node, and started on the formerly-live node again.
>
> I don't mind this moving, but I do mind that it's a stop-and-start
> rather than a migration. Can I stop this happening?
I'd like to know the answer as well (we use a similar scenario), but I guess when you "hard powerd off" your node the cluster recorded some problem for the node that might not have been cleared when you started it up again. Did you check for errors before? (I use to run crm_mon -1Arfj)
>
> Thanks,
>
> Matthew
>
> node 739821491: on \
> attributes type=quorum
> node 739821492: ophon \
> attributes type=xenhost maintenance=off standby=off
> node 739821493: opus \
> attributes type=xenhost maintenance=off standby=off
> primitive written Xen \
> params xmfile="/etc/xen/written.csi.private.cam.ac.uk.cfg" \
> meta allow-migrate=true target-role=Started \
> op monitor timeout=30 interval=10 depth=0 \
> op start timeout=60 interval=0 \
> op stop timeout=40 interval=0
> location xenhosts written \
> rule -inf: type ne xenhost
> property cib-bootstrap-options: \
> dc-version=1.1.12-561c4cf \
> cluster-infrastructure=corosync \
> cluster-name=mwsv3 \
> stonith-enabled=false \
> last-lrm-refresh=1431619786
>
> _______________________________________________
> 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