[Pacemaker] Failback problem with active/active cluster
Dejan Muhamedagic
dejanmm at fastmail.fm
Mon Mar 21 15:06:36 UTC 2011
Ho,
On Fri, Mar 18, 2011 at 10:38:08PM +0000, Robert Schumann wrote:
> Charles KOPROWSKI <cko at ...> writes:
>
> >
> > Le 14/03/2011 09:43, Andrew Beekhof a écrit :
> > > On Sat, Mar 12, 2011 at 9:53 AM, Pavel Levshin<pavel at ...> wrote:
> > >> 11.03.2011 16:27, Andrew Beekhof:
> > >>>
> > >>> On Fri, Mar 11, 2011 at 2:19 PM, Charles KOPROWSKI<cko at ...>
> > >>> wrote:
> > >>>
> > >>>> Is there any possibility to move back manualy a part of the ClusterIP
> > >>>> resource (for example ClusterIP:1) to the other node ? Or is it just
> > >>>> impossible with this version ?
> > >>>
> > >>> I _think_ its impossible - which is certainly not terribly useful
> > >>> behavior.
> > >>>
> > >>
> > >> What if you set clone-node-max=1 for the resource?
> > >
> > > Good point. Temporarily setting that should allow them to move back.
>
> It works indeed:
>
> 1. crm configure
> 2. edit ClusterIP-clone
> 3. change clone-node-max from "2" to "1" and save
> 4. commit
There's a more direct way to edit meta attributes:
crm resource meta
Thanks,
Dejan
> 5. undo the change, commit again and service is started on both hosts (like
> before fail of one node)
>
> @Pavel: good catch!
>
> The other clones like apache2, mysql, ocfs2, o2cb, dlm are coming up again as
> expected without interference (debian squeeze).
>
> Nice work, guys - I really love it!
>
> Best regards
>
> Robert
>
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list