[Pacemaker] How to delete a resource

Colin colin.hch at gmail.com
Mon Dec 7 05:11:57 EST 2009


On Mon, Dec 7, 2009 at 11:06 AM, Michael Schwartzkopff
<misch at multinet.de> wrote:
> Am Montag, 7. Dezember 2009 10:53:46 schrieb Colin:
>> 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
>
> well, you need to tell the cluster WHAT resource you want to delete. Please
> enter the name of the resource after the -r
>
> crm_resource -D -t primitive -r <id_of_the_resource>
>
> or do you have a resource with the ID "--delete"?

Above I wrote "crm_resource -t primitive —resource name —delete", with
the implication that I inserted the actual resource name on the actual
command line [but that didn't work for me].

Regards, Colin




More information about the Pacemaker mailing list