[Pacemaker] Add a resource with commandline to an existing?group?
Dejan Muhamedagic
dejanmm at fastmail.fm
Wed Sep 22 14:34:15 UTC 2010
Hi,
On Tue, Aug 31, 2010 at 12:13:15PM +0000, Rainer wrote:
> Dan Frincu <dfrincu at ...> 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 -
Thanks,
Dejan
> Kind regards,
>
> Rainer
>
>
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list