[Pacemaker] How to delete a resource
Tim Serong
tserong at novell.com
Mon Dec 7 10:03:11 UTC 2009
On 12/7/2009 at 08:53 PM, Colin <colin.hch at gmail.com> wrote:
> Hi,
>
> when trying to delete a resource, either by replacing the whole
> "<resources>"-part of the CIB with cibadmin with a new version where
> some resources are missing, or by using a "crm_resource -t primitive
> —resource name —delete", I get the following error:
>
> Error performing operation: Update does not conform to the configured
> schema/DTD
>
> Now since the error doesn't tell me where the problem is, I can only
> guess that the problem is that other, dynamic parts of the CIB still
> "reference" the resource, and the schema prevents "dangling
> references". So if these methods don't work, and the "crm"-shell
> doesn't have a "delete" for resources, is there an official and simple
> way to delete a resource?
This should do it:
# crm configure delete <resource-id>
Regards,
Tim
--
Tim Serong <tserong at novell.com>
Senior Clustering Engineer, Novell Inc.
More information about the Pacemaker
mailing list