ONTAP Discussions
ONTAP Discussions
Hello;
I want to update our FAS 2240 to the newest cdot 9.1P20 Image.
so i downloaded the image successfully:
Software get http://.../91P20_q_image.tgz completed on node cluster3-01.
But with cluster3::*> system image show i see only the previos 2 Images:
Node Image Default Current Version Date
-------- ------- ------- ------- ------------------------- -------------------
cluster3-01
image1 false false 9.1P15 11/20/2018 11:13:30
image2 true true 9.1P19 12/16/2019 13:41:04
2 entries were displayed.
I suggest is has to to with cluster vs. node repository but i could not ind a way to solve it, can you please help me out?
Many Thanks
Thomas
Solved! See The Solution
Try running this command:
::> system node image update -node cluster3-01 -package file:///mroot/etc/software/91P20_q_image.tgz -setdefault true -replace-package true
What you are looking at is the 'boot' images. You need to use "system image package show", which shows the 'software packages' available to you as repository.
Steps:
1) Do this:
::> system image package show
You should see your latest package.
2) Now copy that image to the cluster image repository.
::> cluster image package get -url file:///mroot/etc/software/91P20_q_image.tgz
3) Verify if the image has transferred:
::> cluster image package show-repository
There is a thread here:
https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-image-from-node-repository-to-cluster-image-repository/td-p/138018
Hi Ontapforrum;
Thanks for your fast reply:)
I did what you wrote but i get on my single node cluster:
cluster3::*> cluster image package get -url file:///mroot/etc/software/91P20_q_image.tgz
Error: command failed: This feature is not available on single node clusters.
can you please provide me the "single node" command?
Many Thanks, Thomas
Welcome!
Cluster image repository is for automated update procedure (Primary written for multi-node, minimum 2 ), for NDU procedures. With Single Node it is DISRUPTIVE anyway.
I think beginning with ONTAP 9.2, you can perform an automated update of a single-node cluster. Because single-node clusters lack redundancy, updates are always disruptive. As you are on 9.1, I guess that will not apply.
Performing an automated upgrade on a single-node cluster:
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-ug-rdg%2FGUID-B93B2383-9600-4535-971A-297DDA7564CD.html
Thanks a lot, but my problem is i have cdot 9.1P19 actually and the FAS 2240 didn't support an upgrade to 9.2.
So i could only upgrade to 9.1P20, the newest version, so i could not make a automated upgrade.
I see your point. I checked hwu, you are right, it only supports 9.1.x, so have to deal with non-automated. Even with automated it is disruptive just that it does lot of checks for you.
Disruptiv and manual Update is no problem, i can deal with.
What i don't know is how to get the Image correctly to my Cluster that i can set it for install:
Software get http://.../91P20_q_image.tgz completed on node cluster3-01.
But with system node image show i cant see it!
Could you please help me?
Many Thanks Thomas
Instead of using the software get command , try to use ::*> system image get http://.../91P20_q_image.tgz
Thanks,
I did it several times without error, so i had to do it with -replace-package true argument:
cluster3::*> system image get http://download.pmu.ac.at/netapp/91P20_q_image.tgz -replace-package true
Software get http://.../91P20_q_image.tgz started on node cluster3-01
Downloading package. This may take up to 10 minutes.
97% downloaded
Download complete.
Software get http://.../91P20_q_image.tgz completed on node cluster3-01.
But with both commands, system node image show and cluster image show i don't see the new Image, that's my Problem!
I only see the old images and not the 9.1)20 Image!
image1 false false 9.1P15
image2 true true 9.1P19
Greetings, Thomas
I see your point.
@Mjizzini: Internally it uses software get command, I think thomas382 is using the correct command which is system image get...!!
Let's try and see what's the cause, could you go to the following folder using the instructions given below and find out if the software image actually exists there or not.
cd /mroot/etc/software/
Go to diag level:
clust::> set diag
Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y
clust::*>
clust::*> systemshell
(system node systemshell)
diag@127.0.0.1's password:
Warning: The system shell provides access to low-level
diagnostic tools that can cause irreparable damage to
the system if not used properly. Use this environment
only when directed to do so by support personnel.
clust-01%
clust-01%
clust-01% cd /mroot/etc/software/
clust-01% ll
total 950616
-rw-r--r-- 1 root wheel 969605463 Sep 19 18:49 xx_q_image.tgz
clust-01%
Sorry, i think i lost the Creditentials for the systemshell account during the migration to a new password manager.
is there a possibility to reset the Password?
Thanks a lot for your help, Thomas
Yes, you can, just set the new password.
::>set diag
::*>security login password -username diag
Thanks, i set the Diag Passwrd, but i need to set the systemshell password too.
Greetings, Thomas
No. systemshell uses 'diag' user.
::> set diag
::*> systemshell -node node-xx
::*> systemshell -node node-xx
(system node systemshell)
diag@169.254.96.238's password:
Thanks for your patience!
I tryed several, keyboard layout independent passwords, but receive the same error:
cluster3::*> security login password -username diag
Enter a new password:
Enter it again:
cluster3::*> set diag
cluster3::*> systemshell -node cluster3-01
(system node systemshell)
diag@127.0.0.1's password:
diag@127.0.0.1's password:
Many Thanks
Thomas
bydefault, user 'diag' is locked. If you are using it for the first time, then it must be un-locked first. Just use this command:
::*> security login unlock -username diag
You should be good now.
Thanks, the best way to learn, here is the output:
total 1713384
-rw-r--r-- 1 root wheel 873885001 Jul 1 2019 91P19_q_image.tgz
-rw-r--r-- 1 root wheel 873727624 Sep 24 13:33 91P20_q_image.tgz
looks that the image is correctly there.
Greetings, Thomas
Hello;
With the following Command i get now the korrect output:
cluster3::> system image package show
mroot
91P19_q_image.tgz
91P20_q_image.tgz
Could you please help me how i can start a Disruptive Upgrade of my single node cluster?
Thanks, Thomas
Just follow this pdf: [Page-61 & 62 covers it, simple steps and should be smooth]
https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-ug-rdg/Upgrade%20revert%20or%20downgrade.pdf
Under topic - Updating an ONTAP cluster disruptively (steps 1 to 7)
I followed the manual, and i can see the image, with the command:
system node image show-update-progress -node *
There is no update/install in progress
Status of most recent operation:
Run Status: Exited
Exit Status: Success
Phase: Download
Exit Message: Software get http://.../91P20_q_image.tgz completed on node cluster3-01.
So the image should be on the cluster node, but with system image show i get:
cluster3-01
image1 false false 9.1P15 11/20/2018 11:13:30
image2 true true 9.1P19 12/16/2019 13:41:04
So i can't set the new image9.1P20 as default.
Many Thanks, Thomas
Try running this command:
::> system node image update -node cluster3-01 -package file:///mroot/etc/software/91P20_q_image.tgz -setdefault true -replace-package true