Table of Contents

Hardware

NetApp clusterd DATA ONTAP CLI Commands(cDOT)




Corporate Site

NetApp Data ONTAP History

Year Scale Up OS Scale Out OS
2004 Data ONTAP 7 buyout Spinnaker Netwoks
2006 Data ONTAP GX
2009 Data ONTAP 8 7-Mode Data ONTAP 8 Cluster-Mode
2013 clusterd Data ONTAP 8.2
(You can select 7-Mode, too.)
2015 clusterd Data ONTAP 8.3 (cDOT)
2016 ONTAP 9


Commands

Login, Logout

Operation Command
login ssh admin@IPADDRESS
logout exit


log

Operation Command Complement
event log show
event status show


Check

https://library.netapp.com/ecmdocs/ECMP1196798/html/GUID-A2333A53-218E-4F4A-9F66-FDFFB641D6BC.html

Hardware

Operation Command Complement
Display the health status of the system, which reflects the overall status of individual health monitors system health status show
system health subsystem show
system health system-connectivity shelf show
system health system-connectivity shelf show-instance
system health node-connectivity shelf show


Volume

Operation Command Complement
vol create test1 aggr1 2500g
vol status test1
vol options test1


hosts

show hosts

> rows 0   <- no more

> vserver services dns hosts show
> vserver services dns hosts show -hostname *server*

> network ping -node test-netapp-1 -destination test-server2 -vserver test-netapp-svm

create hosts

> vserver services dns hosts create -address xx.xx.xx.xx -hostname test-server2 -vserver test-netapp-svm

delete hosts

> vserver services name-service dns hosts delete -address xx.xx.xx.xx


export-policy

show export-policy

> rows 0   <- no more

> vserver export-policy rule show -vserver test-netapp-svm -policyname test_share -fields clientmatch,rwrule,rorule,superuser,allow-suid
> vserver export-policy rule show -vserver test-netapp-svm -policyname test_share -fields clientmatch,rwrule,rorule,superuser,allow-suid -clientmatch *server*

create export-policy

> vserver export-policy rule create -vserver test-netapp-svm -policyname test_share -clientmatch test-server2 -protocol nfs -rorule any -rwrule any -superuser none -anon 0 -allow-suid true

delete export-policy

> vserver export-policy rule delete -policyname test_share -ruleindex XX


takeover/giveback/netowork revert

Check

> storage failover show
> network interface show
> aggr show -owner-name *
> storage disk show

takeover

from netapp-1 to netapp-2

> storage failover takeover -bynode test-netapp-2

giveback

from netapp-2 to netapp-1

> storage failover giveback -ofnode test-netapp-1

revert only LIFs

> network interface revert *

revert Network

> network interface revert *