On 7/31/07, matilda matilda <[EMAIL PROTECTED]> wrote:
> >>> "Andreas Kurz" <[EMAIL PROTECTED]> 31.07.2007 12:22 >>>
> > I think "crm_resource -C -r yourresource" should do this job.
>
> Hi Andreas,
>
> thank you for your reply. I thought this too, but:
>
> 1) the online usage screen of crm_resource says:
> ------------------------------------------------------------------
>         --cleanup (-C)  : Delete a resource from the LRM
>                           Requires: -r.  Optional: -H
> ------------------------------------------------------------------
>
> If I invoke crm_resource without -H, which is stated to be optional,
> I get:
> ------------------------------------------------------------------
> Please supply a hostname with -H
> Error performing operation: Invalid argument
> ------------------------------------------------------------------
>
> 2) When I invoke crm_resource with -H I get:
> ------------------------------------------------------------------
> You should only clean up failed resources!
> Use --force to ignore this message and continue
> Error performing operation: Invalid argument
> ------------------------------------------------------------------
>
> Hmmm, I know that failcount = 0 in this situation.
>
> So, that's the reason I asked on the list for the official, recommended
> and working way to recover from this situation.
> Do I have to provide --force? Or is there a cleaner way?

Hmm ... the last time I used this command to cleanup a resource the
"--force" option was not available. I know no other way to clean up a
resource that failed to start, so   as you definitely know the
resource is save to cleanup I would give "--force" a try.

Regards,
Andreas
_______________________________________________
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