Thanks 

It's working
-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Dejan Muhamedagic
Sent: Tuesday, October 20, 2009 2:09 PM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] unable stop resource 2.1.4-0.15.5

Hi,

On Tue, Oct 20, 2009 at 11:05:52AM +0000, Janec, Jozef wrote:
>  
> Hello All,
> 
> Is there way how-to stop resource group if it don't work from gui or from 
> command line?:
> 
> I have one resource with name lvm
> 
> I started it with:
> 
> crm_resource -r lvm -p target_role -v started

You should add --meta. Not sure how does the CRM behave if it finds the 
target_role attribute in both instance and meta attributes. Try to remove all 
attributes and then use only meta attributes.

Thanks,

Dejan

> And now I can't stop the package.
> 
> I tried from gui
> 
> In logs
> 
> Oct 20 05:37:51  mgmtd: [25399]: info: (delete)xml:<nvpair 
> id="lvm_instattr_target_role"> Oct 20 05:37:52  mgmtd: [25399]: info: 
> on_set_target_role:<primitive id="lvm"><meta_attributes 
> id="lvm-meta-options"><attributes><nvpair 
> id="lvm_metaattr_target_role" name="target_role" 
> value="stopped"/></attributes></meta_attributes></primitive>
> 
> But the resource is still up
> 
> I checked status from command line:
> 
> crm_resource -r lvm -g target_role
> Started
> 
> So I tried change it from command line
> 
> crm_resource -r lvm -p target_role -v stopped Error performing 
> operation: The object/attribute does not exist
> 
> crm_resource -r lvm -g target_role
> Started
> 
> crm_resource -r lvm -d target_role
> 
>  crm_resource -r lvm -g target_role
> started
> 
> crm_resource -r lvm -p target_role -v stopped Error performing 
> operation: The object/attribute does not exist
> 
> Is there way how to stop it? 
> 
> Thanks
> 
> Jozef
> _______________________________________________
> 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
_______________________________________________
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