Hi!

I have a related question (I don't know about nothing about XPath): It seems 
that crm uses some XPath-like operators to manipulate the CIB. Is there a 
generic mechnism for that? I'm thinking of a XML-like way of the suggested vi 
sustitute command.

If there exists such a thing, one could write some script that allows execution 
via "sudo" or similar to manipulate the cluster configuration.

Regards,
Ulrich

>>> <[email protected]> schrieb am 29.11.2011 um 10:01 in Nachricht
<of91cce9ff.085e072b-onc1257957.00317fc9-c1257957.0031d...@bull.net>:
> Too long to explain : but in short it is for "maintenance team" of a 
> cluster to be able
> to temporarily avoid fencing due to the "Flush delayed" problem in case of 
> resources
> relocate, which randomly leads to monitoring failed and therefore fence 
> ... whereas
> it is not a valid error, it is a bug (I've opened another thread on this 
> ML about this Flush delayed problem)
> Alain
> 
> 
> 
> De :    RaSca <[email protected]>
> A :     General Linux-HA mailing list <[email protected]>
> Cc :    [email protected] 
> Date :  29/11/2011 09:35
> Objet : Re: [Linux-HA] Pacemaker : how to modify configuration ?
> 
> 
> 
> Il giorno Mar 29 Nov 2011 09:30:41 CET, [email protected] ha scritto:
> > 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
> 
> Consider that a bad configuration is not being processed by the crm
> editor. In addition it is possible to do a dump of the actual
> configuration before doing any modifications.
> That said... If you're reluctant to make a non specialist users modify
> the configuration, then why let them modify delicate parameters such as
> on-fail?



 

_______________________________________________
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