[Linux-HA] crm use for groups management
dejanmm at fastmail.fm
Tue Mar 2 12:12:05 MST 2010
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
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.
> Alain Moullé
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA