[Pacemaker] how to get rid of an unmanaged orphaned resource

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Jun 19 10:30:57 EDT 2013


On Tue, Jun 18, 2013 at 01:06:36PM +0200, andreas graeper wrote:
> the cleanup is doing the work.
> it need to be done on both (all) nodes ?!

No, any node will do.

Thanks,

Dejan

> 
> 2013/6/18 andreas graeper <agraeper at googlemail.com>
> 
> > thanks a lot !
> > i just this minute came into such situation again.
> >
> >
> > 2013/6/18 Dejan Muhamedagic <dejanmm at fastmail.fm>
> >
> >> Hi,
> >>
> >> On Tue, Jun 18, 2013 at 11:22:17AM +0200, andreas graeper wrote:
> >> > hi,
> >> > i created a resource lsb:samba but the service script is 'smb'
> >> > so i got an unmanged orphaned resource what i cannot simply
> >> > delete.
> >> > corosync stop does not work, too.
> >>
> >> The following should make the resource really unmanaged:
> >>
> >> # crm resource unmanage <rsc>
> >>
> >> Then you can remove it:
> >>
> >> # crm configure delete <rsc>
> >>
> >> Then cleanup:
> >>
> >> # crm resource cleanup <rsc>
> >>
> >> Thanks,
> >>
> >> Dejan
> >>
> >> > thanks
> >> > andreas
> >>
> >> > _______________________________________________
> >> > 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://bugs.clusterlabs.org
> >>
> >>
> >> _______________________________________________
> >> 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://bugs.clusterlabs.org
> >>
> >
> >

> _______________________________________________
> 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://bugs.clusterlabs.org





More information about the Pacemaker mailing list