[Pacemaker] All dependend resources are restarted when Clone Set changes status on ONE machine

Sebastian Urban urbans84 at gmail.com
Wed Feb 24 13:34:42 UTC 2010


Sorry to bump this up, but I think it is an important point...

> On Sat, 2010-02-13 at 21:14 +0100, Sebastian Urban wrote:
> > Hi.
> 
> > Here is my config:
> >
> > node cipvm1 \
> >         attributes standby="off"
> > node cipvm2 \
> >         attributes standby="off"
> > primitive ciptest ocf:heartbeat:VirtualDomain \
> >         params domain="ciptest" \
> >         meta target-role="Started" is-managed="true" \
> >         op stop interval="0" timeout="5m" \
> >         op start interval="0" timeout="5m" \
> >         op monitor interval="15s" timeout="5m"
> > primitive pri_drbd_vms ocf:linbit:drbd \
> >         params drbd_resource="vm_drbd" \
> >         operations $id="vm_drbd-operations" \
> >         op monitor interval="20" role="Master" \
> >         op monitor interval="30" role="Slave"
> > primitive pri_vmfs ocf:heartbeat:Filesystem \
> >         params device="/dev/drbd1" directory="/srv/vms"
> fstype="ocfs2" \
> >         op monitor interval="30s"
> > ms drbd_vms pri_drbd_vms \
> >         meta resource-stickiness="100" notify="true" master-max="2" \
> >         interleave="true" target-role="Started" is-managed="true"
> > clone vmfs pri_vmfs \
> >         meta interleave="true" ordered="true" target-role="Started"
> > colocation col_ciptest inf: ciptest vmfs:Started
> > order ord_ciptest inf: vmfs:start ciptest:start
> 
> Actually I forgot to include two lines of my config in my first post:
> 
> colocation col_vm inf: vmfs drbd_vms:Master
> order ord_vm inf: drbd_vms:promote vmfs:start
> 
> > property $id="cib-bootstrap-options" \
> >         dc-version="1.0.6-cebe2b6ff49b36b29a3bd7ada1c4701c7470febe" \
> >         cluster-infrastructure="openais" \
> >         expected-quorum-votes="2" \
> >         stonith-enabled="false" \
> >         no-quorum-policy="ignore" \
> >         last-lrm-refresh="1266089808"
> 
> However the point is still valid.
> 
> Sebastian
> 






More information about the Pacemaker mailing list