On Wed, Sep 22, 2010 at 4:34 PM, Dejan Muhamedagic <deja...@fastmail.fm> wrote: > Hi, > > On Tue, Aug 31, 2010 at 12:13:15PM +0000, Rainer wrote: >> Dan Frincu <dfri...@...> writes: >> >> > >> > You can update the config by typing: crm configure >> > This puts you in the crm shell configure mode. Then you type in edit, >> > that opens a vi session with the config, you edit the group entry by >> > adding the necessary information and then you exit via esc, :wq, verify, >> > commit. >> > >> > Regards, >> > >> > Dan >> >> So easy? I was all the time looking for a command like add to group.... >> Thx a lot! > > Yes, with edit you can modify any part of your configuration and > commit the result. There's also a filter command in v1.1 which is > to edit what sed(1) is to ed(1). This should also work: > > # echo group g1 g2 ... | crm configure load update -
nice! i'll have to remember that one _______________________________________________ Pacemaker mailing list: Pacemaker@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