You can control when takeovers happen by setting the appropriate options.
Reasons for takeover
Describes the different system errors that can cause a takeover and the commands to configure the related options.
Specifying the time period before takeover
You can specify how long (in seconds) a partner in an active/active configuration can be unresponsive before the other partner takes over.
Configuring VIFs or interfaces for automatic takeover
After you configure your interfaces or VIFs to allow takeovers and givebacks to be completed successfully, you can also optionally configure them to trigger automatic takeover if any or all of them experience a persistent failure.