[Linux-HA] heartbeat 2.0.8: unmanaged to managed

greno at verizon.net greno at verizon.net
Wed Feb 7 01:17:30 MST 2007


>From: greno at verizon.net
>Date: 2007/02/07 Wed AM 01:29:11 CST
>To: greno at verizon.net, greno at verizon.net, linux-ha at lists.linux-ha.org
>Subject: Re: Re: [Linux-HA] heartbeat 2.0.8: unmanaged to managed

>I issue a crm_resource -C -r myresource several times but it isn't making a difference and I think this is maybe more related to the fact that this resource is expecting other facilities to be present provided by the preceding resources and if they are not there then this resource returns a bad status and goes into unmanaged state.  Questions:
>Are the resources in a group executed in the order in th e CIB?  The errant resource always tries to go first even though it is last.
>
>Can you force a resource to wait on another resource?

I just found the problem.  The lack of facilities for this resource had skewed a return status code causing it to report that the resource was running when it was not running.  As soon as I put in a test for the condition and the script returned the stopped condition then everything straightened out.  The resource now even waits its turn until the other resources have completed.  



More information about the Linux-HA mailing list