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.

Thanks,

Dejan

> Thanks
> Alain Moullé
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to