A node can be configured so it takes over immediately when its partner panics. This shortens the time between the initial failure and when service is fully restored, because the takeover can be quicker than recovery from the panic, but the subsequent giveback causes another brief outage.
Steps
-
Ensure that you enabled controller takeover by entering the following command:cf enable
- Enter the following command:options cf.takeover.on_panic [on|off]
- on
- Enables immediate takeover of a failed partner or off to disable immediate takeover.
- off
- Eisables immediate takeover.If you disable this option, normal takeover procedures apply. The node still takes over if its partner panics, but might take longer to do so.
Note: If you enter this command on one node, the value applies to both nodes.
The setting of this option is persistent across reboots.