Netapp Commands
Netapp Commands
Setting Up a Filer:
1. Check version and licenses
(telnet) license to list
(telnet) license add (key) to add a license
(FilerView) Filer -> Manage Licenses
2. Setup Network Interfaces (set up single-mode and multi-mode vifs or ifgrps)
NOTE: You can't modiy a vif once it is created. I usually have to delete the vif and start over
to modify it. This also means network service will go down on that port group!
(telent) ifconfig -a to list the interfaces
(telnet) ifconfig command to manage the interfaces
(telent) To manage vifs in ONTAP 7: vif command, in ONTAP 8: ifgrp
(telnet) You can also run setup, will probably require a reboot!
(FilerView) Network -> Manage Interfaces -> i.e. vif1a or vif1b
3. Enable SSH on the filer
(telnet) secureadmin setup ssh
(FilerView) Secure Admin ->SSH -> Configure -> Generate Keys -> OK -> Apply
4. Set Snap reserve on Aggr0 if not MetroCluster
The default for this is 5%. I have seen some set this to 0% if not using MetroCluster. I set it
to 3% because I have seen issues if set to 0% and NetApp support likes at least a little
reserve at this level for disaster recovery
(telnet) snap reserve -A aggr0 3
(FilerView) I don't think this is possible from FilerView
5. Resize Vol0
(telnet) vol size vol0 15g for 2000 series (20gb on 3000 series)
(telnet) vol size vol0 to check
(FilerView) Volumes -> Manage -> Click on vol0
Click Resize Storage
Click Next -> Click Next -> Enter New Volume Size -> Next -> Commit -> Close
6. Iscsi & FCP status
(telnet) iscsi status to check
(telnet) iscsi start to enable
(telnet) same commands for fcp
(FilerView) LUNs -> Enable/Disable ->Check Enable Box
7. NTP Setup
(telnet) to list all time options: options timed
(telnet) options timed.servers 0.us.pool.ntp.org,1.us.pool.ntp.org,2.us.pool.ntp.org (or
enter your time servers for your site)
(telnet) options timed.proto ntp (if not already set to ntp)
(telent) options timed.log on (if you would like the updates to go to console and log)
(telnet) options timed.enable on
(FilerView) Filer -> Set Date/Time -> Modify Date/Time
Choose Time Zone -> Click Next
Choose Automatic -> Click Next
Change Protocol to ntp -> Click Next
Enter ntp servers 0.us.pool.ntp.org (1&2) - or any other ntp server you have