[Pacemaker] Migrate/run resource only if m/s resource is master/promoted on target node (follow-up)
hj lee
kerdosa at gmail.com
Mon Jan 4 04:12:28 UTC 2010
On Sun, Jan 3, 2010 at 11:14 AM, Martin Gombač <martin at isg.si> wrote:
> Hi,
>
> i removed colocation constraint per your suggestion.
> Please find other requested information attached.
> As logs show ibm1 restarted resource Hosting, when ibm2 was shut down,
> while leaving underlying drbd resource promoted. I wish the restart
> would never happen, as there is no need for it.
> Please let me know if i should provide any additional info.
> Thank you.
>
I think the order constraint caused the restarting of XEN Hosting resource.
You can prove my assessment by removing order constraint. After removing
order constraint, try the same test. XEN Hosting resource should be OK.
Please see this document
http://www.clusterlabs.org/mediawiki/images/a/ae/Ordering_Explained_-_White.pdf.
I think you have two choices.
1. Try to use uni-directional ordering constraint by setting
symmetrical=false as explained in the above document. I never done this, so
not sure how to set it or it will work or not.
2. Remove all drbd resources and start drbd by service. Configure drbd dual
primary in drbd.conf(I think you done this already) and enable drbd service
by chkconfig. So drbd will be started when the system is booting. Please
make sure drbd is started before heartbeat service.
Thanks
hj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100103/56b0f6b9/attachment-0002.htm>
More information about the Pacemaker
mailing list