ONTAP Discussions

Highlighted

updating ontap 9.1 on FAS2240 system image upload

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

20 REPLIES 20
Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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.

 

 

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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.

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

Instead of using the software get command , try to use ::*> system image get http://.../91P20_q_image.tgz

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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

 

 

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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%

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

Yes, you can, just set the new password.

::>set diag
::*>security login password -username diag

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

Thanks, i set the Diag Passwrd, but i need to set the systemshell password too.

Greetings, Thomas

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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:

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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

Highlighted

Re: updating ontap 9.1 on FAS2240 system image upload

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.

Check out the KB!
Knowledge Base
All Community Forums