[Pacemaker] Migrate/run resource only if m/s resource is master/promoted on target node (follow-up)
Lars Ellenberg
lars.ellenberg at linbit.com
Mon Jan 4 14:52:58 UTC 2010
On Sun, Jan 03, 2010 at 09:12:28PM -0700, hj lee wrote:
> 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.
lf#2153 seems to be relevant, and has been fixed today.
http://developerbugs.linux-foundation.org/show_bug.cgi?id=2153
--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com
DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
More information about the Pacemaker
mailing list