Update ONTAP Image on cDOT by copying files locally

  • Download ONTAP image on your computer
  • Access a CIFS share / NFS mount (cDOT volume) and copy the image to this volume
  • Log in to Systemshell of each node using diag user
  • sudo cp -rf /clus/<vserver>/volume /mroot/etc/software
  • exit systemshell
  • system node image package show
  • system node image update -node <node-name> -package file://localhost/mroot/etc/software/831_q_image.tgz
  • system node image show
login as: admin 
Password:
 
cluster1::> set diag -rows 0
Warning: These diagnostic commands are for use by NetApp personnel only.
 Do you want to continue? {y|n}: y

cluster1::*> security login show -user-or-group-name diag
 Vserver: cluster1
 Authentication                  Acct
 User/Group Name  Application Method         Role Name        Locked
 ---------------- ----------- -------------- ---------------- ------
 diag             console     password       admin            no

cluster1::*> security login unlock -username diag
 
cluster1::*> security login password -username diag
 Enter a new password:
 Enter it again:

cluster1::*> version
 NetApp Release 8.3.1RC1: Fri Jun 12 21:46:00 UTC 2015

cluster1::*> system node image package show
 This table is currently empty.

cluster1::*> system node image package show -node cluster1-01 -package file://localhost/mroot/etc/software
 There are no entries matching your query.

cluster1::*> systemshell -node cluster1-01
 (system node systemshell)
 Data ONTAP/amd64 (cluster1-01) (pts/2)
 login: diag
 Password:
 Last login: Mon Jul 27 16:54:10 from localhost

cluster1-01% sudo mkdir /mroot/etc/software
 
cluster1-01% sudo ls /clus/NAS/ntfs
 .snapshot       831_q_image.tgz BGInfo          nfs-on-ntfs     no-user-access  ntfs-cifs.txt

cluster1-01% sudo cp -rf /clus/NAS/ntfs/831_q_image.tgz /mroot/etc/software
 
cluster1-01% sudo ls /mroot/etc/software
 831_q_image.tgz

cluster1-01% exit
 logout

cluster1::*> system node image package show
 Package
 Node         Repository     Package File Name
 ------------ -------------- -----------------
 cluster1-01
 mroot
 831_q_image.tgz

cluster1::*> system node image update -node cluster1-01 -package file://localhost/mroot/etc/software/image.tgz

cluster1::*> system node image package show
 Package
 Node         Repository     Package File Name
 ------------ -------------- -----------------
 cluster1-01
 mroot
 831_q_image.tgz

cluster1::*> system node image update -node cluster1-01 -package 
file://localhost/mroot/etc/software/831_q_image.tgz

Software update started on node cluster1-01. Updating image2 with package file://localhost/mroot/etc/software/831_q_image.tgz.
 Listing package contents.
 Decompressing package contents.
 Invoking script (install phase). This may take up to 60 minutes.
 Mode of operation is UPDATE
 Current image is image1
 Alternate image is image2
 Package MD5 checksums pass
 Versions are compatible
 Available space on boot device is 1372 MB
 Required  space on boot device is 438 MB
 Kernel binary matches install machine type
 LIF checker script is invoked.
 NO CONFIGURATIONS WILL BE CHANGED DURING THIS TEST.
 Checking ALL Vservers for sufficiency LIFs.
 Running in upgrade mode.
 Running in report mode.
 Enabling Script Optimizations.
 No need to do upgrade check of external servers for this installed version.
 LIF checker script has validated configuration.
 NFS netgroup check script is invoked.
 NFS netgroup check script has run successfully.
 NFS exports DNS check script is invoked.
 netapp_nfs_exports_dns_check script begin
 netapp_nfs_exports_dns_check script end
 NFS exports DNS check script has completed.
 Getting ready to install image
 Directory /cfcard/x86_64/freebsd/image2 created
 Syncing device...
 Extracting to /cfcard/x86_64/freebsd/image2...
 x CHECKSUM
 x VERSION
 x COMPAT.TXT
 x BUILD
 x netapp_nfs_netgroup_check
 x metadata.xml
 x netapp_nfs_exports_dns_check
 x INSTALL
 x netapp_sufficiency_lif_checker
 x cap.xml
 x platform.ko
 x kernel
 x fw.tgz
 x platfs.img
 x rootfs.img
 Installed MD5 checksums pass
 Installing diagnostic and firmware files
 Firmware MD5 checksums pass
 Installation complete. image2 updated on node cluster1-01.
 
cluster1::*>

cluster1::*> system node image show
 Is      Is                                Install
 Node     Image   Default Current Version                   Date
 -------- ------- ------- ------- ------------------------- -------------------
 cluster1-01
 image1  true    true    8.3.1RC1                  -
 image2  false   false   8.3.1                     2/10/2016 05:32:50
 2 entries were displayed.
 

Leave a Reply

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