7 Mode Data ONTAP (8.2.1) Upgrade Procedure

I have been working more on NetApp clustered Data ONTAP systems lately. Recently i was asked to upgrade some 7 mode systems which didn’t have /etc directory shared via CIFS protocol i.e. CIFS not running on the Base filer “vfiler0”. The web server is configured on another 7 mode storage system.

    1. Download the latest copy of Data ONTAP Upgrade/Downgrade guide from NetApp Support
    2. Copy the downloaded image to web server shared directory
    3. Follow Step 15 for international sites (where copying Data ONTAP image may take longer) and copy ONTAP images on to the filer. Do not install (update) the image yet
    4. Login to the 7 mode system and send autosupports
      • options autosupport.doit pre_NDU_upgrade
      • options autosupport.enable off
      • options snmp.enable off
    5. Take backup of the vfier configuration on the system
      • vfiler status -r
      • ifconfig -a
      • rdfile /etc/rc
    6. Check for Snapmirror/Snapvault relations on the system. You must upgrade the destination system first.
    7. Verify all failed drives are replaced (vol status -f)
    8. Delete old core files from /etc/crash directory
    9. Verify no deduplication processes are active
      • sis status
      • sis stop (if dedupe is active on any volume)
    10. Confirm all the disks are multipathed
      • storage show disk -p
    11. Verify all aggregates are online
      • aggr status
    12. Make sure all aggregates have atleast 5-6 % free capacity
      • df -Ag
    13. Disable autogiveback
      • options cf.giveback.auto.enable off
    14. Turn off snapmirror and snapvault
      • snapmirror off
      • options snapvault.enable off
    15. For International sites copy the image to the controller and install using following commands:
      • software get http://<web-server>/data_ontap/821_q_image.tgz
      • software list (lists the files in /etc/software directory)
      • software update 821_q_image.tgz -r (install files without rebooting)
      • version -b (verify the new image is installed)
    16. For local sites
      • software update http://<web-server>/data_ontap/821_q_image.tgz -r
      • version -b (verify the new image is installed)
    17. Perform cf takeover from the partner
      • cf takeover (this will reboot the partner)
    18. Perform cf giveback from the partner once local system shows “waiting for giveback”
      • cf giveback -f
    19. Perform cf takeover from the partner
      • cf takeover -n (this will reboot the partner)
    20. Perform cf giveback from the partner once local system shows “waiting for giveback”
      • cf giveback -f
    21. Perform the same steps on both the nodes and verify both have the new code
      • version -b
    22. Turn on snap mirror and snapvault
      • snapmirror on
      • options snapvault.enable on
    23. Turn on autogiveback
      • options cf.giveback.auto.enable on
    24. Turn on autosupport
      • options autosupport.enable on
      • options autosupport.doit post_NDU_upgrade
      • options snmp.enable on
    25. Upon completion of the upgrade process invoke below commands to see if any issues
      • sysconfig -a
      • vol status -f
      • vol status
      • aggr status
      • vol status -s
    26. Update SP Firmware on the filers (system node service-processor image update-progress show)

 

If you are upgrading multiple 7 mode filers at a time, you may use “for” loop from linux/unix shell to run same command on multiple filers.  

for i in filer1 filer2 filer3 filer4; do echo “”; echo $i ; sudo rsh $i “priv set -q diag; sis status”; echo “”; done

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *