On 3/3/2010 at 06:12 AM, Dejan Muhamedagic <[email protected]> wrote: > Hi, > > On Tue, Mar 02, 2010 at 02:22:22PM +0100, Alain.Moulle wrote: > > Hi Dejan, > > > > something I can't find with /*crm */: how could we use crm to start, > > stop , or get status > > of a group ? > > With crm_resource , I've found an option --resource-type , but in crm > > API, what is > > the right way to do it ? I tried : > > crm resource start <group-name> but it returns a API error : > > That's the right way. > > > crm resource start groupresping > > Multiple attributes match name=target-role > > Value: Started (id=respingal1-meta_attributes-target-role) > > Value: Started (id=respingal2-meta_attributes-target-role) > > Error performing operation: Required data for this CIB API call not found > > I think it is because the type "group" is missing, if we compare to > > crm_resource command ... > > No. It's because there are multiple meta attributes sets. There's > an enhancement bugzilla open for that. It'll hopefully soon be > resolved. > > In the meantime, somebody had a similar issue recently, you can > search the archives to see what they did. Basically, you have to > get rid of the extra attribute sets.
You might also find that stopping the first resource in the group is viable (as the others will then be stopped automatically). Regards, Tim -- Tim Serong <[email protected]> Senior Clustering Engineer, OPS Engineering, Novell Inc. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
