[Linux-HA] Forcing failover or failback
alanr at unix.sh
Mon Jun 7 14:53:04 MDT 2004
Alexis Layton wrote:
> Hi folks,
> Currently our apphb notification plugin calls ha_standby when our
> application is no longer healthy. This appears to always shut down the
> current node and start the secondary, regardless of whether the secondary
> is the current node.
> What is the canonical way to programatically fail over to the other node
> in a Linux-HA 1.2 based configuration?
hb_standby stops resources on the current node - that is, it makes it
"standby". It has no notion of primary or secondary. All resources
regardless of their normal affinity are moved to the other node.
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me claim
from you at all times your undisguised opinions." - William Wilberforce
More information about the Linux-HA