[Pacemaker] colocation issue with master-slave resources

Andrew Beekhof andrew at beekhof.net
Thu Dec 8 16:32:43 EST 2011


On Tue, Nov 29, 2011 at 10:10 AM, Patrick H. <pacemaker at feystorm.net> wrote:
> Upgraded to 1.1.6 and put in an ordering constraint, still no joy.

Could you file a bug and include a crm_report for this please?

>
> # crm status
> ============
> Last updated: Mon Nov 28 23:09:37 2011
> Last change: Mon Nov 28 23:08:34 2011 via cibadmin on devlvs03
>
> Stack: cman
> Current DC: devlvs03 - partition with quorum
> Version: 1.1.6-1.el6-b379478e0a66af52708f56d0302f50b6f13322bd
>
> 2 Nodes configured, 2 expected votes
> 5 Resources configured.
> ============
>
> Online: [ devlvs04 devlvs03 ]
>
>  dummy    (ocf::pacemaker:Dummy):    Started devlvs03
>  Master/Slave Set: stateful1-ms [stateful1]
>     Masters: [ devlvs04 ]
>     Slaves: [ devlvs03 ]
>  Master/Slave Set: stateful2-ms [stateful2]
>     Masters: [ devlvs04 ]
>     Slaves: [ devlvs03 ]
>
>
> # crm configure show
> node devlvs03 \
>    attributes standby="off"
> node devlvs04 \
>    attributes standby="off"
> primitive dummy ocf:pacemaker:Dummy \
>    meta target-role="Started"
> primitive stateful1 ocf:pacemaker:Stateful
> primitive stateful2 ocf:pacemaker:Stateful
> ms stateful1-ms stateful1
> ms stateful2-ms stateful2
> colocation stateful1-colocation inf: stateful1-ms:Master dummy:Started
> colocation stateful2-colocation inf: stateful2-ms:Master dummy:Started
> order stateful1-start inf: dummy:start stateful1-ms:promote
> order stateful2-start inf: dummy:start stateful2-ms:promote
> property $id="cib-bootstrap-options" \
>    dc-version="1.1.6-1.el6-b379478e0a66af52708f56d0302f50b6f13322bd" \
>
>    cluster-infrastructure="cman" \
>    expected-quorum-votes="2" \
>    stonith-enabled="false" \
>    no-quorum-policy="ignore" \
>    last-lrm-refresh="1322450542"




More information about the Pacemaker mailing list