Hi, On Wed, Sep 12, 2012 at 11:56 AM, Kashif Jawed Siddiqui <kashi...@huawei.com> wrote: > Hi, > > > > I would like to know is there a way to add new primitive resource to an > already existing group. > > > > I know crm configure edit requires manual editing. > > > > But is there a direct command? > > > > Like, > > crm configure group Grp1 Res1 Res2 Res3 ## This is used to create group > > > > How to add new resource to existing group using command ?
Assuming the primitive is already added you could create a new file (say it's called group-update) and put in it the following: group Grp1 Res1 Res2 Res3 this-is-the-new-res-name Then you could do: crm configure load update /path/to/group-update Do test it before, I have only tried this on a shadow cib. HTH, Dan > > > > Regards, > Kashif Jawed Siddiqui > > > *************************************************************************************** > This e-mail and attachments contain confidential information from HUAWEI, > which is intended only for the person or entity whose address is listed > above. Any use of the information contained herein in any way (including, > but not limited to, total or partial disclosure, reproduction, or > dissemination) by persons other than the intended recipient's) is > prohibited. If you receive this e-mail in error, please notify the sender by > phone or email immediately and delete it! > > > _______________________________________________ > 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://bugs.clusterlabs.org > -- Dan Frincu CCNA, RHCE _______________________________________________ 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://bugs.clusterlabs.org