Hi,

On Fri, May 15, 2009 at 06:47:37AM -0300, Rafael Emerick wrote:
> Hi, Dejan
> 
> thanks for attention
> following my cib xml conf
> I am newbie with pacemaker, any hint is very welcome! : D

The CIB as seen by crm:

primitive drbd11 ocf:heartbeat:drbd \
        params drbd_resource="drbd11" \
        op monitor interval="59s" role="Master" timeout="30s" \
        op monitor interval="60s" role="Slave" timeout="30s" \
        meta target-role="started" is-managed="true"
ms ms-drbd11 drbd11 \
        meta clone-max="2" notify="true" globally-unique="false" 
target-role="stopped"

The target-role attribute is defined for both the primitive and
the container (ms). You should remove the former:

crm configure edit drbd11

and remove all meta attributes (the whole "meta" part). And don't
forget to remove the backslash in the line above it.

Thanks,

Dejan

> thank you very much
> for the help
> 
> 
> On Fri, May 15, 2009 at 4:46 AM, Dejan Muhamedagic <deja...@fastmail.fm>wrote:
> 
> > Hi,
> >
> > On Thu, May 14, 2009 at 05:13:50PM -0300, Rafael Emerick wrote:
> > > Hi, Dejan
> > >
> > > There is no two set of meta-attributes.
> > >
> > > I remove the ms-drbd11, add again and the error is the same:
> > > Error performing operation: Required data for this CIB API call not found
> >
> > Can you please post your CIB. As xml.
> >
> > Thanks,
> >
> > Dejan
> >
> > >
> > > Thanks,
> > >
> > >
> > > On Thu, May 14, 2009 at 3:43 PM, Dejan Muhamedagic <deja...@fastmail.fm
> > >wrote:
> > >
> > > > Hi,
> > > >
> > > > On Thu, May 14, 2009 at 03:18:15PM -0300, Rafael Emerick wrote:
> > > > > Hi,
> > > > >
> > > > > I'm tryng to make a cluster with xen-ha using drbd and ocfs2...
> > > > >
> > > > > I want that crm management all resources (xen machines, drbd disks
> > and
> > > > ocfs2
> > > > > filesystem ).
> > > > >
> > > > > First, a create a clone lsb resource to init drbd with gui interface.
> > > > > Now, I'm following this manual
> > > > http://clusterlabs.org/wiki/DRBD_HowTo_1.0 to
> > > > > create the drbd disk managemnt and after make the ocfs2 filesystem.
> > > > >
> > > > > So, when i run:
> > > > > # crm resource start ms-drbd11
> > > > > # Multiple attributes match name=target-role
> > > > > # Value: stopped        (id=ms-drbd11-meta_attributes-target-role)
> > > > > # Value: started        (id=drbd11-meta_attributes-target-role)
> > > > > # Error performing operation: Required data for this CIB API call not
> > > > found
> > > >
> > > > As it says, there are multiple matches for the attribute. Don't
> > > > know how it came to be. Perhaps you can
> > > >
> > > > crm configure edit ms-drbd11
> > > >
> > > > and drop one of them. It could also be that there are two sets of
> > > > meta-attributes.
> > > >
> > > > If crm can't edit the resource (in that case please report it)
> > > > then you can try:
> > > >
> > > > crm configure edit xml ms-drbd11
> > > >
> > > > Thanks,
> > > >
> > > > Dejan
> > > >
> > > > > My messages:
> > > > > May 14 15:07:11 node1 pengine: [4749]: info: get_fail count:
> > ms-drbd11
> > > > has
> > > > > failed 1000000 times on node2
> > > > > May 14 15:07:11 node1 pengine: [4749]: WARN: common_apply_stickiness:
> > > > > Forcing ms-drbd11 away from node2 after 1000000 failures
> > (max=1000000)
> > > > > May 14 15:07:11 node1 pengine: [4749]: WARN: native_color: Resource
> > > > drbd11:0
> > > > > cannot run anywhere
> > > > > May 14 15:07:11 node1 pengine: [4749]: WARN: native_color: Resource
> > > > drbd11:1
> > > > > cannot run anywhere
> > > > > May 14 15:07:11 node1 pengine: [4749]: info: master_color: ms-drbd11:
> > > > > Promoted 0 instances of a possible 1 to master
> > > > > May 14 15:07:11 node1 pengine: [4749]: notice: LogActions: Leave
> > resource
> > > > > drbdi:0      (Started node1)
> > > > > May 14 15:07:11 node1 pengine: [4749]: notice: LogActions: Leave
> > resource
> > > > > drbdi:1      (Started node2)
> > > > > May 14 15:07:11 node1 pengine: [4749]: notice: LogActions: Leave
> > resource
> > > > > drbd11:0     (Stopped)
> > > > > May 14 15:07:11 node1 pengine: [4749]: notice: LogActions: Leave
> > resource
> > > > > drbd11:1     (Stopped)
> > > > >
> > > > >
> > > > > Thank you for any help!
> > > >
> > > > > _______________________________________________
> > > > > Pacemaker mailing list
> > > > > Pacemaker@oss.clusterlabs.org
> > > > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > > >
> > > >
> > > > _______________________________________________
> > > > Pacemaker mailing list
> > > > Pacemaker@oss.clusterlabs.org
> > > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> > > >
> >
> > > _______________________________________________
> > > Pacemaker mailing list
> > > Pacemaker@oss.clusterlabs.org
> > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> >
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker@oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >

> _______________________________________________
> Pacemaker mailing list
> Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker


_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to