On 10/7/07, Stefano Colombo <[EMAIL PROTECTED]> wrote:
> I have a question regarding how to configure a group to correctly fail
> to the second node and prevent automatic failback
> I wrote an OCF agent to control vmware machines. My problems are:
> -       How can I let the administrator to manually fail the resource to
> the other node ?

later versions support crm_resource -F for failing resources but that
wont necessarily move it to another node (see
http://linux-ha.org/v2/faq/forced_failover)

to migrate it, use crm_resource -M

> -       I tried rebooting the active node and the resources correctly
> fail to the other . But when the first node got back online the
> resources automatically failback . How can I prevent it from happening ?

to prevent failback, look up the default-resource-stickiness option
  # pengine metadata

> -       When failing back I found the resource in the unmanaged state .
> What can this be due to ?

either it was already running when heartbeat started, or the status
action is broken, or the stop action is broken, or a combination of
these
_______________________________________________
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