Hi!

Actually I thing "crm configure edit" is more safe than the cibadmin method.

Ulrich


>>> <[email protected]> schrieb am 29.11.2011 um 09:30 in Nachricht
<of28d88c49.383a6007-onc1257957.002e64ee-c1257957.002f0...@bull.net>:
> Hi
> Yes I know it is possible this way, but I don't like to tell anybody to
> use "crm configure edit" because it is a command a little bit risky, risk
> of corruption of the file ... when I'm the person who operates, I often 
> use "crm configure edit", but I'm a little reluctant to tell somebody else
> not really a pacemaker specialist to use this command. 
> So I'd prefer a command with cibadmin/grep/sed as Andrew suggest it.
> Thanks
> Alain
> 
> 
> 
> 
> De :    RaSca <[email protected]>
> A :     General Linux-HA mailing list <[email protected]>
> Cc :    [email protected] 
> Date :  29/11/2011 09:19
> Objet : Re: [Linux-HA] Pacemaker : how to modify configuration ?
> 
> 
> 
> Il giorno Lun 28 Nov 2011 15:04:45 CET, [email protected] ha scritto:
> > Hi
> > sorry but I forgot if there is another way than "crm configure edit" to 
> > modify
> > all the value of on-fail="xxxx" for all resources in the configuration ? 
> 
> > Thanks 
> > Alain
> 
> 
> Why not using :%s/on-fail=".*"/on-fail="newvalue"/g in crm configure edit?



 

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to