[Pacemaker] (Linux-HA)Remove rsc_defaults from command line crm configure

Dejan Muhamedagic dejanmm at fastmail.fm
Fri Jun 10 07:38:05 UTC 2011


Hi,

On Thu, Jun 09, 2011 at 04:31:05PM +0200, Warrior wrote:
> Hi,
> I have to create a script to remove a value of rsc_defaults, firts of all i
> need to know how to remove from command line with crm commands, i know how
> to put the value with crm configure, like
> crm(live)configure# rsc_defaults resource-stickiness="INFINITY"
> this line works fine, but i need the reverse way, how to remove the
> resource-stickiness="INFINITY" from "crm(live)configure"?, i tried to add a
> comment but it doesn't work, do you know to fix this issue?

There's (currently) no way to do this directly with crm.

You can try

crm_attribute -t rsc_defaults -D -n resource-stickiness

Thanks,

Dejan

> Best regards from danian(warrior)

> _______________________________________________
> 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