Netapp beginner guide has details about basic Netapp commands and an example to explain each command.
1. How to find Data Ontap version on a filer :
filer> version2. How to find "uptime" of a filer?
NetApp Release 7.3.1: Thu Jan 8 22:29:32 PST 2012
The uptime command gives system uptime. Also it gives number of NFS, CIFS, FCP, iSCSI operations on a Netapp filer.
filer> uptime3. How to get the System Configuration information of a NetApp filer:
8:58pm up 23 days, 43 mins, 1354234 NFS ops, 940 CIFS ops, 0 HTTP ops, 0 FCP ops, 0 iSCSI ops
filer>
Note: "sysconfig -a" command will give you detailed information of filer configuration including disk, shelf details
filer> sysconfigNetApp Release 7.3.1: Thu Jan 8 01:31:42 PST 2009System ID: 0135025121 (whmn7027)System Serial Number: 3093075 (whmn7027)System Rev: D1System Storage Configuration: Multi-Pathslot 0: System BoardProcessors: 1Memory Size: 896 MBslot 0: Dual 10/100/1000 Ethernet Controller G20e0a MAC Address: 00:a0:98:0a:85:54 (auto-1000t-fd-up)e0b MAC Address: 00:a0:98:0a:85:55 (auto-1000t-fd-up)slot 0: FC Host Adapter 0a14 Disks: 2959.2GB1 shelf with AT-FCXslot 0: FC Host Adapter 0b14 Disks: 2959.2GB1 shelf with AT-FCXslot 0: SAS Host Adapter 0c1 shelf with ESASslot 0: NetApp ATA/IDE Adapter 0e (0x000001f0)0e.0 249MBBaseboard Management Controller:Firmware Version: 1.1IPMI version: 2.0DHCP: offBMC MAC address: xx:xx:xx:xx:xx:xxIP address: xx.xx.xx.xxIP mask: xx.xx.xx.xxGateway IP address: xx.xx.xx.xxBMC ARP interval: 10 secondsBMC has (1) user: narootASUP enabled: onASUP mailhost: whml0242ASUP from: bali@bali.caomASUP recipients: bali@bali.caom,autosupport@netapp.com
4. How to check for hardware configuration errors on Netapp:
The command "sysconfig -c" does a configuration check and reports errors if any.
filer> sysconfig -c5. How to get overall status of the Netapp Chassis (head) :
sysconfig: There are no configuration errors.
filer>
The command "environment status chassis all" displays the power supply, fans , temperature sensor, nvram status etc.
filer> environment status chassis all
Temperature ok
PSU 1 ok
PSU 2 ok
Voltage ok
SYS FAN ok
NVRAM6-temperature-3 ok
NVRAM6-battery-3 ok.
filer>
6. How to view Netapp's software licenses :
Using the license command, you can view the license details on a netapp filer. "license add " will add a license.
filer> license
a_sis XXXXXXX
cifs XXXXXXX
cluster XXXXXXX
fcp not licensed
flex_clone XXXXXXX
flex_scale not licensed
flexcache_nfs XXXXXXX
gateway_hitachi not licensed
http XXXXXXX
iscsi not licensed
multistore not licensed
nearstore_option XXXXXXX
nfs XXXXXXX
snapmirror XXXXXXX
filer>
7. How to view Netapp's current autosupport configuration :
Using the "options autosupport" command, you can view the autosupport configuration details on a netapp filer.
If you wish to change the autosupport configuration, fire like this e.g. "options autosupport.mailhost xx.xx.xx.xx"
filer> options autosupport
autosupport.cifs.verbose off
autosupport.content complete
autosupport.doit DONT
autosupport.enable on
autosupport.from bali@bali.com
autosupport.local.nht_data.enable off
autosupport.local.performance_data.enable off
autosupport.mailhost xx.xx.xx.xxautosupport.minimal.subject.id hostname
autosupport.nht_data.enable on
autosupport.noteto
autosupport.partner.to
autosupport.performance_data.enable on
autosupport.retry.count 15
autosupport.retry.interval 4m
autosupport.support.enable on
autosupport.support.proxy
autosupport.support.to autosupport@netapp.com
autosupport.support.transport smtp
autosupport.support.url support.netapp.com/asupprod/post/1.0/postAsup
autosupport.throttle on
autosupport.to bali@bali.com
filer>
If you wish to change the autosupport configuration, fire like this e.g. "options autosupport.mailhost xx.xx.xx.xx"
8. How to view Netapp's RLM/BMC/SP current configuration :
Using the "bmc status" "rlm status" & "sp status" command, you can view the current managment console configuration details on a netapp filer.
filer> bmc status
Baseboard Management Controller:
Firmware Version: 1.1
IPMI version: 2.0
DHCP: off
BMC MAC address: xx:xx:xx:xx:xx:xx
IP address: xx.xx.xx.xx
IP mask: xx.xx.xx.xx
Gateway IP address: xx.xx.xx.xx
BMC ARP interval: 10 seconds
BMC has (1) user: naroot
ASUP enabled: on
ASUP mailhost: xx.xx.xx.xx
ASUP from: bali@bali.com
ASUP recipients: bali@bali.com, autosupport@netapp.com
Uptime: 275 Days, 23:44:25
filer>
IPMI version: 2.0
DHCP: off
BMC MAC address: xx:xx:xx:xx:xx:xx
IP address: xx.xx.xx.xx
IP mask: xx.xx.xx.xx
Gateway IP address: xx.xx.xx.xx
BMC ARP interval: 10 seconds
BMC has (1) user: naroot
ASUP enabled: on
ASUP mailhost: xx.xx.xx.xx
ASUP from: bali@bali.com
ASUP recipients: bali@bali.com, autosupport@netapp.com
Uptime: 275 Days, 23:44:25
filer>
If you would like to change the configuration you can use "setup" command to update the current configuration e.g. "bmc setup"
9. How to view Netapp's aggr status:
filer> aggr status
Aggr State Status Options
aggr01_sa online raid_dp, aggr root
filer>
10. How to view Netapp's vol status:
To be Continued....
filer> vol status
Volume State Status Options
vol0 online raid_dp, flex root
vol_anv_tst online raid_dp, flex
test_drive online raid_dp, flex guarantee=none
vf online raid_dp, flex
filer>vol0 online raid_dp, flex root
vol_anv_tst online raid_dp, flex
test_drive online raid_dp, flex guarantee=none
vf online raid_dp, flex
To be Continued....
Thanx! Good info
ReplyDeleteCommand 10 may be "How 2 view vol status"?
ReplyDeleteWelcome to my blog.
ReplyDeleteTrue..its typo.
Command 11 "snapmirror status" will tell you the current status of replication with another netapp device.
ReplyDeleteCommand 12 "options autosupport.dot " will generate a ticket and send all logs to netapp support.
ReplyDeleteis actually "options autosupport.doit xxxxx" (where X's are the name you want to give the file)
DeleteCommand 13 "environment status chassis all" will list the power supply's and fans if having a problem with power supply.
ReplyDeleteCommand 14 "ifconfig " will change the IP address of an interface. Also, be sure to check the /etc/rc and/or /etc/hosts file to ensure the entries are correct before changing.
ReplyDeleteGood information. I'm bookmarking this page. Beginner question - How can I remove a single email address in the "autosupport.partner.to" field. I want to return the field to its default empty parameter. I really don't need the management log and performance data reports every day.
ReplyDeleteThanks
Hi,
Deleteuse this command to make the receipet list empty.
options autosupport.to ""
If you need to remove only one mail id, use.. options autosupport.to <just mention only the e-mail you want to stay in separation of commas (,)
e.g. options autosupport.to xxxxx@gmail.com,yyyyy@gmail.com, if you need to remove only yyyyy@gmail.com then you can use below command
options autosupport.to xxxxxx@gmail.com
where is the next page?
ReplyDeleteSoon, you will see here. I'm busy with some migration.
DeleteWhat for used "sysconfig -r" command?
ReplyDeleteDisplay aggregates and plexes
ReplyDeletehow can i subscribe your blog using my gmail???
ReplyDeletePlease give the details about san and nas migration in netapp briefly
ReplyDeleteplease give the command for listing the aggregate count
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteI read your post when it was fresh. I stumbled on this link again while searching for something else. Since this appears to be favored by Google it is worth pointing out MS has changed its mind.
ReplyDeleteNetApp skills are highly recommended in today's job market. NetApp Certification Exams provides industry validation for your skills as a NetApp technical professional.
KillerDumps offers the entire IT exam dump file and practice test simulator at a discounted price with 100% guaranteed success. We provide ongoing after-sales support for NetApp Q&A and practice software to address any inconvenience.
You can get NetApp Exam Dumps
100% Pass Guarantee is offered by us after ISTQB Advanced Test Manager ATM exam preparation, with Prepare4Test’s exam dumps. You can pass the ATM exam in the first go with good marks, and it will be easy for you to attempt all ATM questions.
ReplyDeletePrepare for Linux Foundation CKS exam with our preparation material with full confidence. We offer you 100% real Certified Kubernetes Security Specialist Exam Linux Foundation CKS exam dumps for your better results. Prepare4Test’s CKS pdf dumps are verified by Linux Foundation Gurus.
ReplyDelete