Table of Contents

NetApp Data ONTAP 7-Mode CLI Commands [Old Device]

Netapp :: Cluster



Cluster Commands

Operation Command Complement
Displays the current status of the local node and the HA pair. cf status
Enable cluster/Disable cluster cf disable
cf enable
Initiates a takeover of the partner. cf takeover
Initiates a giveback of partner resources. cf giveback

Example

Failover
Netapp 2> cf takeover   #Enable Netapp 2 , Reboot Netapp 1
Failback
Netapp 2> cf giveback   #Enable Netapp 1 (cf giveback -f : force)
Unit 1 restart
Netapp 2> cf status
Netapp 2> cf takeover   #Enable Netapp 2 , Reboot Netapp 1
Netapp 2> cf giveback   #Enable Netapp 1 (cf giveback -f : force)

Netapp 1> uptime
Unit 2 restart
Netapp 1> cf disable     #Cluster release
Netapp 1> cf status      #Check 'cluster takeover disabled'

Netapp 2> reboot
Netapp 2> uptime
Netapp 2> cf status
Netapp 2> cf enable     # Cluster Enable
Netapp 2> cf status     # Check 'cluster enabled'