Takeovers can happen for several different reasons. Some system errors must cause a takeover; for example, when a clustered storage system loses power, it automatically fails over to the other cluster node.
However, for some system errors, a takeover is optional, depending on how you configure your cluster. The following table outlines which system errors can cause a takeover to occur, and whether you can configure the cluster for that error.
|
A clustered system undergoes a system failure and cannot reboot. |
You should leave this option enabled unless instructed otherwise by technical support. | ||
|
A clustered system undergoes a software or system failure leading to a panic. |
For more information, see Enabling and disabling immediate takeover of a panicked partner. | ||
|
There is a mismatch between the disks that one clustered system can see and the disks that the other system can see. |
For more information, see How disk shelf comparison takeover works. | ||
|
All the network interface cards (NICs) or VIFS enabled for negotiated failover on a node failed. |
cf.takeover.on_network_ |
To enable a network interface for negotiated failover, you use the ifconfig if_name nfo command. For more information, see the Network Management Guide. | |
|
One or more of the NICs or VIFs enabled for negotiated failover failed. |
cf.takeover.on_network_ |
To enable a network interface or VIF for negotiated failover, you use the ifconfig if_name nfo command. For more information, see the Network Management Guide. | |
|
Changing the value of this option on one node automatically updates the option on the partner node. | |||
|
A clustered system cannot send heartbeat messages to its partner. | |||
|
You halt one of the clustered systems without using the -f flag. | |||
|
You initiate a takeover manually using the cf takeover command. |
You can specify how long (in seconds) a partner in a cluster can be unresponsive before the other partner takes over.
To specify the time period before takeover, complete the following step.
.| 1 |
options cf.takeover.detection.seconds number_of_seconds The valid values for number_of_seconds are 10 through 180; the default is 15. |
Both partners do not need to have the same value for this option. Thus, you can have one partner that takes over more quickly than the other.
Note
If your cluster is failing over only because one of the nodes is too busy to respond to its partner, increase the value of the cf.takeover.detection.seconds option on the partner.
Attention
If the specified time is less than 15 seconds, unnecessary takeovers can occur. Use caution when assigning a takeover time of less than 15 seconds.
When communication between clustered nodes is first established through the cluster interconnect adapters, the nodes exchange a list of disk shelves that are visible on the A and B loops of each node. If, later, a system sees that the B loop shelf count on its partner is greater than its local A loop shelf count, the system concludes that it is impaired and prompts its partner to initiate a takeover.
Note
Disk shelf comparison does not function for clusters using software disk ownership, or for Fabric Attached MetroClusters.
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 non-transient failure.
To configure a VIF or interface for automatic takeover, complete the following steps.
| 1 |
For every VIF or interface on which you want to enable automatic takeover, enter the following command: ifconfig interface_name nfo For more information about this command, see the na_ifconfig man page or the Network Management Guide. For more information about configuring automatic takeover, see Configuring when takeover occurs. |
| 2 |
Update the /etc/rc file so that your changes persist across reboots. |
| 3 |
The default policy is that takeover only occurs if all the NICs or VIFs on a node that are configured for automatic takeover fail. If you want takeover to occur if any NIC or VIF configured for automatic takeover fails, enter the following command: options cf.takeover.on_network_interface_failure.policy any_nic |
| 4 |
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01386_C0
File: ch5_mgn4.htm
Last updated: 21-Dec-2005 11:32:00