On Wed, May 27, 2009 at 7:57 PM, Imran Chaudhry
<imran.chaud...@smoothwall.net> wrote:

> One out-standing question I have is that if I reboot foo, then the
> resources will migrate to bar but when foo comes back up the resources
> migrate back to foo. I did not expect this to happen since I have
> "auto_failback off" in ha.cf. Is this because I have "crm on" so that it
> ignores ha.cf?

Not all of it, but yes, the auto_failback option has no meaning in a
crm cluster.

>
> In my production scenario this was actually OK and did not cause a
> problem when it happened (because other services on foo were configured
> correctly). However, I would not like the resources to failback
> automatically,

This will stop it from moving automatically

# crm configure property default-resource-stickiness=INFINITY

> I would like to do so manually via hb_gui/CLI

Use crm_resource --migrate for this purpose.
I think there is also a crm shell command too.

> or at least
> have a toggle for this behaviour. How do I do this? Any pointers
> welcome.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to