Skip to main content
NetApp Knowledge Base

How to perform Takeover/Giveback

Views:
23,477
Visibility:
Public
Votes:
19
Category:
ontap-9
Specialty:
core
Last Updated:
4/16/2025, 3:22:31 PM

Applies to

  • ONTAP 9
  • Storage Takeover/Giveback

Description

Procedure

System Manager
  • Use System Manager to Perform a Reboot of the node
  • When the node reboots the HA partner automatically executes a takeover
  • After the reboot is complete the giveback option can be performed through System Manager
ONTAP CLI
  1. Check that both nodes are connected with the storage failover show command:

cluster1::> storage failover show
 Takeover Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
cluster1-01 cluster1-02 true Connected to cluster1-02
cluster1-02 cluster1-01 true Connected to cluster1-01
2 entries were displayed.

  1. If the Possible field is false, enable storage failover before proceeding.
  2. Initiate a takeover of the node to be taken over:

cluster1::> storage failover takeover -ofnode <nodename>

The following example causes a node named cluster1-02 to be taken over

cluster1::> storage failover takeover -ofnode cluster1-02
Warning: A takeover will be initiated. Once the partner node reboots, a giveback will be automatically initiated. Do you want to continue? {y|n}: y

  1. Check the progress of the takeover:

cluster1::> storage failover show
 Takeover Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
cluster1-01    cluster1-02    true     Takeover scheduled. cluster1-02
                                       has relocated its SFO aggregates in
                                       preparation of takeover.
cluster1-02    cluster1-01    false    Pending shutdown
2 entries were displayed.

  1. Check if the takeover is finished and then giveback will perform automatically or you can giveback manually:

cluster1::> storage failover show
Takeover Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
cluster1-01    cluster1-02    false    In takeover, Auto giveback will be
                                       initiated in 416 seconds
cluster1-02    cluster1-01    -        Waiting for giveback
2 entries were displayed.

  • If the giveback is not started automatically then you can perform a manual giveback:

cluster1::> storage failover giveback -ofnode <nodename>

  1. Run the storage failover show to ensure that both nodes are connected:

cluster1::> storage failover show
 Takeover Node Partner Possible State Description
-------------- -------------- -------- -------------------------------------
cluster1-01 cluster1-02 true Connected to cluster1-02
cluster1-02 cluster1-01 true Connected to cluster1-01
2 entries were displayed.

  1. After the giveback is complete it may be necessary to Revert all LIFs back to their home port

 

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.