User Tools

Site Tools


network_stuff:netapp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_stuff:netapp [2019/04/02 09:57] jotasandokunetwork_stuff:netapp [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
-NETAPP +NETAPP\\
- +
-CLI ([[https://www.sysadmintutorials.com/tutorials/netapp/netapp-clustered-ontap/netapp-clustered-ontap-cli/|External Link]]): +
- +
-NETWORK: +
-  network interface show +
-  network interface show -lif filer01-svm02_nfs_lif1 -instance     # to check specific lif status +
-  network interface show -fields ? to customize the output. +
-  show -fields vserver,address,status-admin +
-  network port show +
-  filer01::network port> show -fields node,port,mac,mtu,mtu-admin,speed-oper,ifgrp-port,broadcast-domain,link +
-  network port ifgrp show    # for lacp ports+
      
-\\+  version 
 +  storage show disk  <--to show the disk and the filer that 'owns' them 
 +  system controller show   # to see the FAS version
  
 ---- ----
-STORAGE STUFF:\\+CLUSTER/NODE HEALTH:
  
-NETAPP SWITCHES:\\ +**NFS** 
-  (from filer): network device-discovery show -node filer01-04 -protocol cdp +  vserver export-policy rule show   # under 'Client Match' column is the IPs os the servers mounted!
-  show port-channel 3/1 +  exportfs 
-\\ +  config dump -v config_file 
-SW UPGRADES:\\ +  system node service-processor show
-[[https://library.netapp.com/ecm/ecm_download_file/ECMP12469252|External Link]]. Firmware is called FASTPATH, sometimes additional software called RCF is required \\ +
-  dir fto see the file system +
-  show bootvar  ! to see the images availables in flash +
-  show port all | include Up +
-  show port-channel 3/1+
  
  
-SYSLOG: +(We have heads, adapters and shelves) 
-> event log show -severity EMERGENCY+
  
-\\ 
-CLUSTER/NODE HEALTH: 
   cluster show   cluster show
   cluster show -instance   cluster show -instance
   storage failover show   storage failover show
-  cluster image show-update-progress \\ +  cluster image show-update-progress 
-   +  event log show -severity EMERGENCY   # 'syslog' events 
-lif migration, pool exhaustion, locks:\\+  lif migration, pool exhaustion, locks:\\
  
-  # diagnostics+ 
 +  Diagnostics: 
 +  
   filer01::*> set d -c off;statistics show -object nfsv4_diag -instance nfs4_diag -counter storePool* -rawshow -object nfsv4_diag -instance nfs4_diag -counter storePool* -raw   filer01::*> set d -c off;statistics show -object nfsv4_diag -instance nfs4_diag -counter storePool* -rawshow -object nfsv4_diag -instance nfs4_diag -counter storePool* -raw
-  filer01::*> set d -c off;statistics filer01::> volume show -vserver filer01-svm01 -volume homegrapeshot -fields policy+  filer01::*> set d -c off;statistics filer01::> volume show -vserver filer01-svm01 -volume homemycompany1 -fields policy
  
  
-----+SIS (single instance storage) 
  
-STORAGE STUFF:\\ +  sis config  <-- show you the status of the settings.
-CLI COMMANDS (cheat sheet) +
-(We have heads, adapters and shelves) +
  
 +VOLUMES
 +  aggr show_space -h <-- check aggregate space
 +  sysstat -m 1       <-- To see how busy the box is
 +  volume show -vserver filer01-svm01 -volume homemycompany1 -fields policy
  
 +GENERAL DISK
 +  disk show -v
 +  vol status
 +  storage show disk -p
 +  options
 +  sysconfig [-acr]
 +  aggr status
  
-SIS (single instance storage)  +LUN/iSCSI 
->sis config  <-- show you the status of the settings.+  lun show -m 
 +  aggr options myAggr snapshot_autodelete off <-- to disable the automatic snapshot deletion (USE WITH CARE
 +Aggregate snapshot commands 
 + rdfile /var/log   /etc/log(s) <-- To check the logs locally 
 +  rdfile /etc/messages <-- rdfile in genereal to show any OS file
  
-VOLUMES 
-> aggr show_space -h <-- check aggregate space 
-> sysstat -m 1       <-- To see how busy the box is 
-> volume show -vserver filer01-svm01 -volume homegrapeshot -fields policy 
  
-GENERAL DISK +----
-> disk show -+
-> vol status +
-> storage show disk -+
-> options +
-> sysconfig [-acr] +
-> aggr status+
  
-NFS +CLUSTER UPGRADES (filer upgrades):\\ 
-> exportfs +  * [[https://confluence.mycompany2datacloud.com/display/IN/Netapp+filer+firmware+update]] 
-> config dump -v config_file +  * {{ :network_stuff:netapp-filer-upgrades.pdf |}}
-> system node service-processor show+
  
-LUN/iSCSI +----
-> lun show -m+
  
->> aggr options myAggr snapshot_autodelete off <-- to disable the automatic snapshot deletion (USE WITH CARE) +**NETWORK STUFF:**\\
-Aggregate snapshot commands+
  
-> rdfile /var/log   /etc/log(s) <-- To check the logs locally +  network interface show 
-> rdfile /etc/messages <-- rdfile in genereal to show any OS file +  network interface show -lif filer01-svm02_nfs_lif1 -instance     # to check specific lif status 
-# diagnostics +  network interface show -fields ? to customize the output. 
-filer01::*set d -c off;statistics show -object nfsv4_diag -instance nfs4_diag -counter storePool* -rawshow -object nfsv4_diag -instance nfs4_diag -counter storePool* -raw +  show -fields vserver,address,status-admin 
-filer01::*> set d -c off;statistics filer01::> volume show -vserver filer01-svm01 -volume homegrapeshot -fields policy+  network port show 
 +  filer01::network portshow -fields node,port,mac,mtu,mtu-admin,speed-oper,ifgrp-port,broadcast-domain,link 
 +  network port ifgrp show    # for lacp ports 
 +  node run -node filer01-03 -command ifconfig -v            # for troubleshooting lacp. see https://kb.netapp.com/app/answers/answer_view/a_id/1001343/~/faq%3A-troubleshooting-lacp-port-channel%2F-interface-groups
 +   
 +   
 +\\ 
 +NETAPP SWITCHES:\\ 
 +  (from filer)network device-discovery show -node filer01-04 -protocol cdp 
 +  show port-channel 3/1 
 +\\ 
 +SW UPGRADES:\\ 
 +[[https://library.netapp.com/ecm/ecm_download_file/ECMP12469252|External Link]]. Firmware is called FASTPATH, sometimes additional software called RCF is required \\ 
 +  dir ! fto see the file system 
 +  show bootvar  ! to see the images availables in flash 
 +  show port all | include Up 
 +  show port-channel 3/1 
 +   
 + 
 +---
 +TROUBLESHOOT OPEN CASES:\\ 
 +  * To find the controller's serial number or model plus lots of info:
  
-ifconfig -a+  ::system show -instance  
  
-> storage show adapter  <--version and similar information 
network_stuff/netapp.1554199044.txt.gz · Last modified: (external edit)