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?

-- 
RaSca
Mia Mamma Usa Linux: Niente รจ impossibile da capire, se lo spieghi bene!
[email protected]
http://www.miamammausalinux.org

_______________________________________________
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