[Pacemaker] Batch pacemaker configuration

Dejan Muhamedagic dejanmm at fastmail.fm
Fri Jun 8 10:05:06 UTC 2012


Hi,

On Thu, Jun 07, 2012 at 12:01:16PM -0700, Matteo Bignotti wrote:
> Hi guys,
> 
> I'm trying to configure in batch pacemaker, so far what I am doing
> in orders is
> 
> # Flushing the old configuration
> cibadmin -E --force

You should use crm configure erase for this. Note that it
doesn't delete nodes (nodes are somewhat special).

> #reloading the new one
> crm configure load replace [filename]
> 
> and then restarting the machine
> 
> now, I find it kinda hard to believe that the only batch command to
> refresh the configuration needs to be forced.

There should be a reason, doesn't it mention why?

> Also, is there any
> other way to load a configuration file? (non xml) because the crm
> configure sometimes prompts me for a question, which would be always
> "Y" but I can't find anywhere in the documentation how to set an
> auto "yes" in the command line.

Just use -F (force). 

Thanks,

Dejan

> thank you guys
> 
> Matteo
> 
> _______________________________________________
> 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